problems with chroot with mod_secrity on freebsd

Rajaie Issaid rajaie at palnet.com
Wed Jul 22 08:26:35 UTC 2009


Hi ,

I have FreeBSD 7.2-RELEASE installed on amd64 , I installed apache22 with
mod_security2 , when I try to activate the SecChroot , the below errors
appears , the documentation denotes that it should be straight forward
without any problem , but apparently I have problem with mod_rewrite .

 

I have created the folders of /var/run , /var/run/cache , /var/run/logs  ,
and even /var/log , and the domains are logging httpd-access & error inside
the chroot .

 

Any clues about this issue ?

 

Starting apache22.

httpd: Could not reliably determine the server's fully qualified domain
name, using server01.davincihosting.com for ServerName

[Wed Jul 22 01:44:46 2009] [notice] ModSecurity: chroot checkpoint #1
(pid=41214 ppid=41209)

[Wed Jul 22 01:44:46 2009] [notice] ModSecurity for Apache/2.5.9
(http://www.modsecurity.org/) configured.

[Wed Jul 22 01:44:46 2009] [notice] Original server signature: Apache/2.2.11
(FreeBSD) DAV/2

server01# [Wed Jul 22 01:44:46 2009] [notice] Digest: generating secret for
digest authentication ...

[Wed Jul 22 01:44:46 2009] [notice] Digest: done

[Wed Jul 22 01:44:47 2009] [notice] ModSecurity: chroot checkpoint #2
(pid=41215 ppid=1)

[Wed Jul 22 01:44:47 2009] [notice] ModSecurity: chroot successful,
path=/home/www

[Wed Jul 22 01:44:47 2009] [crit] (2)No such file or directory: mod_rewrite:
could not init rewrite log lock in child

[Wed Jul 22 01:44:47 2009] [crit] (2)No such file or directory: mod_rewrite:
could not init rewrite log lock in child

[Wed Jul 22 01:44:47 2009] [notice] Apache/2.2.11 (FreeBSD) DAV/2 PHP/5.2.10
with Suhosin-Patch  ----          WeB Hosting Server         ----
configured -- resuming normal operations

[Wed Jul 22 01:44:47 2009] [crit] (2)No such file or directory: mod_rewrite:
could not init rewrite log lock in child

[Wed Jul 22 01:44:47 2009] [crit] (2)No such file or directory: mod_rewrite:
could not init rewrite log lock in child

[Wed Jul 22 01:44:47 2009] [crit] (2)No such file or directory: mod_rewrite:
could not init rewrite log lock in child

 

 



More information about the freebsd-questions mailing list