且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

mysql已死,但子系统已锁定

更新时间:2023-12-05 11:45:28

在尝试将a升级为大软件包后,我的OTRS服务器出现了此问题.

I had this problem with my OTRS server after I tried to update a to large package.

解决方案是:

为安全起见复制:

cp /var/lock/subsys/mysqld /root/mysqld

比删除它

rm /var/lock/subsys/mysqld

关闭所有依赖mysql的服务

than close all services that depends on mysql:

service httpd stop
service otrs stop

之后:

service mysqld restart
service httpd restart
service otrs restart

系统是CentOS 6.x

System is CentOS 6.x