Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Jul 2009 10:53:56 +0300
From:      "Rajaie Issaid" <rajaie@palnet.com>
To:        <freebsd-questions@freebsd.org>
Subject:   problems with  chroot with mod_secrity on freebsd 
Message-ID:  <017601ca0aa1$90a07e10$b1e17a30$@com>

next in thread | raw e-mail | index | archive | help
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

 

 




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?017601ca0aa1$90a07e10$b1e17a30$>