VPS侦探论坛

 找回密码
 注册
查看: 4139|回复: 2

phpmyadmin进入一段时间后出现404错误,重启lnmp后可以访问,过一段时间又404

[复制链接]
发表于 2016-5-16 12:12:57 | 显示全部楼层 |阅读模式

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:42  InnoDB: Waiting for the background threads tostart
160516 11:32:43 InnoDB: 5.5.42 started; logsequence number 2168641
160516 11:32:43 [Note] Server hostname(bind-address): '0.0.0.0'; port: 3306
160516 11:32:43 [Note]   - '0.0.0.0' resolves to '0.0.0.0';
160516 11:32:43 [Note] Server socketcreated on IP: '0.0.0.0'.
160516 11:32:43 [Note] Event Scheduleroaded 0 events
160516 11:32:43 [Note]/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 [Note]/usr/local/mysql/bin/mysqld: Normal shutdown

160516 11:33:38 [Note] Event Schedulerurging the queue. 0 events
160516 11:33:38  InnoDB: Starting shutdown...
160516 11:33:38  InnoDB: Shutdown completed; log sequencenumber 2168641
160516 11:33:38 [Note]/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:40  InnoDB: Waiting for the background threads tostart
160516 11:33:41 InnoDB: 5.5.42 started; logsequence number 2168641
160516 11:33:41 [Note] Server hostname(bind-address): '0.0.0.0'; port: 3306
160516 11:33:41 [Note]   - '0.0.0.0' resolves to '0.0.0.0';
160516 11:33:41 [Note] Server socketcreated on IP: '0.0.0.0'.
160516 11:33:41 [Note] Event Scheduleroaded 0 events
160516 11:33:41 [Note]/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 [Warning] IP address'42.156.250.112' could not be resolved: Name or service not known
160516 11:57:07 [Note]/usr/local/mysql/bin/mysqld: Normal shutdown

160516 11:57:07 [Note] Event Schedulerurging the queue. 0 events
160516 11:57:07  InnoDB: Starting shutdown...
160516 11:57:08  InnoDB: Shutdown completed; log sequencenumber 2168651
160516 11:57:08 [Note]/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:10  InnoDB: Waiting for the background threads tostart
160516 11:57:11 InnoDB: 5.5.42 started; logsequence number 2168651
160516 11:57:11 [Note] Server hostname(bind-address): '0.0.0.0'; port: 3306
160516 11:57:11 [Note]   - '0.0.0.0' resolves to '0.0.0.0';
160516 11:57:11 [Note] Server socketcreated on IP: '0.0.0.0'.
160516 11:57:11 [Note] Event Scheduleroaded 0 events
160516 11:57:11 [Note]/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 [Note]/usr/local/mysql/bin/mysqld: Normal shutdown

160516 11:57:45 [Note] Event Schedulerurging the queue. 0 events
160516 11:57:45  InnoDB: Starting shutdown...
160516 11:57:45  InnoDB: Shutdown completed; log sequencenumber 2168651
160516 11:57:45 [Note]/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:47  InnoDB: Waiting for the background threads tostart
160516 11:57:48 InnoDB: 5.5.42 started; logsequence number 2168651
160516 11:57:48 [Note] Server hostname(bind-address): '0.0.0.0'; port: 3306
160516 11:57:48 [Note]   - '0.0.0.0' resolves to '0.0.0.0';
160516 11:57:48 [Note] Server socketcreated on IP: '0.0.0.0'.
160516 11:57:48 [Note] Event Scheduleroaded 0 events
160516 11:57:48 [Note]/usr/local/mysql/bin/mysqld: ready for connections.
Version: '5.5.42-log'  socket: '/tmp/mysql.sock'  port: 3306 Source distribution
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2016-5-16 16:27:58 | 显示全部楼层


404 提示就是文件不存在,不可能重启一下lnmp就恢复

可以再等到发生404 时 看一下phpmyadmin目录是否存在,权限是否正常,配置文件是否改动及nginx访问日志
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2016-5-16 19:22:53 | 显示全部楼层

回复 2# 的帖子


多次404了,看了一下phpmyadmin目录在,权限755,配置都没变动。

是在phpmyadmin使用过程中,突然就出现404,重启服务之后,就又可以用了。
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|VPS侦探 ( 鲁ICP备16040043号-1 )

GMT+8, 2024-11-17 09:50 , Processed in 0.026588 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表