Can't start mysql on FC3
David Hoffman
dhoffman2004 at gmail.com
Wed Feb 2 23:23:30 UTC 2005
On Wed, 02 Feb 2005 14:01:40 +1000, Wes Barris <wes.barris at csiro.au> wrote:
> Dan Kovacik wrote:
>
> > Wes-
> >
> > This looks very close to the problem your having...
> >
> > http://forums.mysql.com/read.php?11,7164,7164
> >
> > Dan
>
> Bingo!
>
> It appears that SELinux is/was interfering with mysqld such that
> mysqld was unable to access the necessary files.
>
> Doing this allowed me to start mysql:
>
> setenforce 0
> etc/init.d/mysqls start
>
> Now, I just have to figure out what SELinux is and how to
> properly configure it to play nice with mysql.
>
Check into the fixfiles and restorecon commands. Sometimes when you
are running SELinux, there is a chance that installing/upgrading
packages may cause changes to the ACLs that will cause problems like
this. It's very possibile that you can turn SELinux back on again, and
then run:
restorecon -R /var/lib/mysql
And that may fix your ACLs
--
David
-----------------------------------------------------------------------
There are only 10 kinds of people in this world,
those who understand binary, and those who don't.
More information about the fedora-list
mailing list