LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 08-28-2005, 01:22 PM   #1
Fr33B5D
Member
 
Registered: Aug 2005
Location: France
Posts: 43

Rep: Reputation: 15
Exclamation HELP : <<< mysqld dead but subsys locked >>>


Dear firends,
I just installed MySQL 4.1 but when I try to start mysqld I got three messages in different caes:

1 )
service mysqld start
Starting MySQL: [ OK ]
2 )
service mysqld status
mysqld dead but subsys locked
3 )
service mysqld stop
Shutting down MySQL server [FAILED]

Please note that when I check out my open ports it seems that Mysql is not running and the above mentioned OK message is not correct.
In addition there is not log in /var/lib and one other important point is that I found the following thread and I did its recommendations withouth any income.

https://bugzilla.redhat.com/bugzilla...g.cgi?id=14947

This condition is very confusing because it seems that Redhat Bugzilla is not so correct!
Thank you for any comment,
 
Old 08-28-2005, 10:05 PM   #2
guideweb
Member
 
Registered: Mar 2004
Location: /planet/earth
Posts: 110

Rep: Reputation: 15
Hi,

Two more treads that talk about your problem.


http://info.ccone.at/INFO/Mail-Archi.../msg01220.html
http://forums.fedoraforum.org/showth...531#post311531

Hope it can help,
 
Old 08-28-2005, 11:45 PM   #3
Fr33B5D
Member
 
Registered: Aug 2005
Location: France
Posts: 43

Original Poster
Rep: Reputation: 15
Dear friend,
I tested all of the suggested solutions in above links,but none of them solves the problem.It seems that there is no solution to this issue due to the lack of any reference even the Redhat bugzilla's solutiuon will not solve this problem.
Anyway,I have provided more information regarding this error message :

mysqld restart
Shutting down MySQL server [FAILED]
Starting MySQL: [ OK ]

LOG :
Aug 29 12:39:35 fed08 mysqld: Starting MySQL: succeeded
Aug 29 12:39:40 fed08 mysqld: mysqld shutdown failed

ps -aux | grep mysqld
Warning: bad syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html
root 5431 0.0 0.2 4584 592 pts/3 S 12:33 0:00 grep mysqld

service mysqld status
mysqld dead but subsys locked

As you can see the starting title is just a fake!
PLASE HELP ME!
 
Old 08-29-2005, 09:08 AM   #4
guideweb
Member
 
Registered: Mar 2004
Location: /planet/earth
Posts: 110

Rep: Reputation: 15
Did you tryed mysql safe ? ( safe_mysqld )
 
Old 08-29-2005, 09:24 AM   #5
Fr33B5D
Member
 
Registered: Aug 2005
Location: France
Posts: 43

Original Poster
Rep: Reputation: 15
Dear my friend,
As the another stage of this strange problem I found no file for safe_mysqld
#################################################################
[root@myfed src]# find / -name safe_mysqld
/var/tmp/MySQL-4.1.14-build/usr/bin/safe_mysqld

[root@myfed src]# /var/tmp/MySQL-4.1.14-build/usr/bin/safe_mysqld
The file /usr/sbin/mysqld doesn't exist or is not executable
Please do a cd to the mysql installation directory and restart
this script from there as follows:
./bin/mysqld_safe.
See http://dev.mysql.com/doc/mysql/en/mysqld_safe.html for more
information
#################################################################
Thank you for any comment,
 
Old 11-02-2006, 09:01 PM   #6
rching23
LQ Newbie
 
Registered: Nov 2006
Location: Philippines
Distribution: Centos, Fedora, RedHat
Posts: 1

Rep: Reputation: 0
Smile Having the same error

I did encounter this problem too... I fixed it by checking who owns the /var/run/mysqld... It should be own by mysql.

# chown -R mysql.mysql /var/run/mysqld

Hope this fixes your problems too...
 
Old 10-27-2009, 10:02 PM   #7
homonia
LQ Newbie
 
Registered: Oct 2009
Posts: 5

Rep: Reputation: 0
Good! It is done!

The method rching23 said takes effect on my computer! Thank you very much!
 
Old 10-27-2009, 11:19 PM   #8
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,356

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
Which distro are you running? MySQL 4.1 is old, you should have at least 5.0 by now. Are you running Fedora 8 ( 'fed08 ' )? If so, that distro version is defunct ie no longer updated. Current versions are 10 & 11, 12 due out next mth I believe.
 
Old 10-28-2009, 11:16 PM   #9
homonia
LQ Newbie
 
Registered: Oct 2009
Posts: 5

Rep: Reputation: 0
Wink

Hi! My platform is as follow:

mysql: mysql Ver 14.7 Distrib 4.1.14, for pc-linux-gnu (i686) using readline 4.3

distros: redhat enterprise linux(RHEL)

kernel: 2.6.9-11.ELsmp
 
Old 10-28-2009, 11:40 PM   #10
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,356

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
Just for completeness, lets see the RHEL version

cat /etc/redhat-release
 
Old 10-29-2009, 11:51 PM   #11
homonia
LQ Newbie
 
Registered: Oct 2009
Posts: 5

Rep: Reputation: 0
[root@node37 ~]# cat /etc/redhat-release
Red Hat Enterprise Linux AS release 4 (Nahant Update 1)
 
Old 10-30-2009, 12:47 AM   #12
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,356

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
That explains the old MySQL. You've got RHEL 4.1. You might want to put that in your profile for future qns.
Incidentally, the latest v4 is 4.8 & the latest RHEL (overall) is 5.4. Maybe time for an upgrade?
 
Old 11-01-2009, 08:18 PM   #13
homonia
LQ Newbie
 
Registered: Oct 2009
Posts: 5

Rep: Reputation: 0
Thank you for your advice!
 
Old 07-22-2010, 01:35 PM   #14
guruyaya
LQ Newbie
 
Registered: Feb 2007
Posts: 8

Rep: Reputation: 0
There's a little tip of my own. Whenever something strage happens, allways check if you have free disk space. If I read this advice while searching for an answer to the same problem five minutes ago, my website would be up 5 minutes earlier.
 
  


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
httpd dead but subsys locked paleogryph Linux - Software 3 05-18-2016 10:37 AM
radiusd dead but subsys locked velocitygirl Linux - General 5 10-27-2005 09:40 AM
crond dead but subsys locked dpirvulescu Linux - Software 9 04-23-2005 09:09 AM
saslauthd dead but subsys locked! shyee Linux - Software 0 01-07-2005 03:05 AM
Error: "mysqld dead but subsys locked" mikeshn Linux - Software 1 01-01-2004 05:18 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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