LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 01-01-2004, 09:50 AM   #1
mikeshn
Member
 
Registered: Feb 2002
Distribution: Fedora Core 2
Posts: 586

Rep: Reputation: 30
Error: "mysqld dead but subsys locked"


Trying to restart mysqld an got the error message. The interesting part is that killall -9 mysql doesn't kill mysql processes. So the problem still exist.

[root@localhost opt]# /etc/init.d/mysqld status
mysqld dead but subsys locked
 
Old 01-01-2004, 06:18 PM   #2
kbcnetau
Member
 
Registered: Dec 2003
Location: South Australia (ex-Devon, UK)
Distribution: SuSE, Slackware, Fedora, Debian, Knoppix
Posts: 141

Rep: Reputation: 15
First place to look when you get MySQL problems is in the MySQL error file. Have a look in your MySQL directory (could be /var/lib/mysql if you are using MySQL's own RPMs) for a file called foo.err where foo is the name of your host.

Look at the last few entries of this file (you might want to use tail for this) and you may find what's going on.

Have you tried trying to shut down MySQL (irrespective of whether or not you think it is running) before you try to restart?

mysqladmin -p shutdown

This is the only way I feel safe with.

Hope this helps.
 
  


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
HELP : <<< mysqld dead but subsys locked >>> Fr33B5D Linux - Software 13 07-22-2010 02:35 PM
httpd dead but subsys locked paleogryph Linux - Software 2 11-12-2009 12:09 AM
radiusd dead but subsys locked velocitygirl Linux - General 5 10-27-2005 10:40 AM
saslauthd dead but subsys locked! shyee Linux - Software 0 01-07-2005 04:05 AM
anacron dead but subsys locked adenardo Linux - General 11 06-13-2003 02:37 AM


All times are GMT -5. The time now is 11:02 AM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration