LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 05-06-2003, 11:53 PM   #1
Zac2003
Member
 
Registered: Feb 2003
Posts: 35

Rep: Reputation: 15
mysql wont stop


I keep killing mysql and it keeps restarting

any ideas?

Code:
bash-2.05a# ps aux | grep mysql
mysql     2605  0.0  0.0 11984 1796 pts/0    S    19:32   0:00 /usr/local/mysql/
mysql     2607  0.0  0.0 11984 1796 pts/0    S    19:32   0:00 /usr/local/mysql/
mysql     2608  0.0  0.0 11984 1796 pts/0    S    19:32   0:00 /usr/local/mysql/
root      2613  0.0  0.0  1760  588 pts/0    S    19:34   0:00 grep mysql
bash-2.05a#

bash-2.05a# killall -9 mysql
mysql: no process killed
bash-2.05a#
bash-2.05a# killall -9 mysqld
./safe_mysqld: line 280:  2605 Killed                  $NOHUP_NICENESS $ledir/$MYSQLD $defaults --basedir=$MY_BASEDIR_VERSION --datadir=$DATADIR $USER_OPTION --pid-file=$pid_file --skip-locking >>$err_log 2>&1
bash-2.05a#
Number of processes running now: 0
030505 19:35:14  mysqld restarted

bash-2.05a#
 
Old 05-07-2003, 12:08 AM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Which distro, by which means is it being started?

Cheers,
Tink
 
Old 05-07-2003, 12:13 AM   #3
Zac2003
Member
 
Registered: Feb 2003
Posts: 35

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by Tinkster
Which distro, by which means is it being started?

Cheers,
Tink
its a server in cali its on redhat, and its startingby

cd /usr/local/mysql/bin

./safe_mysqld &
 
Old 05-07-2003, 12:16 AM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
You're saying that you always start the
service manually after a reboot? Or does
it by any chance get started (automagically
restarted?) by xinetd?

Cheers,
Tink
 
Old 05-07-2003, 12:30 AM   #5
Zac2003
Member
 
Registered: Feb 2003
Posts: 35

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by Tinkster
You're saying that you always start the
service manually after a reboot? Or does
it by any chance get started (automagically
restarted?) by xinetd?

Cheers,
Tink
No i start it after it reboots

i just installed it earlier today
 
Old 05-07-2003, 12:35 AM   #6
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
I see ... well, in this case:
look at the entire output from ps -Af
beginning at the end, and look for
a process that is started from your
mysql directory, other than the mysql
and mysqld :)

CHeers,
Tink

P.S.: I don't use MySQL (PostgreSQL user here ;})
so I can't check it for you...
 
  


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
Fedora install wont stop rebooting kd7skx Fedora - Installation 4 11-03-2005 03:13 PM
printer wont stop printing! pekuekfir Linux - Newbie 5 04-10-2005 02:55 PM
Computer wont stop freezing 1702fp Debian 2 03-22-2005 12:42 AM
Are there suppose to be MySQL processes that don't stop? linuxboy69 Linux - Software 0 09-10-2004 05:12 PM
mysql just wont work nocturnal Linux - Software 13 07-10-2003 09:02 AM


All times are GMT -5. The time now is 09:02 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration