服务器 问题 .. apache error_log file do not exists

phpboy 2009-05-17 06:57:25
下面只是日志


我就想知道,怎么 会有这么多错误日志,这个网站基本没人访问的,怎么会有那么多 IP 而且访问的 都是不存在的的文件呢??

是不是被攻击了?

有没有办法 把 这样的 访问 重定向 到 页面上? 有的是 referer 又是什么意思?



[Sun May 17 18:04:31 2009] [error] [client 222.136.188.198] File does not exist: /usr/local/apache/www/law/favicon.ico
[Sun May 17 18:04:51 2009] [error] [client 124.89.2.17] File does not exist: /usr/local/apache/www/law/images/index.swf, referer: http://www.xilvshi.com/
[Sun May 17 18:05:00 2009] [error] [client 114.139.121.232] File does not exist: /usr/local/apache/www/law/images/index.swf, referer: http://www.xilvshi.com/
[Sun May 17 18:05:01 2009] [error] [client 124.89.2.17] File does not exist: /usr/local/apache/www/law/images/line_bg.gif, referer: http://www.xilvshi.com/
[Sun May 17 18:05:02 2009] [error] [client 114.139.121.232] File does not exist: /usr/local/apache/www/law/images/line_bg.gif, referer: http://www.xilvshi.com/
[Sun May 17 18:05:03 2009] [error] [client 124.89.2.17] File does not exist: /usr/local/apache/www/law/favicon.ico
[Sun May 17 18:05:04 2009] [error] [client 114.139.121.232] File does not exist: /usr/local/apache/www/law/favicon.ico
[Sun May 17 18:05:16 2009] [error] [client 119.128.27.51] File does not exist: /usr/local/apache/www/law/images/index.swf, referer: http://www.xilvshi.com/
[Sun May 17 18:05:21 2009] [error] [client 119.128.27.51] File does not exist: /usr/local/apache/www/law/images/line_bg.gif, referer: http://www.xilvshi.com/
[Sun May 17 18:05:21 2009] [error] [client 119.128.27.51] File does not exist: /usr/local/apache/www/law/favicon.ico
[Sun May 17 18:06:32 2009] [error] [client 58.20.123.143] File does not exist: /usr/local/apache/www/law/images/index.swf, referer: http://www.xilvshi.com/
[Sun May 17 18:06:32 2009] [error] [client 58.20.123.143] File does not exist: /usr/local/apache/www/law/images/line_bg.gif, referer: http://www.xilvshi.com/
[Sun May 17 18:06:33 2009] [error] [client 58.20.123.143] File does not exist: /usr/local/apache/www/law/favicon.ico
[Sun May 17 18:06:42 2009] [error] [client 120.0.89.167] File does not exist: /usr/local/apache/www/law/images/index.swf, referer: http://www.xilvshi.com/
[Sun May 17 18:06:43 2009] [error] [client 120.0.89.167] File does not exist: /usr/local/apache/www/law/images/line_bg.gif, referer: http://www.xilvshi.com/
[Sun May 17 18:06:45 2009] [error] [client 120.0.89.167] File does not exist: /usr/local/apache/www/law/favicon.ico
[Sun May 17 18:07:42 2009] [error] [client 222.240.137.140] File does not exist: /usr/local/apache/www/law/images/index.swf, referer: http://www.xilvshi.com/
[Sun May 17 18:07:49 2009] [error] [client 222.240.137.140] File does not exist: /usr/local/apache/www/law/images/line_bg.gif, referer: http://www.xilvshi.com/
[Sun May 17 18:07:54 2009] [error] [client 222.240.137.140] File does not exist: /usr/local/apache/www/law/favicon.ico
[Sun May 17 18:09:43 2009] [error] [client 60.166.166.169] File does not exist: /usr/local/apache/www/upgold/sysImages, referer: http://www.upgold.net/upgold/indexadmin.php
[Sun May 17 18:09:47 2009] [error] [client 59.34.0.26] File does not exist: /usr/local/apache/www/law/images/index.swf, referer: http://www.xilvshi.com/
[Sun May 17 18:09:54 2009] [error] [client 60.166.166.169] File does not exist: /usr/local/apache/www/upgold/upgold/images, referer: http://www.upgold.net/upgold/order/game_order_list_new.php?p_id=2
[Sun May 17 18:09:58 2009] [error] [client 59.34.0.26] File does not exist: /usr/local/apache/www/law/images/line_bg.gif, referer: http://www.xilvshi.com/
[Sun May 17 18:10:00 2009] [error] [client 58.46.2.47] File does not exist: /usr/local/apache/www/law/images/index.swf, referer: http://www.xilvshi.com/
[Sun May 17 18:10:05 2009] [error] [client 58.46.2.47] File does not exist: /usr/local/apache/www/law/images/line_bg.gif, referer: http://www.xilvshi.com/
[Sun May 17 18:10:08 2009] [error] [client 59.34.0.26] File does not exist: /usr/local/apache/www/law/favicon.ico
[Sun May 17 18:10:09 2009] [error] [client 58.46.2.47] File does not exist: /usr/local/apache/www/law/favicon.ico
[Sun May 17 18:10:20 2009] [error] [client 221.201.220.181] File does not exist: /usr/local/apache/www/law/images/index.swf, referer: http://www.xilvshi.com/
[Sun May 17 18:10:22 2009] [error] [client 221.201.220.181] File does not exist: /usr/local/apache/www/law/images/line_bg.gif, referer: http://www.xilvshi.com/
[Sun May 17 18:10:31 2009] [error] [client 121.71.78.93] File does not exist: /usr/local/apache/www/law/images/index.swf, referer: http://www.xilvshi.com/
...全文
1399 23 打赏 收藏 转发到动态 举报
写回复
用AI写文章
23 条回复
切换为时间正序
请发表友善的回复…
发表回复
pptdg 2012-03-06
  • 打赏
  • 举报
