LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Red Hat (https://www.linuxquestions.org/questions/red-hat-31/)
-   -   strange MYSQLD service!!! (https://www.linuxquestions.org/questions/red-hat-31/strange-mysqld-service-785560/)

ashok.g 01-29-2010 04:33 AM

strange MYSQLD service!!!
 
Guys,
look at the following outputs I got.
Code:

[root@station130 ~]# service mysqld status
mysqld (pid 2867) is running...
[root@station130 ~]# ps -e | grep mysqld
 2761 ?        00:00:00 mysqld_safe
 2867 ?        00:00:00 mysqld
[root@station130 ~]# chkconfig --list | grep mysqld
mysqld          0:off  1:off  2:off  3:off  4:off  5:off  6:off
[root@station130 ~]#

Also,
when I used to start or stop this service, the following is the output
Code:

[root@station130 ~]# service mysqld start
sTimeout error occurred trying to start MySQL Daemon.
Starting MySQL:                                            [FAILED]
[root@station130 ~]# service mysqld stop
Stopping MySQL:                                            [FAILED]

What strange outputs. Aren't they?

SethsdadtheLinuxer 01-29-2010 10:16 AM

screenshot 1 - you are running the "safe start" of mysql and it "shows" as a service, although you haven't set it up.

screenshot 2 - you're trying to stop a service that isn't actually running.

ashok.g 01-29-2010 11:40 PM

Quote:

Originally Posted by SethsdadtheLinuxer (Post 3845033)
screenshot 1 - you are running the "safe start" of mysql and it "shows" as a service, although you haven't set it up.

What's the difference between the safe start and the normal start???

DrLove73 01-30-2010 11:27 AM

Safe Start: http://dev.mysql.com/doc/refman/5.0/en/mysqld-safe.html

Google is really wonderful thing. I wish more people would use it. Ah well...


All times are GMT -5. The time now is 06:14 PM.