LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 05-06-2003, 10: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-06-2003, 11:08 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

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

Cheers,
Tink
 
Old 05-06-2003, 11:13 PM   #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-06-2003, 11:16 PM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
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-06-2003, 11:30 PM   #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-06-2003, 11:35 PM   #6
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
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



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

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

All times are GMT -5. The time now is 02:26 AM.

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