[PLUG] Having chroot Problems with MySQL and Locales
Tim Bruce - PLUG
timb at tbruce.com
Wed Jun 2 13:56:31 UTC 2010
Mark,
For mysql, did you look at /var/lib/mysql as well. All the data gets
written there.
There are also log files in /var/log/mysql* and/or /var/log/mysql/* that
you'll need to map into your chroot environment. Either one could be
stopping mysql from starting.
On Wed, June 2, 2010 06:46, Mark Phillips wrote:
> I have created a 32 bit chroot (Debian Lenny) on my 64 bit Debian Squeeze
> machine. I am having a problem installing mysql into this chroot, as well
> as
> a problem with locales.
>
> 1. I have run dpk-reconfigure locales, answered all the questions but I
> still get locale warnings:
>
> .....
>
> 2. MySQL fails the configuration, but there are no error messages to say
> what is failing:
> Starting MySQL database server: mysqld . . . . . . . . . . . . . . failed!
> invoke-rc.d: initscript mysql, action "start" failed.
> dpkg: error processing mysql-server-5.0 (--configure):
> subprocess post-installation script returned error exit status 1
> dpkg: dependency problems prevent configuration of mysql-server:
> mysql-server depends on mysql-server-5.0; however:
> Package mysql-server-5.0 is not configured yet.
> dpkg: error processing mysql-server (--configure):
> dependency problems - leaving unconfigured
> Errors were encountered while processing:
> mysql-server-5.0
> mysql-server
>
> I have mounted /proc and /dev/pts to the chroot. Am I missing anything
> else?
> I can't seem to find a good mysql chroot example on the web - many of them
> work by installing mysql and then moving it to the chroot (won't for for
> me
> as I have a 64 bit system) or compiling from source. i could do that, but
> I
> was hoping not to have to.
>
> Thanks!
>
> Mark
> _______________________________________________
> PLUG mailing list
> PLUG at lists.pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug
>
Tim
--
Timothy J. Bruce
visit my Website at: http://www.tbruce.com
Registered Linux User #325725
More information about the PLUG
mailing list