注册
数据库服务通过systemctl启动失败
专栏/技术分享/ 文章详情 /

数据库服务通过systemctl启动失败

白钰 2024/10/12 729 0 0
摘要

报错内容大致为一下情况:
Job for DmServiceDMSERVER.service failed because the control process exited with error code. See “systemctl status DmServiceDMSERVER.service” and “journalctl -xe” for details.
通过几次测试,这种情况大致有两种问题导致,一种为实例文件目录权限错误,这种情况只需要通过chown命令进行权限授予即可,另一种情况为系统SELinux启动中导致,可通过命令 cat /etc/selinux/config或者getenforce来进行查看,SELinux共有3个状态enforcing (执行中)、permissive (不执行但产生警告)、disabled(关闭)。这种情况需调整为关闭状态,通过命令sed -i s#SELINUX=enforcing#SELINUX=disabled# /etc/selinux/config调整,调整后需重启服务器生效

评论
后发表回复

作者

文章

阅读量

获赞

扫一扫
联系客服