On Fri, 2006-14-04 at 09:39 +0200, Sonixxfx wrote: > I do not know what is causing this, but I do know that the program > makejail does the chrooting automatically for you. Maybe you would > like to have a look at it.
I tried makejail, however I get the same error: # /etc/init.d/apache2 start Starting web server: Apache2/usr/sbin/chroot: cannot run command `/usr/sbin/apache2ctl': No such file or directory Here is the config file I used: chroot="/var/chroot/apache" testCommandsInsideJail=["/usr/sbin/apache2ctl start"] processNames=["apache2"] # Eventually append here the commands which access some services # such as cgi or php scripts, database access, ... #testCommandsOutsideJail=["wget -r --spider http://localhost/", # "lynx --source https://localhost/"] preserve=["/var/www", "/var/log/apache", "/dev/log"] users=["www-data"] groups=["www-data"] Keep in mind I have apache2. So, any suggestions? Thanks, -Gezim -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]