Ubuntu Server mod_chroot Apache2 Problem
Posted
by Petey B
on Server Fault
See other posts from Server Fault
or by Petey B
Published on 2010-02-21T20:29:21Z
Indexed on
2010/04/30
15:58 UTC
Read the original article
Hit count: 446
Hello,
I am trying to make it so my apache web pages will be in a chroot jail. I have set up my chroot jail as according to https://wiki.ubuntu.com/ModChroot. However when i restart apache i get the following error logged:
[error] No such file or directory: could not create /var/chroot/apache/var/run/apache2.pid [error] apache2: could not log pid to file /var/chroot/apache/var/run/apache2.pid
/var/chroot/apache/var/run/apache2.pid is there with 777 permissions
If i dissable mod_chroot web pages are delivered correctly from the /var/chroot/apache/var/www directory.
© Server Fault or respective owner