10th October 2012, 04:04
Join Date: Aug 2012
Thanked 0 Times in 0 Posts
Thanks for the reply, and for your questions, yes, I think I did.
Originally Posted by falko
Your / directory is owned by the user apache and has 700 permissions which is wrong. For me it looks like this:
drwxr-xr-x 22 root root 4096 Oct 8 17:00 ..
Did you do a chmod and chown on the / directory?
Should I return it to root? If so, what would be the proper code to use?
Okay, so I used and now it displays this...
Is this okay now?
drwxrwxrwx. 8 root root 4096 Oct 10 11:22 .
drwxr-xr-x. 28 root root 4096 Oct 10 09:34 ..
I still cannot run MySQL...
MySQL Daemon failed to start.
Starting mysqld: [FAILED]
Okay, I think I have fixed it. MySQL will now start when I type
service mysqld start
I think I should post here the things I did, for future reference?
The first thing I did was reinstall both mysql and mysql-server through yum.
And then, after reinstalling was done, I typed these following codes...
I am not sure if those set of codes really fixed it, but those are the ones I used, and the MySQL Daemon error message is no longer appearing, and MySQL is starting with no problems.
chown -R mysql.mysql /var/lib/mysql
Last edited by destinedjagold; 10th October 2012 at 11:08.