Hello,
I'm running debian stable and using the latest mod_security.
My chroot is in /sd/webchroot/
I can set up the chroot fine, and apache works perfectally. But the
morning after I set it up apache didn't run:
[Sat Feb 5 07:25:02 2005] [notice] SIGUSR1 received. Doing graceful restart fopen: No such file or directory apache: could not open document config file /etc/apache/httpd.conf
So I copied my /etc/apache directory in my chroot... and started it
again. However this morning it had the following in my logs:
[Sun Feb 6 07:25:04 2005] [notice] SIGUSR1 received. Doing graceful restart Syntax error on line 204 of /etc/apache/httpd.conf: Cannot load /usr/lib/apache/1.3/mod_security.so into server: /usr/lib/apache/1.3/mod_security.so: cannot open shared object file: No such file or directory
So it seems that it tries to restart but looks in the chroot for the
correct files.
Any ideas?
Thanks
Rudy
|