|
From: ZyanKLee <zya...@zy...> - 2007-08-16 18:06:20
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Humm. You might try this: $ su - apache # touch /var/log/httpd/testfile Tom Chiverton schrieb: > ZyanKLee wrote: >> Tom Chiverton schrieb: >>> HTTPBLAccessKey somethingrandom >> this should NOT be something random, instead you need a >> Access-Key from "project honeypot" >> >> the dir-error: I think httpbl runs as apache-user. so make sure >> he (apache, apache2, www-data, httpd, whatever) is allowed to >> write there. > > That was my thought too, but: # apachectl configtest Syntax error > on line 5 of /etc/httpd/conf.d/httpbl.conf: Could not find a > directory with path "/var/log/httpd/". Please ensure this > directory exists and permissions allow the user running Apache to > view and write to this directory. # ps -efw|grep htt root 2615 > 1 0 Aug15 ? 00:00:00 /usr/sbin/httpd apache 3927 2615 > 0 18:15 ? 00:00:00 /usr/sbin/httpd apache 3928 2615 0 > 18:15 ? 00:00:00 /usr/sbin/httpd apache 3929 2615 0 > 18:15 ? 00:00:00 /usr/sbin/httpd root 4129 3984 0 > 18:20 pts/1 00:00:00 grep htt [root@bookcase httpd]# ls -lah > /var/log/httpd/|head total 28M drwxr-xr-x 2 apache root 4.0K Aug > 15 20:15 . drwxr-xr-x 12 root root 4.0K Aug 12 01:18 .. > -rw-r--r-- 1 nobody http 340K Aug 16 18:16 access_log -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7-ecc0.1.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGxJH/zm5dqFl4dvsRAjoaAKCZTXCEipjylCiGeF+iR2i5ZCMz0wCgnVYW y12YXcGJXPszmReZgs+XvsA= =Y5gT -----END PGP SIGNATURE----- |