Sounds very interesting.
But using "find / -name mysql.sock" isn't successful, so creating a
hardlink doesn't work. The directory /var/run/mysql doesn't exist either.
Jan
Sunnz wrote:
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.