LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 07-21-2007, 03:11 PM   #1
shobhit
Member
 
Registered: Sep 2003
Location: kolkata
Distribution: Fedora 7
Posts: 60

Rep: Reputation: 15
SELinux is not allowing mysql server to start


Hi,

I have Fedora 7 running on my home computer, with MySql database, which I use mainly for teaching myself.
My problem is that during boot the mysql server is not started.

My question is is there a way to allow mysql to start at boot time, and also have SELinux running on my system?

Strangely enough if I manually execute /etc/init.d/mysqld start
then the server comes up without complaining the least bit.

The /var/log/messages file says
Quote:
Jul 22 00:57:38 localhost setroubleshoot: SELinux is preventing /usr/libexec/mysqld (mysqld_t) "write" to mysql (user_home_dir_t). For complete SELinux messages. run sealert -l 24a98eb4-d078-44af-ab0c-4eb6e7fb50f3
Jul 22 00:57:38 localhost setroubleshoot: SELinux is preventing /usr/libexec/mysqld (mysqld_t) "write" to mysql (user_home_dir_t). For complete SELinux messages. run sealert -l 24a98eb4-d078-44af-ab0c-4eb6e7fb50f3
Jul 22 00:57:38 localhost setroubleshoot: SELinux is preventing the /usr/libexec/mysqld from using potentially mislabeled files (ibdata1). For complete SELinux messages. run sealert -l 575b55ad-3fe2-4748-9380-a5afbfee6377
 
Old 07-22-2007, 05:56 AM   #2
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 344Reputation: 344Reputation: 344Reputation: 344
Have you considered following the instructions in the message?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how do I start mysql server? barrythai SUSE / openSUSE 4 04-05-2006 05:46 PM
mysql server does not start up prasanta Linux - Newbie 2 01-05-2006 01:07 PM
Trying to start Mysql server number11 Linux - Newbie 3 06-06-2005 01:59 PM
MySQL server doesn't want to start AJ_Cantos Linux - Software 7 11-29-2004 04:24 PM
How to start mysql server krussell Linux - General 2 01-19-2004 10:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 01:56 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration