jobx icon indicating copy to clipboard operation
jobx copied to clipboard

执行 sh server.sh报错

Open ghost opened this issue 6 years ago • 1 comments

执行 sh server.sh 8080报错以下错误,虽然报错但是依然可以正常访问jobx

[root@localhost deployment]# sh server.sh 8080 sed: can't read s/^jobx.registry.$/jobx.registry=zookeeper://192.168.94.100:2181/g: No such file or directory sed: can't read s/^jdbc.url.$/jdbc.url=jdbc:mysql://localhost:3306/jobx?useUnicode=true&characterEncoding=utf8&useCursorFetch=true&autoReconnect=true&failOverReadOnly=false&useSSL=false&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=Asia/Shanghai/g: No such file or directory sed: can't read s/^jdbc.username.$/jdbc.username=admin/g: No such file or directory sed: can't read s/^jdbc.password.$/jdbc.password=cnkXi6fdEg/g: No such file or directory sed: can't read s/^jobx.cluster.$/jobx.cluster=false/g: No such file or directory sed: can't read s/^jobx.cached.$/jobx.cached=redis/g: No such file or directory sed: can't read s/^redis.host.$/redis.host=127.0.0.1/g: No such file or directory sed: can't read s/^redis.password.$/redis.password=123456/g: No such file or directory sed: can't read s/^redis.port.$/redis.port=6379/g: No such file or directory sed: can't read s/^memcached.servers.$/memcached.servers=10.1.1.116:11211/g: No such file or directory sed: can't read s/^memcached.protocol.*$/memcached.protocol=BINARY/g: No such file or directory [jobx] server Starting @ [8080].... [jobx] please see log for more detail: /root/JobX/deployment/jobx-server/container/logs/jobx.out

ghost avatar Oct 13 '18 09:10 ghost

server.sh 第175行 if [ ${darwin} ] ; then 修改成 if [ "${darwin}" = "true" ] ; then 就ok了。

angelaqazwsx avatar Nov 05 '18 06:11 angelaqazwsx