jfrog-xray无法启动(全新安装)

时间:2019-06-13 04:02:22

标签: artifactory jfrog-xray

我正在在Redhat上安装jfrog-xray(版本2.8.6)。

我已经按照安装说明安装了裸机(相对于docker),安装似乎已经完成。

但是,当尝试启动所有服务时,似乎没有一个启动。

以下是./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服务器的日记条目(sudo journalctl -u xray服务器)时,我得到以下输出:

-- 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.

2 个答案:

答案 0 :(得分:1)

我们先进行了卸载,然后重新安装,就可以了。 我认为问题在于安装后(几乎立即)我们过早重启了服务器,因此服务可能正在做某事。

答案 1 :(得分:0)

在您的计算机上安装grep并尝试

相关问题