AMH 社区首页
AMH社区 - 开放自由有价值的社区
[求助帖] 错误日志,这问题出在哪了? |
|
---|---|
情绪21度 |
情绪21度 发表于 2014-10-07 17:16:55
[Amysql-Notice] Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) Mysql链接出错,请配置/Amysql/config.php文件。#
[root@www ~]# cat /usr/local/mysql/data/*err; 141004 23:24:22 mysqld_safe Starting mysqld daemon with databases from /usr/local/mysql/data 141004 23:24:22 [Note] Plugin 'InnoDB' is disabled. 141004 23:24:22 [Note] Server hostname (bind-address): '0.0.0.0'; port: 3306 141004 23:24:22 [Note] - '0.0.0.0' resolves to '0.0.0.0'; 141004 23:24:22 [Note] Server socket created on IP: '0.0.0.0'. 141004 23:24:22 [Note] Event Scheduler: Loaded 0 events 141004 23:24:22 [Note] /usr/local/mysql/bin/mysqld: ready for connections. Version: '5.5.34-log' socket: '/tmp/mysql.sock' port: 3306 Source distribution 141005 0:17:58 [Note] /usr/local/mysql/bin/mysqld: Normal shutdown 141005 0:17:58 [Note] Event Scheduler: Purging the queue. 0 events 141005 0:17:58 [Note] /usr/local/mysql/bin/mysqld: Shutdown complete 141005 00:17:58 mysqld_safe mysqld from pid file /usr/local/mysql/data/www.ilove.ga.pid ended 141005 00:18:03 mysqld_safe Starting mysqld daemon with databases from /usr/local/mysql/data 141005 0:18:03 [Note] Plugin 'InnoDB' is disabled. 141005 0:18:03 [Note] Server hostname (bind-address): '0.0.0.0'; port: 3306 141005 0:18:03 [Note] - '0.0.0.0' resolves to '0.0.0.0'; 141005 0:18:03 [Note] Server socket created on IP: '0.0.0.0'. 141005 0:18:03 [Note] Event Scheduler: Loaded 0 events 141005 0:18:03 [Note] /usr/local/mysql/bin/mysqld: ready for connections. Version: '5.5.34-log' socket: '/tmp/mysql.sock' port: 3306 Source distribution 141005 7:37:14 [Warning] IP address '183.98.157.58' could not be resolved: Name or service not known 141005 21:57:17 [Note] /usr/local/mysql/bin/mysqld: Normal shutdown 141005 21:57:18 [Note] Event Scheduler: Purging the queue. 0 events 141005 21:57:18 [Note] /usr/local/mysql/bin/mysqld: Shutdown complete 141005 21:57:18 mysqld_safe mysqld from pid file /usr/local/mysql/data/www.ilove.ga.pid ended 141005 21:57:58 mysqld_safe Starting mysqld daemon with databases from /usr/local/mysql/data 141005 21:57:59 [Note] Plugin 'InnoDB' is disabled. 141005 21:57:59 [Note] Server hostname (bind-address): '0.0.0.0'; port: 3306 141005 21:57:59 [Note] - '0.0.0.0' resolves to '0.0.0.0'; 141005 21:57:59 [Note] Server socket created on IP: '0.0.0.0'. 141005 21:57:59 [Note] Event Scheduler: Loaded 0 events 141005 21:57:59 [Note] /usr/local/mysql/bin/mysqld: ready for connections. Version: '5.5.34-log' socket: '/tmp/mysql.sock' port: 3306 Source distribution 141005 23:09:24 [Warning] IP address '222.186.27.40' could not be resolved: Name or service not known 141007 1:19:31 [Warning] IP address '101.227.246.150' could not be resolved: Name or service not known 141007 14:11:09 [Note] /usr/local/mysql/bin/mysqld: Normal shutdown 141007 14:11:09 [Note] Event Scheduler: Purging the queue. 0 events 141007 14:11:09 [Note] /usr/local/mysql/bin/mysqld: Shutdown complete 141007 14:11:09 mysqld_safe mysqld from pid file /usr/local/mysql/data/www.ilove.ga.pid ended 141007 14:11:30 mysqld_safe Starting mysqld daemon with databases from /usr/local/mysql/data 141007 14:11:30 [Note] Plugin 'InnoDB' is disabled. 141007 14:11:30 [Note] Server hostname (bind-address): '0.0.0.0'; port: 3306 141007 14:11:30 [Note] - '0.0.0.0' resolves to '0.0.0.0'; 141007 14:11:30 [Note] Server socket created on IP: '0.0.0.0'. 141007 14:11:30 [Note] Event Scheduler: Loaded 0 events 141007 14:11:30 [Note] /usr/local/mysql/bin/mysqld: ready for connections. Version: '5.5.34-log' socket: '/tmp/mysql.sock' port: 3306 Source distribution 141007 15:33:41 [Note] /usr/local/mysql/bin/mysqld: Normal shutdown 141007 15:33:41 [Note] Event Scheduler: Purging the queue. 0 events 141007 15:33:41 [Note] /usr/local/mysql/bin/mysqld: Shutdown complete 141007 15:33:41 mysqld_safe mysqld from pid file /usr/local/mysql/data/www.ilove.ga.pid ended 141007 15:34:17 mysqld_safe Starting mysqld daemon with databases from /usr/local/mysql/data 141007 15:34:18 [Note] Plugin 'InnoDB' is disabled. 141007 15:34:18 [Note] Server hostname (bind-address): '0.0.0.0'; port: 3306 141007 15:34:18 [Note] - '0.0.0.0' resolves to '0.0.0.0'; 141007 15:34:18 [Note] Server socket created on IP: '0.0.0.0'. 141007 15:34:18 [ERROR] Can't start server : Bind on unix socket: Permission denied 141007 15:34:18 [ERROR] Do you already have another mysqld server running on socket: /tmp/mysql.sock ? 141007 15:34:18 [ERROR] Aborting 141007 15:34:18 [Note] /usr/local/mysql/bin/mysqld: Shutdown complete 141007 15:34:18 mysqld_safe mysqld from pid file /usr/local/mysql/data/www.ilove.ga.pid ended 141007 16:44:26 mysqld_safe Starting mysqld daemon with databases from /usr/local/mysql/data 141007 16:44:27 [Note] Plugin 'InnoDB' is disabled. 141007 16:44:27 [Note] Server hostname (bind-address): '0.0.0.0'; port: 3306 141007 16:44:27 [Note] - '0.0.0.0' resolves to '0.0.0.0'; 141007 16:44:27 [Note] Server socket created on IP: '0.0.0.0'. 141007 16:44:27 [ERROR] Can't start server : Bind on unix socket: Permission denied 141007 16:44:27 [ERROR] Do you already have another mysqld server running on socket: /tmp/mysql.sock ? 141007 16:44:27 [ERROR] Aborting 141007 16:44:27 [Note] /usr/local/mysql/bin/mysqld: Shutdown complete 141007 16:44:27 mysqld_safe mysqld from pid file /usr/local/mysql/data/www.ilove.ga.pid ended 141007 17:01:49 mysqld_safe Starting mysqld daemon with databases from /usr/local/mysql/data 141007 17:01:49 [Note] Plugin 'InnoDB' is disabled. 141007 17:01:49 [Note] Server hostname (bind-address): '0.0.0.0'; port: 3306 141007 17:01:49 [Note] - '0.0.0.0' resolves to '0.0.0.0'; 141007 17:01:49 [Note] Server socket created on IP: '0.0.0.0'. 141007 17:01:49 [ERROR] Can't start server : Bind on unix socket: Permission denied 141007 17:01:49 [ERROR] Do you already have another mysqld server running on socket: /tmp/mysql.sock ? 141007 17:01:49 [ERROR] Aborting 141007 17:01:49 [Note] /usr/local/mysql/bin/mysqld: Shutdown complete 141007 17:01:49 mysqld_safe mysqld from pid file /usr/local/mysql/data/www.ilove.ga.pid ended 141007 17:05:30 mysqld_safe Starting mysqld daemon with databases from /usr/local/mysql/data 141007 17:05:30 [Note] Plugin 'InnoDB' is disabled. 141007 17:05:30 [Note] Server hostname (bind-address): '0.0.0.0'; port: 3306 141007 17:05:30 [Note] - '0.0.0.0' resolves to '0.0.0.0'; 141007 17:05:30 [Note] Server socket created on IP: '0.0.0.0'. 141007 17:05:30 [ERROR] Can't start server : Bind on unix socket: Permission denied 141007 17:05:30 [ERROR] Do you already have another mysqld server running on socket: /tmp/mysql.sock ? 141007 17:05:30 [ERROR] Aborting 141007 17:05:30 [Note] /usr/local/mysql/bin/mysqld: Shutdown complete 141007 17:05:30 mysqld_safe mysqld from pid file /usr/local/mysql/data/www.ilove.ga.pid ended 141007 17:13:20 mysqld_safe Starting mysqld daemon with databases from /usr/local/mysql/data 141007 17:13:20 [Note] Plugin 'InnoDB' is disabled. 141007 17:13:21 [Note] Server hostname (bind-address): '0.0.0.0'; port: 3306 141007 17:13:21 [Note] - '0.0.0.0' resolves to '0.0.0.0'; 141007 17:13:21 [Note] Server socket created on IP: '0.0.0.0'. 141007 17:13:21 [ERROR] Can't start server : Bind on unix socket: Permission denied 141007 17:13:21 [ERROR] Do you already have another mysqld server running on socket: /tmp/mysql.sock ? 141007 17:13:21 [ERROR] Aborting 141007 17:13:21 [Note] /usr/local/mysql/bin/mysqld: Shutdown complete 141007 17:13:21 mysqld_safe mysqld from pid file /usr/local/mysql/data/www.ilove.ga.pid ended
点赞,加油! (0分)
2014-10-07 17:16:55 1
|
情绪21度 |
[root@www ~]# /etc/init.d/amh-start
============================================================= [LNMP/Nginx] Amysql Host - AMH 4.2 http://Amysql.com [OK] Nginx stop ============================================================= [LNMP/Nginx] Amysql Host - AMH 4.2 http://Amysql.com ERROR! MySQL server PID file could not be found! [OK] MySQL stop ============================================================= [LNMP/Nginx] Amysql Host - AMH 4.2 http://Amysql.com Starting MySQL... ERROR! The server quit without updating PID file (/usr/local/mysql/data/www.ilove.ga.pid). ============================================================= [LNMP/Nginx] Amysql Host - AMH 4.2 http://Amysql.com [Notice] All PHP start... ============================================================= [LNMP/Nginx] Amysql Host - AMH 4.2 http://Amysql.com [Notice] 0577.ga PHP start... [OK] 0577.ga PHP start ============================================================= [LNMP/Nginx] Amysql Host - AMH 4.2 http://Amysql.com [Notice] home PHP start... [OK] home PHP start ============================================================= [LNMP/Nginx] Amysql Host - AMH 4.2 http://Amysql.com [Notice] zjwz.ga PHP start... [OK] zjwz.ga PHP start Starting pure-config.pl: Running: /usr/local/sbin/pure-ftpd --daemonize -A -c50 -B -C8 -D -E -fftp -H -I15 -lpuredb:/etc/pureftpd.pdb -lunix -L10000:8 -m4 -s -U133:022 -u100 -k99 -Z -p10100:10110 ============================================================= [LNMP/Nginx] Amysql Host - AMH 4.2 http://Amysql.com [OK] Nginx start
回复
2014-10-07 17:20:18 2
|
amysql |
mysql 启动不了会是有多方面的原因。
磁盘空间、数据目录权限、my.cnf配置。 一一检查。
回复
2014-10-08 12:21:51 3
AMH面板 - 好用高效低占用、安全可靠极稳定 |