Re: Can't start mysql on FC3

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 02 Feb 2005 14:01:40 +1000, Wes Barris <wes.barris@xxxxxxxx> 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.


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux