2

我正在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-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.
4

2 回答 2

1

我们做了卸载,然后重新安装,一切都很好。我认为问题是我们在安装后过早地重新启动了服务器(几乎是立即),因此服务可能正在做某事。

于 2019-06-21T01:21:07.213 回答
0

在您的机器上安装 grep 并尝试

于 2019-06-14T04:37:38.093 回答