我已经在 Centos 8 上安装了 NuoDB,我正在尝试在 cmd 中使用以下命令启动 nuoadmin:
sudo service nuoadmin start
但它会引发错误:
启动 nuoadmin(通过 systemctl):nuoadmin.service 的作业失败,因为控制进程以错误代码退出。
有关详细信息,请参阅“systemctl status nuoadmin.service”和“journalctl -xe”。
当我输入 command:systemctl status nuoadmin.service
时,它显示了这个问题:
nuoadmin.service - LSB: Start the NuoDB Admin
Loaded: loaded (/etc/rc.d/init.d/nuoadmin; generated)
Active: failed (Result: exit-code) since Sun 2020-01-19 18:34:24 MSK; 26min ago
Docs: man:systemd-sysv-generator(8)
Process: 16303 ExecStart=/etc/rc.d/init.d/nuoadmin start (code=exited, status=1/FAILURE)
Jan 19 18:34:24 localhost.localdomain systemd[1]: Starting LSB: Start the NuoDB Admin...
Jan 19 18:34:24 localhost.localdomain nuoadmin[16303]: /etc/rc.d/init.d/nuoadmin: line 98: su: command not found
Jan 19 18:34:24 localhost.localdomain nuoadmin[16303]: /etc/rc.d/init.d/nuoadmin: line 186: su: command not found
Jan 19 18:34:24 localhost.localdomain nuoadmin[16303]: Starting NuoDB Admin[FAILED]
Jan 19 18:34:24 localhost.localdomain systemd[1]: nuoadmin.service: Control process exited, code=exited status=1
Jan 19 18:34:24 localhost.localdomain systemd[1]: nuoadmin.service: Failed with result 'exit-code'.
Jan 19 18:34:24 localhost.localdomain systemd[1]: Failed to start LSB: Start the NuoDB Admin.
有人可以帮忙吗?