jfrog-xray 无法启动(全新安装)
jfrog-xray fails to start (fresh installation)
我正在 redhat 上安装 jfrog-xray(版本 2.8.6)。
我按照安装说明安装到裸机(与 docker 相比),安装似乎很顺利。
但是,当尝试启动所有服务时,似乎有 none 个服务启动了。
以下是 ./xray.sh satus 命令的结果:
Checking Xray services...
=========================
Checking xray-server... grep: account: No such file or directory
grep: is: No such file or directory
grep: currently: No such file or directory
grep: not: No such file or directory
grep: available.: No such file or directory
The process appears to be dead but pidfile still exists
Checking xray-indexer... grep: account: No such file or directory
grep: is: No such file or directory
grep: currently: No such file or directory
grep: not: No such file or directory
grep: available.: No such file or directory
The process appears to be dead but pidfile still exists
Checking xray-persist... grep: account: No such file or directory
grep: is: No such file or directory
grep: currently: No such file or directory
grep: not: No such file or directory
grep: available.: No such file or directory
The process appears to be dead but pidfile still exists
Checking xray-analysis... grep: account: No such file or directory
grep: is: No such file or directory
grep: currently: No such file or directory
grep: not: No such file or directory
grep: available.: No such file or directory
The process appears to be dead but pidfile still exists
当我查看 xray-server (sudo journalctl -u xray-server) 的日志条目时,我得到以下输出:
-- Logs begin at Sun 2019-06-09 08:14:36 AEST, end at Thu 2019-06-13 13:55:13 AEST. --
Jun 08 22:15:32 server systemd[1]: Starting LSB: xray-server...
Jun 08 22:15:32 server xray-server[5621]: Starting service as user xray...
Jun 08 22:15:34 server su[5626]: (to xray) root on none
Jun 08 22:15:38 server xray-server[5621]: Service started
Jun 08 22:15:38 server systemd[1]: Started LSB: xray-server.
Jun 12 15:39:27 server systemd[1]: Stopping LSB: xray-server...
Jun 12 15:39:27 server xray-server[13836]: Service not running
Jun 12 15:39:27 server systemd[1]: xray-server.service: control process exited, code=exited status=1
Jun 12 15:39:27 server systemd[1]: Stopped LSB: xray-server.
Jun 12 15:39:27 server systemd[1]: Unit xray-server.service entered failed state.
Jun 12 15:39:27 server systemd[1]: xray-server.service failed.
在您的机器上安装 grep 并尝试
我们卸载了,然后重新安装,没问题。
我认为问题在于我们在安装后(几乎是立即)过早地重启了服务器,因此服务可能正在执行某些操作。
我正在 redhat 上安装 jfrog-xray(版本 2.8.6)。
我按照安装说明安装到裸机(与 docker 相比),安装似乎很顺利。
但是,当尝试启动所有服务时,似乎有 none 个服务启动了。
以下是 ./xray.sh satus 命令的结果:
Checking Xray services...
=========================
Checking xray-server... grep: account: No such file or directory
grep: is: No such file or directory
grep: currently: No such file or directory
grep: not: No such file or directory
grep: available.: No such file or directory
The process appears to be dead but pidfile still exists
Checking xray-indexer... grep: account: No such file or directory
grep: is: No such file or directory
grep: currently: No such file or directory
grep: not: No such file or directory
grep: available.: No such file or directory
The process appears to be dead but pidfile still exists
Checking xray-persist... grep: account: No such file or directory
grep: is: No such file or directory
grep: currently: No such file or directory
grep: not: No such file or directory
grep: available.: No such file or directory
The process appears to be dead but pidfile still exists
Checking xray-analysis... grep: account: No such file or directory
grep: is: No such file or directory
grep: currently: No such file or directory
grep: not: No such file or directory
grep: available.: No such file or directory
The process appears to be dead but pidfile still exists
当我查看 xray-server (sudo journalctl -u xray-server) 的日志条目时,我得到以下输出:
-- Logs begin at Sun 2019-06-09 08:14:36 AEST, end at Thu 2019-06-13 13:55:13 AEST. --
Jun 08 22:15:32 server systemd[1]: Starting LSB: xray-server...
Jun 08 22:15:32 server xray-server[5621]: Starting service as user xray...
Jun 08 22:15:34 server su[5626]: (to xray) root on none
Jun 08 22:15:38 server xray-server[5621]: Service started
Jun 08 22:15:38 server systemd[1]: Started LSB: xray-server.
Jun 12 15:39:27 server systemd[1]: Stopping LSB: xray-server...
Jun 12 15:39:27 server xray-server[13836]: Service not running
Jun 12 15:39:27 server systemd[1]: xray-server.service: control process exited, code=exited status=1
Jun 12 15:39:27 server systemd[1]: Stopped LSB: xray-server.
Jun 12 15:39:27 server systemd[1]: Unit xray-server.service entered failed state.
Jun 12 15:39:27 server systemd[1]: xray-server.service failed.
在您的机器上安装 grep 并尝试
我们卸载了,然后重新安装,没问题。 我认为问题在于我们在安装后(几乎是立即)过早地重启了服务器,因此服务可能正在执行某些操作。