QUOTE:
原帖由 liang3391 于 2008-11-25 22:45 发表
从贴出的虚拟主机部分的配置文件来看 没有什么问题,但是log 贴的太少,不能看出具体问题根源。建议贴上系统的 log 和 apache 的 error log 文件来进行分析。
apache 的 error 如下
[Tue Nov 25 17:58:14 2008] [notice] Digest: done
[Tue Nov 25 17:58:14 2008] [notice] LDAP: Built with OpenLDAP LDAP SDK
[Tue Nov 25 17:58:14 2008] [notice] LDAP: SSL support unavailable
[Tue Nov 25 17:58:14 2008] [notice] mod_python: Creating 4 session mutexes based on 256 max processes and 0 max threads.
[Tue Nov 25 17:58:14 2008] [notice] Apache/2.0.52 (Red Hat) configured -- resuming normal operations
[Tue Nov 25 18:06:09 2008] [notice] caught SIGTERM, shutting down
[Tue Nov 25 18:06:10 2008] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Tue Nov 25 18:06:10 2008] [notice] Digest: generating secret for digest authentication ...
[Tue Nov 25 18:06:10 2008] [notice] Digest: done
[Tue Nov 25 18:06:10 2008] [notice] LDAP: Built with OpenLDAP LDAP SDK
[Tue Nov 25 18:06:10 2008] [notice] LDAP: SSL support unavailable
[Tue Nov 25 18:06:10 2008] [notice] mod_python: Creating 4 session mutexes based on 256 max processes and 0 max threads.
[Tue Nov 25 18:06:10 2008] [notice] Apache/2.0.52 (Red Hat) configured -- resuming normal operations
[Tue Nov 25 18:08:48 2008] [notice] SIGHUP received. Attempting to restart
[Tue Nov 25 18:08:48 2008] [notice] Digest: generating secret for digest authentication ...
[Tue Nov 25 18:08:48 2008] [notice] Digest: done
[Tue Nov 25 18:08:48 2008] [notice] LDAP: Built with OpenLDAP LDAP SDK
[Tue Nov 25 18:08:48 2008] [notice] LDAP: SSL support unavailable
[Tue Nov 25 18:08:48 2008] [notice] mod_python: Creating 4 session mutexes based on 256 max processes and 0 max threads.
[Tue Nov 25 18:08:49 2008] [notice] Apache/2.0.52 (Red Hat) configured -- resuming normal operations
[Tue Nov 25 18:15:28 2008] [notice] SIGHUP received. Attempting to restart
[Tue Nov 25 18:15:28 2008] [notice] Digest: generating secret for digest authentication ...
[Tue Nov 25 18:15:28 2008] [notice] Digest: done
[Tue Nov 25 18:15:28 2008] [notice] LDAP: Built with OpenLDAP LDAP SDK
[Tue Nov 25 18:15:28 2008] [notice] LDAP: SSL support unavailable
[Tue Nov 25 18:15:28 2008] [notice] mod_python: Creating 4 session mutexes based on 256 max processes and 0 max threads.
[Tue Nov 25 18:15:29 2008] [notice] Apache/2.0.52 (Red Hat) configured -- resuming normal operations
只是如上的重复,没有其他的信息。
虚拟主机的error[Tue Nov 25 21:58:05 2008] [error] [client 219.243.36.16] File does not exist: /var/www/html/xxxxx.xxxx.cn/favicon.ico
[client 202.160.179.113] PHP Notice: Undefined variable: username in /var/www/html/xxxxx.xxxx.cn/new_xxxxx/inc/common.php on line 2
[client 202.160.179.113] PHP Notice: Undefined variable: usr_flag in /var/www/html/xxxxx.xxxx.cn/new_xxxxx/inc/common.php on line 3
[client 202.160.179.113] PHP Notice: Undefined variable: usr_flag in /var/www/html/xxxxx.xxxx.cn/new_xxxxx/inc/common.php on line 16
[client 202.160.179.113] PHP Notice: Undefined variable: usr_flag in /var/www/html/xxxxx.xxxx.cn/new_xxxxx/inc/common.php on line 22
[client 202.160.179.113] PHP Notice: Undefined variable: usr_flag in /var/www/html/xxxxx.xxxx.cn/new_xxxxx/inc/common.php on line 28
[client 202.160.179.113] PHP Notice: Undefined index: rows in /var/www/html/xxxxx.xxxx.cn/new_xxxxx/inc/template.php on line 235
[client 202.160.179.113] PHP Notice: Undefined variable: msgs in /var/www/html/xxxxx.xxxx.cn/new_xxxxx/inc/mysql.php on line 73
[Tue Nov 25 22:02:02 2008] [error] [client 202.106.90.2] File does not exist: /var/www/html/xxxxx.xxxx.cn/favicon.ico
[client 60.213.84.224] script '/var/www/html/xxxxx.xxxx.cn/new_xxxxx/admin_behind/insertreply.php' not found or unable to stat
[Tue Nov 25 22:07:10 2008] [error] [client 61.240.219.190] File does not exist: /var/www/html/xxxxx.xxxx.cn/favicon.ico
[client 72.30.142.164] PHP Notice: Undefined variable: username in /var/www/html/xxxxx.xxxx.cn/new_xxxxx/inc/common.php on line 2
[client 72.30.142.164] PHP Notice: Undefined variable: usr_flag in /var/www/html/xxxxx.xxxx.cn/new_xxxxx/inc/common.php on line 3
[client 72.30.142.164] PHP Notice: Undefined variable: usr_flag in /var/www/html/xxxxx.xxxx.cn/new_xxxxx/inc/common.php on line 16
[client 72.30.142.164] PHP Notice: Undefined variable: usr_flag in /var/www/html/xxxxx.xxxx.cn/new_xxxxx/inc/common.php on line 22
[client 72.30.142.164] PHP Notice: Undefined variable: usr_flag in /var/www/html/xxxxx.xxxx.cn/new_xxxxx/inc/common.php on line 28
[client 72.30.142.164] PHP Notice: Undefined variable: msgs in /var/www/html/xxxxx.xxxx.cn/new_xxxxx/inc/mysql.php on line 73
[client 72.30.142.164] PHP Notice: Undefined index: rows in /var/www/html/xxxxx.xxxx.cn/new_xxxxx/inc/template.php on line 235
[client 58.246.231.106] script '/var/www/html/xxxxx.xxxx.cn/new_xxxxx/admin_behind/insertreply.php' not found or unable to stat
[client 58.246.231.106] script '/var/www/html/xxxxx.xxxx.cn/new_xxxxx/admin_behind/insertreply.php' not found or unable to stat
[Tue Nov 25 22:15:41 2008] [error] [client 72.30.142.164] File does not exist: /var/www/html/xxxxx.xxxx.cn/new_xxxxx/news/20081030_102558_411680.shtml
[client 202.160.178.121] PHP Notice: Undefined variable: username in /var/www/html/xxxxx.xxxx.cn/new_xxxxx/inc/common.php on line 2
[client 202.160.178.121] PHP Notice: Undefined variable: usr_flag in /var/www/html/xxxxx.xxxx.cn/new_xxxxx/inc/common.php on line 3
[client 202.160.178.121] PHP Notice: Undefined variable: usr_flag in /var/www/html/xxxxx.xxxx.cn/new_xxxxx/inc/common.php on line 16
[client 202.160.178.121] PHP Notice: Undefined variable: usr_flag in /var/www/html/xxxxx.xxxx.cn/new_xxxxx/inc/common.php on line 22
[client 202.160.178.121] PHP Notice: Undefined variable: usr_flag in /var/www/html/xxxxx.xxxx.cn/new_xxxxx/inc/common.php on line 28
[client 202.160.178.121] PHP Notice: Undefined variable: total in /var/www/html/xxxxx.xxxx.cn/new_xxxxx/inc/count_click.php on line 47
[client 202.160.178.121] PHP Notice: Undefined index: rows in /var/www/html/xxxxx.xxxx.cn/new_xxxxx/inc/template.php on line 235
[client 59.38.217.207] script '/var/www/html/xxxxx.xxxx.cn/new_xxxxx/admin_behind/insertreply.php' not found or unable to stat
[Tue Nov 25 22:18:25 2008] [error] [client 222.136.72.243] File does not exist: /var/www/html/xxxxx.xxxx.cn/new_xxxxx/index.shtml, referer: http://www.xxxxx.xxxx.cn/new_xxxxx/index.shtml
[Tue Nov 25 22:18:55 2008] [error] [client 220.181.61.216] File does not exist: /var/www/html/xxxxx.xxxx.cn/robots.txt
[client 60.210.60.142] PHP Notice: Undefined variable: username in /var/www/html/xxxxx.xxxx.cn/new_xxxxx/inc/common.php on line 2, referer:
http://www.baidu.com/s?lm=0& ... amp;uim=1&usm=0
[client 60.210.60.142] PHP Notice: Undefined variable: usr_flag in /var/www/html/xxxxx.xxxx.cn/new_xxxxx/inc/common.php on line 3, referer:
http://www.baidu.com/s?lm=0& ... amp;uim=1&usm=0
[client 60.210.60.142] PHP Notice: Undefined variable: usr_flag in /var/www/html/xxxxx.xxxx.cn/new_xxxxx/inc/common.php on line 16, referer:
http://www.baidu.com/s?lm=0& ... amp;uim=1&usm=0
[client 60.210.60.142] PHP Notice: Undefined variable: usr_flag in /var/www/html/xxxxx.xxxx.cn/new_xxxxx/inc/common.php on line 22, referer:
http://www.baidu.com/s?lm=0& ... amp;uim=1&usm=0
[client 60.210.60.142] PHP Notice: Undefined variable: usr_flag in /var/www/html/xxxxx.xxxx.cn/new_xxxxx/inc/common.php on line 28, referer:
http://www.baidu.com/s?lm=0& ... amp;uim=1&usm=0
[client 60.210.60.142] PHP Notice: Undefined variable: msgs in /var/www/html/xxxxx.xxxx.cn/new_xxxxx/inc/mysql.php on line 73, referer:
http://www.baidu.com/s?lm=0& ... amp;uim=1&usm=0
[client 60.210.60.142] PHP Notice: Undefined index: rows in /var/www/html/xxxxx.xxxx.cn/new_xxxxx/inc/template.php on line 235, referer:
http://www.baidu.com/s?lm=0& ... amp;uim=1&usm=0
[client 60.210.60.142] PHP Notice: Undefined variable: msgs in /var/www/html/xxxxx.xxxx.cn/new_xxxxx/inc/mysql.php on line 73, referer:
http://www.baidu.com/s?lm=0& ... amp;uim=1&usm=0
[Tue Nov 25 22:26:44 2008] [error] [client 72.30.142.164] File does not exist: /var/www/html/xxxxx.xxxx.cn/robots.txt
[Tue Nov 25 22:31:05 2008] [error] [client 59.42.89.38] File does not exist: /var/www/html/xxxxx.xxxx.cn/favicon.ico
[client 59.38.217.207] script '/var/www/html/xxxxx.xxxx.cn/new_xxxxx/admin_behind/insertreply.php' not found or unable to stat
[Tue Nov 25 22:32:33 2008] [error] [client 59.42.89.38] File does not exist: /var/www/html/xxxxx.xxxx.cn/new_xxxxx/news/20081014_154825_889130.shtml
[Tue Nov 25 22:32:33 2008] [error] [client 59.42.89.38] File does not exist: /var/www/html/xxxxx.xxxx.cn/favicon.ico
[client 219.142.245.247] PHP Notice: Undefined variable: usr_flag in /var/www/html/xxxxx.xxxx.cn/new_xxxxx/inc/ifr_login_index_wynn.php on line 45, referer: http://www.xxxxx.xxxx.cn/new_xxxxx/index_wynn_div.shtml
[client 219.142.245.247] PHP Notice: Undefined variable: usr_flag in /var/www/html/xxxxx.xxxx.cn/new_xxxxx/inc/ifr_login_index_wynn.php on line 50, referer: http://www.xxxxx.xxxx.cn/new_xxxxx/index_wynn_div.shtml
[client 219.142.245.247] PHP Notice: Undefined variable: usr_flag in /var/www/html/xxxxx.xxxx.cn/new_xxxxx/inc/ifr_login_index_wynn.php on line 56, referer: http://www.xxxxx.xxxx.cn/new_xxxxx/index_wynn_div.shtml
[client 219.142.245.247] PHP Notice: Undefined variable: html in /var/www/html/xxxxx.xxxx.cn/new_xxxxx/inc/ifr_login_index_wynn.php on line 62, referer: http://www.xxxxx.xxxx.cn/new_xxxxx/index_wynn_div.shtml
[Tue Nov 25 22:33:03 2008] [error] [client 219.142.245.247] File does not exist: /var/www/html/xxxxx.xxxx.cn/favicon.ico
[Tue Nov 25 22:33:04 2008] [error] [client 219.142.245.247] File does not exist: /var/www/html/xxxxx.xxxx.cn/favicon.ico
[client 59.57.182.211] script '/var/www/html/xxxxx.xxxx.cn/new_xxxxx/admin_behind/insertreply.php' not found or unable to stat
[Tue Nov 25 22:35:07 2008] [error] [client 123.204.56.154] File does not exist: /var/www/html/xxxxx.xxxx.cn/new_xxxxx/favicon.ico
[Tue Nov 25 22:35:08 2008] [error] [client 123.204.56.154] File does not exist: /var/www/html/xxxxx.xxxx.cn/new_xxxxx/favicon.gif
[client 58.246.231.106] script '/var/www/html/xxxxx.xxxx.cn/new_xxxxx/admin_behind/insertreply.php' not found or unable to stat
[Tue Nov 25 22:39:11 2008] [error] [client 211.94.76.4] File does not exist: /var/www/html/xxxxx.xxxx.cn/favicon.ico
[Tue Nov 25 22:39:14 2008] [error] [client 211.94.76.4] File does not exist: /var/www/html/xxxxx.xxxx.cn/favicon.ico
[client 59.38.217.207] script '/var/www/html/xxxxx.xxxx.cn/new_xxxxx/admin_behind/insertreply.php' not found or unable to stat
[client 60.213.84.224] script '/var/www/html/xxxxx.xxxx.cn/new_xxxxx/admin_behind/insertreply.php' not found or unable to stat
[client 58.251.231.228] PHP Notice: Undefined variable: usr_flag in /var/www/html/xxxxx.xxxx.cn/new_xxxxx/inc/ifr_login_index_wynn.php on line 45, referer: http://www.xxxxx.xxxx.cn/new_xxxxx/index_wynn_div.shtml
[client 58.251.231.228] PHP Notice: Undefined variable: usr_flag in /var/www/html/xxxxx.xxxx.cn/new_xxxxx/inc/ifr_login_index_wynn.php on line 50, referer: http://www.xxxxx.xxxx.cn/new_xxxxx/index_wynn_div.shtml
[client 58.251.231.228] PHP Notice: Undefined variable: usr_flag in /var/www/html/xxxxx.xxxx.cn/new_xxxxx/inc/ifr_login_index_wynn.php on line 56, referer: http://www.xxxxx.xxxx.cn/new_xxxxx/index_wynn_div.shtml
[client 58.251.231.228] PHP Notice: Undefined variable: html in /var/www/html/xxxxx.xxxx.cn/new_xxxxx/inc/ifr_login_index_wynn.php on line 62, referer: http://www.xxxxx.xxxx.cn/new_xxxxx/index_wynn_div.shtml
[Tue Nov 25 22:48:38 2008] [error] [client 58.251.231.228] File does not exist: /var/www/html/xxxxx.xxxx.cn/favicon.ico
[Tue Nov 25 22:48:49 2008] [error] [client 58.251.231.228] File does not exist: /var/www/html/xxxxx.xxxx.cn/favicon.ico
[Tue Nov 25 22:49:53 2008] [error] [client 220.181.61.211] File does not exist: /var/www/html/xxxxx.xxxx.cn/robots.txt
[Tue Nov 25 22:50:27 2008] [error] [client 220.181.61.211] File does not exist: /var/www/html/xxxxx.xxxx.cn/article
[client 116.24.52.14] script '/var/www/html/xxxxx.xxxx.cn/new_xxxxx/admin_behind/insertreply.php' not found or unable to stat
[Tue Nov 25 22:53:13 2008] [error] [client 72.30.79.30] File does not exist: /var/www/html/xxxxx.xxxx.cn/robots.txt
俺对 php 也不是熟悉,看日志,Google了 一下,觉得php的代码应该是有问题。
请楼上的看看