免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2303 | 回复: 2
打印 上一主题 下一主题

[Mail] 最近http的错误日志狂增! [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2007-04-25 09:21 |只看该作者 |倒序浏览
最近半个月 /var/log/httpd/error_log 这个日志文件每天都会增大3GB左右,我用的是igenus_2.0.2_20040901_release.tgz + igenus_admin_0.1.tgz,下面的121.68.45.10只是其中一个IP,其他的还有66.249.66.46 (由于日志实在太大了,所以只能找出这几个来),其中绝大多数内容如下:

[client 66.249.66.46] File does not exist: /var/www/html/robots.txt
[client 66.249.66.46] PHP Notice:  Undefined index:  G_USERNAME in /var/www/html/include/login_inc.php on line 17
[client 66.249.66.46] PHP Notice:  Undefined index:  G_DOMAIN in /var/www/html/include/login_inc.php on line 18
[client 66.249.66.46] PHP Notice:  Undefined index:  G_HOME in /var/www/html/include/login_inc.php on line 19
[client 66.249.66.46] PHP Notice:  Undefined index:  G_TIME in /var/www/html/include/login_inc.php on line 20
[client 66.249.66.46] PHP Notice:  Undefined index:  G_QUOTA in /var/www/html/include/login_inc.php on line 21
[client 66.249.66.46] PHP Notice:  Undefined index:  G_NICKNAME in /var/www/html/include/login_inc.php on line 22
[client 66.249.66.46] PHP Notice:  Undefined index:  G_ID in /var/www/html/include/login_inc.php on line 23
[client 66.249.66.46] PHP Notice:  Undefined index:  G_LANG in /var/www/html/include/login_inc.php on line 24
[client 66.249.66.46] PHP Notice:  Use of undefined constant gb - assumed 'gb' in /var/www/html/config/config_inc.php on line 24
[client 66.249.66.46] PHP Notice:  Undefined variable:  SG_HOME in /var/www/html/config/config_inc.php on line 65
.
.
[client 121.68.45.10] PHP Notice:  Use of undefined constant quota - assumed 'quota' in /var/www/html/admin/includes/fun_inc.php on
line 28, referer: http://mail.abc.com/admin/useradd.php
[client 121.68.45.10] PHP Notice:  Use of undefined constant maxmsg - assumed 'maxmsg' in /var/www/html/admin/includes/fun_inc.php o
n line 29, referer: http://mail.abc.com/admin/useradd.php
[client 121.68.45.10] PHP Notice:  Use of undefined constant quota - assumed 'quota' in /var/www/html/admin/index.php on line 112, r
eferer: http://mail.abc.com/admin/useradd.php
[client 121.68.45.10] PHP Notice:  Use of undefined constant maxmsg - assumed 'maxmsg' in /var/www/html/admin/index.php on line 113,
referer: http://mail.abc.com/admin/useradd.php
[client 121.68.45.10] PHP Notice:  Use of undefined constant pw_dir - assumed 'pw_dir' in /var/www/html/admin/index.php on line 117,
referer: http://mail.abc.com/admin/useradd.php
[client 121.68.45.10] PHP Notice:  Use of undefined constant size - assumed 'size' in /var/www/html/admin/includes/fun_inc.php on li
ne 123, referer: http://mail.abc.com/admin/useradd.php
[client 121.68.45.10] PHP Notice:  Use of undefined constant size - assumed 'size' in /var/www/html/admin/includes/fun_inc.php on li
ne 123, referer: http://mail.abc.com/admin/useradd.php
[client 121.68.45.10] PHP Notice:  Use of undefined constant size - assumed 'size' in /var/www/html/admin/includes/fun_inc.php on li
ne 123, referer: http://mail.abc.com/admin/useradd.php

[ 本帖最后由 leo4364088 于 2007-4-25 12:27 编辑 ]

论坛徽章:
0
2 [报告]
发表于 2007-04-25 10:34 |只看该作者
修改一下php.ini配置文件,关了notice错误日志就行了

论坛徽章:
0
3 [报告]
发表于 2007-04-25 11:30 |只看该作者
原来是变量没有定义,害我白担心了一场。
谢谢snowtty

[ 本帖最后由 leo4364088 于 2007-4-25 11:56 编辑 ]
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP