Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Feb 2007 10:41:30 +0100
From:      "Vincent Bolinard" <vinzstyle@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Jailed mysqld doesn't work after a backup
Message-ID:  <bd4110c30702150141l65f129a1t8dceb6d65485581f@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hi,

Yesterday, I backed up my MySQL jail with "tar jcpf" (and used tar
jxpvf to extract).
Now, when I try to run it as I used to (jail -U mysql /jail/mysqld/
mysqld.domaine.com 192.168.1.6 /usr/local/libexec/mysqld &), it fails
giving me a "Permission Denied" error.

If I try to run it with "chroot -u mysql /jail/mysqld
/usr/local/libexec/mysqld &", it works !

I don't understand.

Does somebody have an idea ?

Thank you.

P.S.: I'm running FreeBSD 6.2-RELEASE and MySQL server 5.0.27.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bd4110c30702150141l65f129a1t8dceb6d65485581f>