Not quite a solution, I think. What about if /var/www mounts in a different filesystem than /var?

Hardlinks from chrooted environments don't seem to be a wise solution anyway... Just IMHO.

Regards,

Dani

El 12/03/2010 12:16, Sunnz escribiC3:
2010/3/11 Jan<malepa...@googlemail.com>:
I didn't notice, that httpd was still running.

kill -TERM ID_of_httpd
httpd -u

solved the problem. Thank you! Everything works fine!



Now that it works we know that it was a problem with chroot. It might
be a good practice now to hardlink the mysql.sock in the chroot
directory so that you can run apache chrooted... I think you do
something like:

# mkdir -p /var/www/var/run/mysql
# ln -f /var/run/mysql/mysql.sock /var/www/var/run/mysql/mysql.sock

Then if you shut down httpd and start it again,  you shouldn't need
"-u" any more.

Reply via email to