Linux - SoftwareThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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!
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,
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.
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?
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.