回复
我 也遇到此类问题,怀疑是受到攻击了,因为来源有些是搜索引擎上的黄色图片,跪求解决办法。
ohmygirl 2011-05-30
  • 打赏
  • 举报
回复
楼上的达人们好,我最近也遇到这样的问题:用扫面工具扫描网站根目录,导致服务器直接shutdown,请问有达人知道怎么解决么?
apche里error_log大致是这样的:
[Fri May 08 17:18:22 2011] [error] [client 192.168.1.16] File does not exist: /usr/local/apache/www/upgold/bbclone
[Fri May 08 17:18:22 2011] [error] [client 192.168.1.16] File does not exist: /usr/local/apache/www/upgold/Company
是应该建立rewrite规则,把非法请求重定向到index.php么?还是其他的什么解决方案。
跪求....
跪求...
跪求...

pardonxf 2010-12-14
  • 打赏
  • 举报
回复
我也想知道
redhat2 2009-05-19
  • 打赏
  • 举报
回复
关注


.


人力资源
phpboy 2009-05-19
  • 打赏
  • 举报
回复
up

有没有高人提供点更好的方法 ..
海诗美妆 2009-05-18
  • 打赏
  • 举报
回复
[Quote=引用 7 楼 phpBoy005 的回复:]
引用 6 楼 froole 的回复:
引用 4 楼 phpBoy005 的回复:
引用 3 楼 froole 的回复:
找不到目标文件,也就是HTTP404错误。

你自己的设定问题,或者是其他网站引用了你过期的内容。


那网站都是新的,怎么可能被 人引用 呢?  汗 ...

