ybs885 发表于 2019-6-2 00:16:13

ERROR! MySQL server PID file could not be found

老出现MYSQL挂掉。LNMP1.6 重启LNMP后

Stoping LNMP...
Stoping nginx...done
ERROR! MySQL server PID file could not be found!
Gracefully shutting down php-fpm . done
Starting LNMP...
Starting nginx...done

Starting MySQL.... SUCCESS!
Starting php-fpmdone



贴出.net.err

版本centos7+lnmp1.6


1905186:10:54 Plugin 'FEDERATED' is disabled.
1905186:10:54 Plugin 'InnoDB' is disabled.
1905186:10:57 Server hostname (bind-address): '0.0.0.0'; port: 3306
1905186:10:57    - '0.0.0.0' resolves to '0.0.0.0';
1905186:10:57 Server socket created on IP: '0.0.0.0'.
1905186:10:57 Event Scheduler: Loaded 0 events
1905186:10:57 /usr/local/mysql/bin/mysqld: ready for connections.
Version: '5.5.62-log'socket: '/tmp/mysql.sock'port: 3306Source distribution
1905186:10:58 /usr/local/mysql/bin/mysqld: Normal shutdown

1905186:10:58 Event Scheduler: Purging the queue. 0 events
1905186:10:58 /usr/local/mysql/bin/mysqld: Shutdown complete

1905186:10:59 Plugin 'FEDERATED' is disabled.
1905186:10:59 Plugin 'InnoDB' is disabled.
1905186:11:02 Server hostname (bind-address): '0.0.0.0'; port: 3306
1905186:11:02    - '0.0.0.0' resolves to '0.0.0.0';
1905186:11:02 Server socket created on IP: '0.0.0.0'.
1905186:11:02 Event Scheduler: Loaded 0 events
1905186:11:02 /usr/local/mysql/bin/mysqld: ready for connections.
Version: '5.5.62-log'socket: '/tmp/mysql.sock'port: 3306Source distribution
1905186:11:05 /usr/local/mysql/bin/mysqld: Normal shutdown

1905186:11:05 Event Scheduler: Purging the queue. 0 events
1905186:11:08 /usr/local/mysql/bin/mysqld: Shutdown complete

1905186:11:10 Plugin 'FEDERATED' is disabled.
1905186:11:10 Plugin 'InnoDB' is disabled.
1905186:11:10 Server hostname (bind-address): '0.0.0.0'; port: 3306
1905186:11:10    - '0.0.0.0' resolves to '0.0.0.0';
1905186:11:10 Server socket created on IP: '0.0.0.0'.
1905186:11:10 Event Scheduler: Loaded 0 events
1905186:11:10 /usr/local/mysql/bin/mysqld: ready for connections.
Version: '5.5.62-log'socket: '/tmp/mysql.sock'port: 3306Source distribution
1905186:11:10 /usr/local/mysql/bin/mysqld: Normal shutdown

1905186:11:10 Event Scheduler: Purging the queue. 0 events
1905186:11:10 /usr/local/mysql/bin/mysqld: Shutdown complete

1905186:11:12 Plugin 'FEDERATED' is disabled.
1905186:11:12 Plugin 'InnoDB' is disabled.
1905186:11:14 Server hostname (bind-address): '0.0.0.0'; port: 3306
1905186:11:14    - '0.0.0.0' resolves to '0.0.0.0';
1905186:11:14 Server socket created on IP: '0.0.0.0'.
1905186:11:14 Event Scheduler: Loaded 0 events
1905186:11:14 /usr/local/mysql/bin/mysqld: ready for connections.
Version: '5.5.62-log'socket: '/tmp/mysql.sock'port: 3306Source distribution
1905186:11:15 /usr/local/mysql/bin/mysqld: Normal shutdown

1905186:11:15 Event Scheduler: Purging the queue. 0 events
1905186:11:15 /usr/local/mysql/bin/mysqld: Shutdown complete

1905186:45:57 Plugin 'FEDERATED' is disabled.
1905186:45:57 Plugin 'InnoDB' is disabled.
1905186:45:59 Server hostname (bind-address): '0.0.0.0'; port: 3306
1905186:45:59    - '0.0.0.0' resolves to '0.0.0.0';
1905186:45:59 Server socket created on IP: '0.0.0.0'.
1905186:45:59 Event Scheduler: Loaded 0 events
1905186:45:59 /usr/local/mysql/bin/mysqld: ready for connections.
Version: '5.5.62-log'socket: '/tmp/mysql.sock'port: 3306Source distribution
190518 13:17:19 IP address '176.45.226.150' could not be resolved: Name or service not known
190518 17:18:53 IP address '218.108.73.61' could not be resolved: Name or service not known
190518 17:20:42 /usr/local/mysql/bin/mysqld: Normal shutdown

190518 17:20:42 Event Scheduler: Purging the queue. 0 events
190518 17:20:42 /usr/local/mysql/bin/mysqld: Shutdown complete

1906020:09:33 Plugin 'FEDERATED' is disabled.
1906020:09:33 Plugin 'InnoDB' is disabled.
1906020:09:35 Server hostname (bind-address): '0.0.0.0'; port: 3306
1906020:09:35    - '0.0.0.0' resolves to '0.0.0.0';
1906020:09:35 Server socket created on IP: '0.0.0.0'.
1906020:09:35 Event Scheduler: Loaded 0 events
1906020:09:35 /usr/local/mysql/bin/mysqld: ready for connections.
Version: '5.5.62-log'socket: '/tmp/mysql.sock'port: 3306Source distribution





licess 发表于 2019-6-2 08:37:59

你只提供的日志中没有相关信息
猜测有可能是内存不够用被系统给kill掉了
页: [1]
查看完整版本: ERROR! MySQL server PID file could not be found