ModSecurity无法访问DBM文件" / tmp // global"

时间:2012-07-14 13:29:42

标签: php mod-security

我最近设置了一台新服务器并开始看到以下错误日志条目。

  

[星期六7月14日05:05:00 2012] [错误] [客户端xxxxx] ModSecurity:失败   访问DBM文件“/ tmp // global”:权限被拒绝[hostname“xxxx”]   [uri“/games.php”] [unique_id“UAE2PH8AAAEAAAnZRZoAAAAO”]

  

[星期六7月14日04:22:05] [错误] [客户端xxxx] ModSecurity:失败   访问DBM文件“/ tmp // ip”:权限被拒绝[hostname“xxxxxx”]   [uri“/index.php”] [unique_id“UAEsLX8AAAEAAAg0GL8AAAAD”]

/tmp/tmp/global.dir/tmp/ip.dir全部归root所有。奇怪的是,这些网站每小时都会获得数千次点击,但并非每次访问(甚至是相同的URI)都会触发错误。

有没有人有任何想法?

2 个答案:

答案 0 :(得分:0)

答案 1 :(得分:0)

为了解决上述问题,我请某人“重做”我的/ tmp目录