Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Mod_security

Status
Not open for further replies.

dbeez

Technical User
Aug 15, 2005
71
KR
Hi,

I'm getting this error when I try to run mod_security in chroot environment.

The first bit is from the error_log file

[Mon Oct 17 15:15:23 2005] [notice] mod_security: chroot checkpoint #1 (pid=11846 ppid=11844)
[Mon Oct 17 15:15:23 2005] [notice] mod_security: chroot checkpoint #2 (pid=11847 ppid=11846)
[Mon Oct 17 15:15:23 2005] [notice] mod_security: chroot successful, path=/chroot/usr/local/apache2/
[Mon Oct 17 15:15:23 2005] [error] (2)No such file or directory: could not create /usr/local/apache2/logs/httpd.pid
[Mon Oct 17 15:15:23 2005] [error] httpd: could not log pid to file /usr/local/apache2/logs/httpd.pid

the httpd.pid file is there but it can't see it

root@ubuntu:/usr/local/apache2/bin # stat /chroot/usr/local/apache2/logs/httpd.pid
File: `/chroot/usr/local/apache2/logs/httpd.pid'
Size: 0 Blocks: 0 IO Block: 4096 regular empty file
Device: 301h/769d Inode: 686793 Links: 1
Access: (0644/-rw-r--r--) Uid: ( 1002/ httpd) Gid: ( 1002/ httpd)
Access: 2005-10-17 15:11:47.212720704 +0900
Modify: 2005-10-17 15:11:47.212720704 +0900

Anyone have any ideas ??
 
Status
Not open for further replies.

Similar threads

Part and Inventory Search

Sponsor

Back
Top