Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Website and Server Administration Forum


You are currently viewing our Website and Server Administration Forum as a guest. Please register to participate.
Login



Reply
mod_security failed to access DBM file /tmp/ip|global
Old 10-02-2010, 06:16 AM mod_security failed to access DBM file /tmp/ip|global
Junior Talker

Posts: 3
Name: Miro
Trades: 0
Hi,
I'm not sure how to fix the following error messages found in apache error_log
Code:
ModSecurity: Failed to access DBM file "/tmp/ip": Permission denied [hostname "e107.bg"] [uri "/cgi-sys/php5/e107_files/sleight_js.php"]
ModSecurity: Failed to access DBM file "/tmp/global": Permission denied [hostname "e107.bg"]  [uri  "/cgi-sys/php5/e107_files/sleight_js.php"]
I looked at /tmp folder, there were no ip and global files, but there are ip.dir and ip.pag (global.dir, global.pag) - all owned by root. I created ip and global files, did chmod 770 with no result. I did a wide google search on this issue, but found nothing which might help.

Server is running on php5 cgi, cgi suexec enabled (CentOS). Any help is highly appreciated.

Thanks.
secretr is offline
Reply With Quote
View Public Profile Visit secretr's homepage!
 
 
Register now for full access!
Old 10-02-2010, 07:19 AM Re: mod_security failed to access DBM file /tmp/ip|global
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,390
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
/tmp/ is a temporary folder so the process that created the tiles probably also deleted them.
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 10-02-2010, 02:45 PM Re: mod_security failed to access DBM file /tmp/ip|global
Junior Talker

Posts: 3
Name: Miro
Trades: 0
Thanks for the reply, but although it gives me idea about what happens, it's totally useless to me. Could someone point me a way of debugging if not to direct solution.
Additional info which might help - I recovered after terrible system ownership issue after:
Code:
chown -R user:user *
executed in serve root (/) folder as a root user. I was able to gather file system ownership via script on identical machine (same Hardware/OS/Configuration/Sofware). What I'm not sure is if the mod_security issue is related with the above or it's just a bug.
If you could point me to a way to diagnose the problem (even a link to a proper place to read) I'll be more than thankful.
secretr is offline
Reply With Quote
View Public Profile Visit secretr's homepage!
 
Old 10-02-2010, 05:16 PM Re: mod_security failed to access DBM file /tmp/ip|global
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,390
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
set the ownership of the /tmp/ folder and files to nobody
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Reply     « Reply to mod_security failed to access DBM file /tmp/ip|global
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.24992 seconds with 12 queries