Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

执行 sh server.sh报错 #27

Open
ghost opened this issue Oct 13, 2018 · 1 comment
Open

执行 sh server.sh报错 #27

ghost opened this issue Oct 13, 2018 · 1 comment

Comments

@ghost
Copy link

ghost commented Oct 13, 2018

执行 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

@angelaqazwsx
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant