wildfirechat.sh无法执行

izombie 6月前 130

[root@192_168_2_214 ucc]# sh ./bin/wildfirechat.sh 
./bin/wildfirechat.sh: line 2: $'\r': command not found
: No such file or directory 3: cd: ./bin
./bin/wildfirechat.sh: line 4: $'\r': command not found
./bin/wildfirechat.sh: line 7: $'\r': command not found
./bin/wildfirechat.sh: line 101: syntax error: unexpected end of file

docker 镜像依然无法执行

[root@192_168_2_214 docker]# sudo docker run -it --name im-server -v /opt/ucc/config:/opt/im-server/config -v /opt/ucc/logs:/opt/im-server/logs -v /opt/ucc/media:/opt/im-server/media -e JVM_XMX=256M -e JVM_XMS=256M -p 8080:80 -p 1883:1883 -p 8083:8083 -p 8084:8084 -p 18080:18080 im-server
: not foundver/bin/wildfirechat.sh: line 2: 
: No such file or directorychat.sh: cd: line 3: can't cd to /opt/im-server/bin
: not foundver/bin/wildfirechat.sh: line 4: 
: not foundver/bin/wildfirechat.sh: line 7: 
/opt/im-server/bin/wildfirechat.sh: line 100: syntax error: unexpected end of file (expecting "then")
最新回复 (1)
  • HeavyRain 6月前
    引用 2
    看着像是在windows下修改导致引入了windows字符,请按照 https://docs.wildfirechat.cn/faq/server.html 问题3处理
返回