Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 01-01-2004, 09:50 AM   #1
Registered: Feb 2002
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
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.


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
httpd dead but subsys locked paleogryph Linux - Software 3 05-18-2016 11:37 AM
HELP : <<< mysqld dead but subsys locked >>> Fr33B5D Linux - Software 13 07-22-2010 02:35 PM
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 > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:57 PM.

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