MySql + FC4 + cpanel - very strange behaviour

ddaas

Member
Feb 28, 2006
8
0
151
Germany
Hi there,
I have a FC4 hosting server with cpanel and mysql (4.0.27-standard). Yesterday I made a critical cpanel update. Since then mysql doesn't work any more.
I doesn't start any more with /etc/rc.d/init.d/mysql start (run as root)
From logs:
Code:
060927 09:53:40  mysqld started
Fatal error: Can't change to run as user 'mysql'.  Please check that the user exists!
060927  9:53:40 Aborting

060927  9:53:40 /usr/sbin/mysqld: Shutdown Complete

060927 09:53:40  mysqld ended
Of course mysql user exist.

Then, I've tried to su myql and start mysqld_safe or mysqld manually. It starts, run for approximately 8-9 minutes and terminates. I've observed that this behaviour repeats every 8-9 minutes. This is very very strange. I don't have any cron job or something that runs every 8 minutes and stops mysql.

What do you say? Any idea? Could it be a mysql bug?

Thanks a lot for your help.
 

celliott

Well-Known Member
Jan 2, 2006
459
0
166
United Kingdom
First of all I would update your server to MySQL 4.1. It should be running that anyway if you have the Latest cPanel Release/Current/Edge tree installed. No reason why you should be running 4.0.27 now, upgrade is straightforward enough.