问题现象:恶意代码管理系统服务器重启后服务异常,查看服务状态 jmsupervisorctl status。

Image

解决步骤:

  1. 通过命令df -h查看根目录是否占用率为100%,是则重启,否则下一步操作。
  2. 将MsgSrv.conf文件拷贝到/opt/NetServer/MessageComlib/Conf添加执行权限(root用户操作)。
 cp MsgSrv.conf /opt/NetServer/MessageComlib/Conf
 chmod +x /opt/NetServer/MessageComlib/Conf/MsgSrv.conf
  1. 编辑修改vim MsgSrv.conf文件配置,保存退出,修改配置如下图:

Image

MsgSrv.conf下载链接 👉 MsgSrv.conf

5.重启所有服务,执行jmsupervisorctl restart all。
6.执行jmsupervisorctl status查看服务是否均为RUNNING,则恢复正常。

如上述过程不能解决问题,可尝试把服务进行停止,然后再启动。
依次执行 jmsupervisorctl stop all、jmsupervisorctl start all,最后执行jmsupervisorctl status查看状态。

❤️ 转载文章请注明出处,谢谢!❤️