我正在尝试使用列在以下位置的CentOS过程在RHEL 7.2上安装Rocket Chat服务器: https://rocket.chat/docs/installation/manual-installation/centos
安装本身运行良好,没有明显的错误。但是,当我尝试启动服务时,出现错误。
[cinstall@xxxxxxxxxx ~]$ sudo systemctl status rocketchat
â rocketchat.service - The Rocket.Chat server
Loaded: loaded (/usr/lib/systemd/system/rocketchat.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Thu 2019-01-03 11:14:11 UTC; 24h ago
Process: 16375 ExecStart=/usr/local/bin/node /opt/Rocket.Chat/main.js (code=exited, status=1/FAILURE)
Main PID: 16375 (code=exited, status=1/FAILURE)
Jan 03 11:14:11 ibmsitldct02 systemd[1]: Started The Rocket.Chat server.
Jan 03 11:14:11 ibmsitldct02 systemd[1]: Starting The Rocket.Chat server...
Jan 03 11:14:11 ibmsitldct02 systemd[1]: rocketchat.service: main process exited, code=exited, status=1/FAILURE
Jan 03 11:14:11 ibmsitldct02 systemd[1]: Unit rocketchat.service entered failed state.
Jan 03 11:14:11 ibmsitldct02 systemd[1]: rocketchat.service failed.
其他信息:
[cinstall@xxxxxxxxxx ~]$ cat /etc/redhat-release
Red Hat Enterprise Linux Server release 7.2 (Maipo)
node --version ==> v8.11.3
npm --version ==> 5.6.0
n --version ==> 2.1.12
[cinstall@xxxxxxxxxx ~]$ sudo systemctl status mongod
â mongod.service - High-performance, schema-free document-oriented database
Loaded: loaded (/usr/lib/systemd/system/mongod.service; enabled; vendor preset: disabled)
Active: active (running) since Wed 2018-12-19 12:42:08 UTC; 2 weeks 1 days ago
Main PID: 17501 (mongod)
CGroup: /system.slice/mongod.service
ââ17501 /usr/bin/mongod --quiet -f /etc/mongod.conf run
Dec 19 12:42:08 ibmsitldct02 systemd[1]: Starting High-performance, schema-free document-oriented database...
Dec 19 12:42:08 ibmsitldct02 mongod[17499]: about to fork child process, waiting until server is ready for connections.
Dec 19 12:42:08 ibmsitldct02 mongod[17499]: forked process: 17501
Dec 19 12:42:08 ibmsitldct02 systemd[1]: Started High-performance, schema-free document-oriented database.