View previous topic :: View next topic |
Author |
Message |
arma Apprentice
Joined: 07 Nov 2004 Posts: 198 Location: Belgium
|
Posted: Tue Mar 01, 2005 4:26 pm Post subject: could not stop a mysql server |
|
|
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... ).
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
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 |
|
|
adaptr Watchman
Joined: 06 Oct 2002 Posts: 6730 Location: Rotterdam, Netherlands
|
Posted: Tue Mar 01, 2005 5:21 pm Post subject: |
|
|
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 |
|
|
|
|
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
|
|