[Fri May 08 17:18:21 2009] [error] [client 121.61.23.31] File does not exist: /usr/local/apache/www/upgold/wowoff2008adminlovetang
[Fri May 08 17:18:22 2009] [error] [cl…
[/Quote]

肯定会影响。40-50/分钟的访问量对正常访问或多或少是构成影响的。

最好在防火墙设定屏蔽121.61.23.31一段时间。
还有就是注意不要把敏感信息已文本形势直接放到可以通过HTTP访问到的地方。
phpboy 2009-05-18
  • 打赏
  • 举报
回复
[Quote=引用 6 楼 froole 的回复:]
引用 4 楼 phpBoy005 的回复:
引用 3 楼 froole 的回复:
找不到目标文件,也就是HTTP404错误。

你自己的设定问题,或者是其他网站引用了你过期的内容。


那网站都是新的,怎么可能被 人引用 呢?  汗 ...

[Fri May 08 17:18:21 2009] [error] [client 121.61.23.31] File does not exist: /usr/local/apache/www/upgold/wowoff2008adminlovetang
[Fri May 08 17:18:22 2009] [error] [client 121.61.23.31] File do…
[/Quote]

这样刷 不会影响 服务器么?

1 秒 钟 刷 40 到 50 下, 汗 ..
海诗美妆 2009-05-18
  • 打赏
  • 举报
回复
[Quote=引用 4 楼 phpBoy005 的回复:]
引用 3 楼 froole 的回复:
找不到目标文件,也就是HTTP404错误。

你自己的设定问题,或者是其他网站引用了你过期的内容。


那网站都是新的,怎么可能被 人引用 呢?  汗 ...

[Fri May 08 17:18:21 2009] [error] [client 121.61.23.31] File does not exist: /usr/local/apache/www/upgold/wowoff2008adminlovetang
[Fri May 08 17:18:22 2009] [error] [client 121.61.23.31] File does not exist: /usr/local/apac…
[/Quote]
这里的访问比较有特点。

我推断是来自于121.61.23.31,有一个工具在搜索你网站之内是否有管理员密码的文件。
redhat2 2009-05-18
  • 打赏
  • 举报
回复
关注


.


人力资源
phpboy 2009-05-18
  • 打赏
  • 举报
回复
[Quote=引用 3 楼 froole 的回复:]
找不到目标文件,也就是HTTP404错误。

你自己的设定问题,或者是其他网站引用了你过期的内容。
[/Quote]

那网站都是新的,怎么可能被 人引用 呢? 汗 ...

[Fri May 08 17:18:21 2009] [error] [client 121.61.23.31] File does not exist: /usr/local/apache/www/upgold/wowoff2008adminlovetang
[Fri May 08 17:18:22 2009] [error] [client 121.61.23.31] File does not exist: /usr/local/apache/www/upgold/goldgold123
[Fri May 08 17:18:22 2009] [error] [client 121.61.23.31] File does not exist: /usr/local/apache/www/upgold/sqlserver_base
[Fri May 08 17:18:22 2009] [error] [client 121.61.23.31] File does not exist: /usr/local/apache/www/upgold/webstats
[Fri May 08 17:18:22 2009] [error] [client 121.61.23.31] File does not exist: /usr/local/apache/www/upgold/data
[Fri May 08 17:18:22 2009] [error] [client 121.61.23.31] File does not exist: /usr/local/apache/www/upgold/cnguanli
[Fri May 08 17:18:22 2009] [error] [client 121.61.23.31] File does not exist: /usr/local/apache/www/upgold/ysdb
[Fri May 08 17:18:22 2009] [error] [client 121.61.23.31] File does not exist: /usr/local/apache/www/upgold/www
[Fri May 08 17:18:22 2009] [error] [client 121.61.23.31] File does not exist: /usr/local/apache/www/upgold/gamepricecollect
[Fri May 08 17:18:22 2009] [error] [client 121.61.23.31] File does not exist: /usr/local/apache/www/upgold/houtai
[Fri May 08 17:18:22 2009] [error] [client 121.61.23.31] File does not exist: /usr/local/apache/www/upgold/SITECEO
[Fri May 08 17:18:22 2009] [error] [client 121.61.23.31] File does not exist: /usr/local/apache/www/upgold/ClientManager
[Fri May 08 17:18:22 2009] [error] [client 121.61.23.31] File does not exist: /usr/local/apache/www/upgold/stats
[Fri May 08 17:18:22 2009] [error] [client 121.61.23.31] File does not exist: /usr/local/apache/www/upgold/myhome
[Fri May 08 17:18:22 2009] [error] [client 121.61.23.31] File does not exist: /usr/local/apache/www/upgold/wowlion
[Fri May 08 17:18:22 2009] [error] [client 121.61.23.31] File does not exist: /usr/local/apache/www/upgold/20082
[Fri May 08 17:18:22 2009] [error] [client 121.61.23.31] File does not exist: /usr/local/apache/www/upgold/myEdit
[Fri May 08 17:18:22 2009] [error] [client 121.61.23.31] File does not exist: /usr/local/apache/www/upgold/fyadmin
[Fri May 08 17:18:22 2009] [error] [client 121.61.23.31] File does not exist: /usr/local/apache/www/upgold/_adnop
[Fri May 08 17:18:22 2009] [error] [client 121.61.23.31] File does not exist: /usr/local/apache/www/upgold/iXs_editor
[Fri May 08 17:18:22 2009] [error] [client 121.61.23.31] File does not exist: /usr/local/apache/www/upgold/stats
[Fri May 08 17:18:22 2009] [error] [client 121.61.23.31] File does not exist: /usr/local/apache/www/upgold/stats
[Fri May 08 17:18:22 2009] [error] [client 121.61.23.31] File does not exist: /usr/local/apache/www/upgold/dede
[Fri May 08 17:18:22 2009] [error] [client 121.61.23.31] File does not exist: /usr/local/apache/www/upgold/lion
[Fri May 08 17:18:22 2009] [error] [client 121.61.23.31] File does not exist: /usr/local/apache/www/upgold/ledian-admin
[Fri May 08 17:18:22 2009] [error] [client 121.61.23.31] File does not exist: /usr/local/apache/www/upgold/Administer
[Fri May 08 17:18:22 2009] [error] [client 121.61.23.31] File does not exist: /usr/local/apache/www/upgold/gtcmad93213
[Fri May 08 17:18:22 2009] [error] [client 121.61.23.31] File does not exist: /usr/local/apache/www/upgold/leveller
[Fri May 08 17:18:22 2009] [error] [client 121.61.23.31] File does not exist: /usr/local/apache/www/upgold/ManageAdmin
[Fri May 08 17:18:22 2009] [error] [client 121.61.23.31] File does not exist: /usr/local/apache/www/upgold/login_system
[Fri May 08 17:18:22 2009] [error] [client 121.61.23.31] File does not exist: /usr/local/apache/www/upgold/manage_console
[Fri May 08 17:18:22 2009] [error] [client 121.61.23.31] File does not exist: /usr/local/apache/www/upgold/stats
[Fri May 08 17:18:22 2009] [error] [client 121.61.23.31] File does not exist: /usr/local/apache/www/upgold/manage
[Fri May 08 17:18:22 2009] [error] [client 121.61.23.31] File does not exist: /usr/local/apache/www/upgold/adminx
[Fri May 08 17:18:22 2009] [error] [client 121.61.23.31] File does not exist: /usr/local/apache/www/upgold/powerlevelingreport
[Fri May 08 17:18:22 2009] [error] [client 121.61.23.31] File does not exist: /usr/local/apache/www/upgold/bbclone
[Fri May 08 17:18:22 2009] [error] [client 121.61.23.31] File does not exist: /usr/local/apache/www/upgold/Company
[Fri May 08 17:18:22 2009] [error] [client 121.61.23.31] File does not exist: /usr/local/apache/www/upgold/dlg
[Fri May 08 17:18:22 2009] [error] [client 121.61.23.31] File does not exist: /usr/local/apache/www/upgold/editnews
[Fri May 08 17:18:22 2009] [error] [client 121.61.23.31] File does not exist: /usr/local/apache/www/upgold/sys_admin
[Fri May 08 17:18:22 2009] [error] [client 121.61.23.31] File does not exist: /usr/local/apache/www/upgold/date2007
[Fri May 08 17:18:23 2009] [error] [client 121.61.23.31] File does not exist: /usr/local/apache/www/upgold/trooptool_v312en


那这些呢,我们网站从没有过这些文件夹 ..

日志 有 N多这些东西
海诗美妆 2009-05-18
  • 打赏
  • 举报
回复
找不到目标文件,也就是HTTP404错误。

你自己的设定问题,或者是其他网站引用了你过期的内容。
phpboy 2009-05-18
  • 打赏
  • 举报
回复
那是服务器目录,但文件 根本不存在的!

能不能 用 重写 把那个 空的访问 重定向到 /law/index.php
海诗美妆 2009-05-18
  • 打赏
  • 举报
回复
[Quote=引用 11 楼 phpBoy005 的回复:]
引用 10 楼 froole 的回复:
引用 9 楼 phpBoy005 的回复:
引用 8 楼 froole 的回复:
肯定会影响。40-50/分钟的访问量对正常访问或多或少是构成影响的。

最好在防火墙设定屏蔽121.61.23.31一段时间。
还有就是注意不要把敏感信息已文本形势直接放到可以通过HTTP访问到的地方。


防火墙 如何设置?


自己查查手册之类的吧。

如果公司连防火墙都没有,那就直接从Linux或者Apache设定。


楼上说的具体点 ..
[/Quote]

如果能控制网关,就在防火墙设定拦阻IP。
如果不行,可以设定iptable,拦阻IP。

如果都不方便弄,可以设定apache的deny属性,拦截IP地址。
具体方法可以参考Apache手册。

《[Apache 2.2 中文手册]PDF版》
程序猿之殇 2009-05-18
  • 打赏
  • 举报
回复
[Quote=引用 15 楼 phpBoy005 的回复:]
引用 13 楼 jakey9826 的回复:
/usr/local/apache/www/law/favicon.ico
这个是在地址栏里URL前面显示的小图标,如果你没有指定,每访问一次就会增加一条日志.

其它的,有可能是你自己程序引用的.当然也不排除别人攻击你.不过可能性很小.


网站里都不存在哪些东西,我认为 那是 phpmyadmin 的图标 ,是不是有人在 搜索,看网站里有没装 phpmyadmin 。。
[/Quote]
/usr/local/apache/www/law/是documentroot或者是虚拟主机的根目录吧,
你在下面加个小图标就能看到效果了.
这个是很常见的.
或者google一下favicon.ico
phpboy 2009-05-18
  • 打赏
  • 举报
回复
[Quote=引用 13 楼 jakey9826 的回复:]
/usr/local/apache/www/law/favicon.ico
这个是在地址栏里URL前面显示的小图标,如果你没有指定,每访问一次就会增加一条日志.

其它的,有可能是你自己程序引用的.当然也不排除别人攻击你.不过可能性很小.
[/Quote]

网站里都不存在哪些东西,我认为 那是 phpmyadmin 的图标 ,是不是有人在 搜索,看网站里有没装 phpmyadmin 。。

程序猿之殇 2009-05-18
  • 打赏
  • 举报
回复
湖北省咸宁市 电信,IP归属
程序猿之殇 2009-05-18
  • 打赏
  • 举报
回复
/usr/local/apache/www/law/favicon.ico
这个是在地址栏里URL前面显示的小图标,如果你没有指定,每访问一次就会增加一条日志.

其它的,有可能是你自己程序引用的.当然也不排除别人攻击你.不过可能性很小.
zhenglm 2009-05-18
  • 打赏
  • 举报
回复
move_uploaded_file($filename,$path),貌似是这个东东?不过光用这个文件名字貌似传的不对。。。
phpboy 2009-05-18
  • 打赏
  • 举报
回复
[Quote=引用 10 楼 froole 的回复:]
引用 9 楼 phpBoy005 的回复:
引用 8 楼 froole 的回复:
肯定会影响。40-50/分钟的访问量对正常访问或多或少是构成影响的。

最好在防火墙设定屏蔽121.61.23.31一段时间。
还有就是注意不要把敏感信息已文本形势直接放到可以通过HTTP访问到的地方。


防火墙 如何设置?


自己查查手册之类的吧。

如果公司连防火墙都没有,那就直接从Linux或者Apache设定。
[/Quote]

楼上说的具体点 ..
海诗美妆 2009-05-18
  • 打赏
  • 举报
回复
[Quote=引用 9 楼 phpBoy005 的回复:]
引用 8 楼 froole 的回复:
肯定会影响。40-50/分钟的访问量对正常访问或多或少是构成影响的。

最好在防火墙设定屏蔽121.61.23.31一段时间。
还有就是注意不要把敏感信息已文本形势直接放到可以通过HTTP访问到的地方。


防火墙 如何设置?
[/Quote]

自己查查手册之类的吧。

如果公司连防火墙都没有,那就直接从Linux或者Apache设定。
加载更多回复(3)

21,887

社区成员

发帖
与我相关
我的任务
社区描述
从PHP安装配置,PHP入门,PHP基础到PHP应用
社区管理员
  • 基础编程社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