为提高效率,提问时请提供以下信息,问题描述清晰可优先响应。
【DM版本】: dm8
【操作系统】: 银河麒麟
【CPU】: Hygon c86 x86_64
【问题描述】*:服务器关闭后在新环境开机后没有自动启动,手动启动也报错:
在/bin路径下执行systemctl start DmServiceDMSERVER.service报错如下:
Job for DmServiceDMSERVER.service failed because the control process exited with error code.
See "systemctl status DmServiceDMSERVER.service" and "journalctl -xe" for details.
执行systemctl status DmServiceDMSERVER.service可以看到如下信息:
Failed to execute pager using next fallback pager:权限不够
DmServiceDMSERVER.service - DM Instance Service[DmServiceDMSERVER].
loaded : loaded (/user/lib/system/DmServiceDMSERVER.service) ENABLED;VENDOR PRESET: DISBLED)
Active : filed (Result: exit-code) xxx(时间)
Process: 48928 ExecStart=/xxxxx/bin/DmServiceDMSERVER start (code=exited, status=217/USER)
然后,输入journalctl -xe,内容显示如下,
操作系统的systemctl管理可能会有问题,进入数据库的bin目录,然后用这种方法启动试试,也建议用这种方法管理
cd /xx/xx/xx/bin
./DmServiceDMSERVER start