phpmyadmin进入一段时间后出现404错误,重启lnmp后可以访问,过一段时间又404
phpmyadmin进入一段时间后出现404错误,重启lnmp后可以访问,过一段时间又404。之前安装都比较顺利,不知为什么会这样,谢谢军哥!
错误日志如下:
160516 11:32:40 mysqld_safe mysqld from pidfile /usr/local/mysql/var/iZ28i5bpoawZ.pid ended
160516 11:32:42 mysqld_safe Starting mysqlddaemon with databases from /usr/local/mysql/var
160516 11:32:42 InnoDB: The InnoDB memoryheap is disabled
160516 11:32:42 InnoDB: Mutexes andrw_locks use GCC atomic builtins
160516 11:32:42 InnoDB: Compressed tablesuse zlib 1.2.3
160516 11:32:42 InnoDB: Initializing bufferpool, size = 16.0M
160516 11:32:42 InnoDB: Completedinitialization of buffer pool
160516 11:32:42 InnoDB: highest supportedfile format is Barracuda.
160516 11:32:42InnoDB: Waiting for the background threads tostart
160516 11:32:43 InnoDB: 5.5.42 started; logsequence number 2168641
160516 11:32:43 Server hostname(bind-address): '0.0.0.0'; port: 3306
160516 11:32:43 - '0.0.0.0' resolves to '0.0.0.0';
160516 11:32:43 Server socketcreated on IP: '0.0.0.0'.
160516 11:32:43 Event Scheduler:Loaded 0 events
160516 11:32:43 /usr/local/mysql/bin/mysqld: ready for connections.
Version: '5.5.42-log'socket: '/tmp/mysql.sock'port: 3306 Source distribution
160516 11:33:38 /usr/local/mysql/bin/mysqld: Normal shutdown
160516 11:33:38 Event Scheduler:Purging the queue. 0 events
160516 11:33:38InnoDB: Starting shutdown...
160516 11:33:38InnoDB: Shutdown completed; log sequencenumber 2168641
160516 11:33:38 /usr/local/mysql/bin/mysqld: Shutdown complete
160516 11:33:38 mysqld_safe mysqld from pidfile /usr/local/mysql/var/iZ28i5bpoawZ.pid ended
160516 11:33:40 mysqld_safe Starting mysqlddaemon with databases from /usr/local/mysql/var
160516 11:33:40 InnoDB: The InnoDB memoryheap is disabled
160516 11:33:40 InnoDB: Mutexes andrw_locks use GCC atomic builtins
160516 11:33:40 InnoDB: Compressed tablesuse zlib 1.2.3
160516 11:33:40 InnoDB: Initializing bufferpool, size = 16.0M
160516 11:33:40 InnoDB: Completedinitialization of buffer pool
160516 11:33:40 InnoDB: highest supportedfile format is Barracuda.
160516 11:33:40InnoDB: Waiting for the background threads tostart
160516 11:33:41 InnoDB: 5.5.42 started; logsequence number 2168641
160516 11:33:41 Server hostname(bind-address): '0.0.0.0'; port: 3306
160516 11:33:41 - '0.0.0.0' resolves to '0.0.0.0';
160516 11:33:41 Server socketcreated on IP: '0.0.0.0'.
160516 11:33:41 Event Scheduler:Loaded 0 events
160516 11:33:41 /usr/local/mysql/bin/mysqld: ready for connections.
Version: '5.5.42-log'socket: '/tmp/mysql.sock'port: 3306 Source distribution
160516 11:54:28 IP address'42.156.250.112' could not be resolved: Name or service not known
160516 11:57:07 /usr/local/mysql/bin/mysqld: Normal shutdown
160516 11:57:07 Event Scheduler:Purging the queue. 0 events
160516 11:57:07InnoDB: Starting shutdown...
160516 11:57:08InnoDB: Shutdown completed; log sequencenumber 2168651
160516 11:57:08 /usr/local/mysql/bin/mysqld: Shutdown complete
160516 11:57:08 mysqld_safe mysqld from pidfile /usr/local/mysql/var/iZ28i5bpoawZ.pid ended
160516 11:57:10 mysqld_safe Starting mysqlddaemon with databases from /usr/local/mysql/var
160516 11:57:10 InnoDB: The InnoDB memoryheap is disabled
160516 11:57:10 InnoDB: Mutexes andrw_locks use GCC atomic builtins
160516 11:57:10 InnoDB: Compressed tablesuse zlib 1.2.3
160516 11:57:10 InnoDB: Initializing bufferpool, size = 16.0M
160516 11:57:10 InnoDB: Completedinitialization of buffer pool
160516 11:57:10 InnoDB: highest supportedfile format is Barracuda.
160516 11:57:10InnoDB: Waiting for the background threads tostart
160516 11:57:11 InnoDB: 5.5.42 started; logsequence number 2168651
160516 11:57:11 Server hostname(bind-address): '0.0.0.0'; port: 3306
160516 11:57:11 - '0.0.0.0' resolves to '0.0.0.0';
160516 11:57:11 Server socketcreated on IP: '0.0.0.0'.
160516 11:57:11 Event Scheduler:Loaded 0 events
160516 11:57:11 /usr/local/mysql/bin/mysqld: ready for connections.
Version: '5.5.42-log'socket: '/tmp/mysql.sock'port: 3306 Source distribution
160516 11:57:45 /usr/local/mysql/bin/mysqld: Normal shutdown
160516 11:57:45 Event Scheduler:Purging the queue. 0 events
160516 11:57:45InnoDB: Starting shutdown...
160516 11:57:45InnoDB: Shutdown completed; log sequencenumber 2168651
160516 11:57:45 /usr/local/mysql/bin/mysqld: Shutdown complete
160516 11:57:45 mysqld_safe mysqld from pidfile /usr/local/mysql/var/iZ28i5bpoawZ.pid ended
160516 11:57:47 mysqld_safe Starting mysqlddaemon with databases from /usr/local/mysql/var
160516 11:57:47 InnoDB: The InnoDB memoryheap is disabled
160516 11:57:47 InnoDB: Mutexes andrw_locks use GCC atomic builtins
160516 11:57:47 InnoDB: Compressed tablesuse zlib 1.2.3
160516 11:57:47 InnoDB: Initializing bufferpool, size = 16.0M
160516 11:57:47 InnoDB: Completedinitialization of buffer pool
160516 11:57:47 InnoDB: highest supportedfile format is Barracuda.
160516 11:57:47InnoDB: Waiting for the background threads tostart
160516 11:57:48 InnoDB: 5.5.42 started; logsequence number 2168651
160516 11:57:48 Server hostname(bind-address): '0.0.0.0'; port: 3306
160516 11:57:48 - '0.0.0.0' resolves to '0.0.0.0';
160516 11:57:48 Server socketcreated on IP: '0.0.0.0'.
160516 11:57:48 Event Scheduler:Loaded 0 events
160516 11:57:48 /usr/local/mysql/bin/mysqld: ready for connections.
Version: '5.5.42-log'socket: '/tmp/mysql.sock'port: 3306 Source distribution 404 提示就是文件不存在,不可能重启一下lnmp就恢复
可以再等到发生404 时 看一下phpmyadmin目录是否存在,权限是否正常,配置文件是否改动及nginx访问日志
回复 2# 的帖子
多次404了,看了一下phpmyadmin目录在,权限755,配置都没变动。是在phpmyadmin使用过程中,突然就出现404,重启服务之后,就又可以用了。
页:
[1]