Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
could not stop a mysql server
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
arma
Apprentice
Apprentice


Joined: 07 Nov 2004
Posts: 198
Location: Belgium

PostPosted: Tue Mar 01, 2005 4:26 pm    Post subject: could not stop a mysql server Reply with quote

Hi everybody.

I've got a little problem, we have a mysql server running on and for some odd reasons, my colleage killed the server (don't as my why... :wink: ).

We are currently trying to improve the speed of the mysql server by editing the my.cnf. So each, time we have to restart the mysqld ... and here is the problem, i cannot stop mysql by using '/etc/init.d/mysql stop' , only with the 'zap' argument.

I don't think it is very important since the server seems to work correctly... but i don't like when i don't understand something :D

If you have an idea, it will be great.

thanks
_________________
l'alcool est un ennemi...
et en quelque sorte,...
fuir l'ennemi, c'est lâche
Back to top
View user's profile Send private message
adaptr
Watchman
Watchman


Joined: 06 Oct 2002
Posts: 6730
Location: Rotterdam, Netherlands

PostPosted: Tue Mar 01, 2005 5:21 pm    Post subject: Reply with quote

If the initscript isn't working that means the script is still flagged as "running" by Gentoo.
Look in /var/cache/init.d/started - delete mysqld when it really isn't running, and the initscripts will work as planned again.

Alternatively (;-)) it may be that the run (pid) file is stale; try deleting that, too.

Don't delete files when the server is running though.

I'm also wondering why you would restart the entire mysql server when you only change the configuration; just run
Code:
kill -HUP `pidof mysqld`

_________________
>>> emerge (3 of 7) mcse/70-293 to /
Essential tools: gentoolkit eix profuse screen
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum