Message Board

Newbie/Basic Questions

Older Posts ]   [ Newer Posts ]
 Write to the log directory - Failed Test
Author: G.Donald   (1 Nov 13 11:05am)
I am probably being really stupid but my httpbl_diagnostics/ gives me the following:

Test Results
[ - ] Write to the log directory (/storage/log/apache2/httpbl/)
[ - ] Write to the repos directory (/etc/apache2/logs/)
[ + ] Resolve and reach the RBL domain (www.projecthoneypot.org)

Test Key
[ + ] Passed Test
[ - ] Failed Test
[ * ] Test Was Not Performed

This is my config:

<IfModule mod_httpbl.c>
# See http://www.projecthoneypot.org/mod_httpbl.pdf for configuration information

HTTPBLRBLEnabled On
HTTPBLLogDir /storage/log/apache2/httpbl/
# Key is retreived from projecthoneypot.org
HTTPBLAccessKey MY_SECRET_ACCESS_KEY

# allow all search engines
HTTPBLRBLReqHandler 255:0-255:0-255:0 allow
# deny any other listed IPs with any "score" that have been active in the last 30 days
HTTPBLRBLReqHandler 255:0-30:0-255:255 deny
</IfModule>

This is the result of "ps aux | grep apache":

root 8722 0.1 1.2 351624 20784 ? Ss 17:53 0:00 /usr/sbin/apache2 -k start
www-data 8742 0.0 0.7 351940 11916 ? S 17:53 0:00 /usr/sbin/apache2 -k start
www-data 8743 0.0 0.6 351932 11796 ? S 17:53 0:00 /usr/sbin/apache2 -k start
www-data 8744 0.0 0.7 351884 12636 ? S 17:53 0:00 /usr/sbin/apache2 -k start
www-data 8745 0.0 0.6 351756 11044 ? S 17:53 0:00 /usr/sbin/apache2 -k start
www-data 8747 0.0 0.7 351972 12044 ? S 17:53 0:00 /usr/sbin/apache2 -k start
www-data 8772 0.0 0.7 351956 11988 ? S 17:55 0:00 /usr/sbin/apache2 -k start
www-data 8773 0.0 0.7 351956 11980 ? S 17:55 0:00 /usr/sbin/apache2 -k start
www-data 8774 0.0 0.6 351764 11044 ? S 17:55 0:00 /usr/sbin/apache2 -k start
www-data 8775 0.0 0.6 351764 11044 ? S 17:55 0:00 /usr/sbin/apache2 -k start
www-data 8776 0.0 0.6 351764 11044 ? S 17:55 0:00 /usr/sbin/apache2 -k start

and here are the directory permissions of HTTPBLLogDir:

drw-rw---- 2 root adm 4096 Nov 1 17:36 httpbl

Apache already writes to "/storage/log/apache2" successfully but HTTPBL doesn't seem to be able to write to the HTTPBLLogDir even if I set permissions to 666.

Is this a simple permissions issue? If so I don't understand!

Thanks for any advice.

 
 Re: Write to the log directory - Failed Test
Author: G.Donald   (1 Nov 13 11:40am)
I got this working using:

HTTPBLLogDir /storage/apache-httpbl/httpbl-log
HTTPBLReposDir /storage/apache-httpbl/httpbl-repos

and creating directory permissions:

drwxr----- 4 www-data www-data 4096 Nov 1 18:38 apache-httpbl

the execute bit is important.

Not perfect but acceptable.



do not follow this link

Privacy Policy | Terms of Use | About Project Honey Pot | FAQ | Cloudflare Site Protection | Contact Us

Copyright © 2004–24, Unspam Technologies, Inc. All rights reserved.

contact | wiki | email