LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 09-27-2006, 02:02 AM   #1
ddaas
Member
 
Registered: Oct 2004
Location: Romania
Distribution: Ubuntu server, FreeBsd
Posts: 474

Rep: Reputation: 30
MySql + FC4 + cpanel - very strange behaviour


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.
 
Old 09-27-2006, 03:22 AM   #2
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Ubuntu 12.04, Antix19.3
Posts: 3,794

Rep: Reputation: 282Reputation: 282Reputation: 282
I'm not familiar with cpanel, but I think it's quite funny that you suspect mysql after you've updated cpanel. I would expect the update to be buggy.

Any additional info in the log files when MySQL stops?
 
Old 09-27-2006, 04:04 AM   #3
ddaas
Member
 
Registered: Oct 2004
Location: Romania
Distribution: Ubuntu server, FreeBsd
Posts: 474

Original Poster
Rep: Reputation: 30
cpanel has also updated mysql. no other info in logs. it shuts down and reports that can't change to user mysql
 
Old 09-27-2006, 05:29 AM   #4
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Ubuntu 12.04, Antix19.3
Posts: 3,794

Rep: Reputation: 282Reputation: 282Reputation: 282
I don't like tools that not only update themselves but also update something else; personally I can not imagine that that has happened but OK.
I don't know what you exactly upgraded, but from the changelog on the cpanel site
Quote:
10.9.0 (build CURRENT) - 12 Tree
Ensure memory limits are unset when restarting chkservd
Added additional checks for execution of privileged binaries
And another point might be that selinux has a problem with your setup. Are you running it?

Last:
There is a cpanel forum on the cpanel website. Did you check there?
 
Old 11-01-2006, 03:02 PM   #5
bin_asc
Member
 
Registered: Aug 2006
Distribution: CentOS
Posts: 35

Rep: Reputation: Disabled
In SSH , do
Quote:
/scripts/upcp --force
Try it and tell me if it works.
 
  


Reply



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
malicious script in tmp - (cpanel/fc4) ddaas Linux - Security 6 09-25-2017 05:01 PM
strange behaviour marsques Slackware 11 02-15-2006 06:05 PM
Strange behaviour Anmol SUSE / openSUSE 2 10-27-2005 11:05 PM
cPanel & mySQL directories Alan Powell Linux - Newbie 1 04-26-2004 06:31 AM
Strange Behaviour mikeyt_3333 Linux - General 4 08-06-2001 03:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:25 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