Problem starting VPS services (mysql) [message #13128] |
Mon, 21 May 2007 10:25 |
januszzz
Messages: 50 Registered: January 2007 Location: Opole, Poland
|
Member |
|
|
Hello,
I've got machine wiith 4 VPS, all runs in production almost perfectly.
One thing makes me mad: After issuing:
vzctl restart 106
some VE services are still in state off (I use gentoo both on HN and VEs) even though they should be on. Some others starts properly. Example of proper service is syslog-ng and services which fail to start is mysql.
When I use vzctl exec 106 /etc/init.d/mysql start to launch the service it launches perfectly. If I try to do it from inside of the VE issuing /etc/init.d/mysql start it also starts perfectly.
When I try to write a script where I do: stop vz, then backup, then start vz still mysql is off. And even when I put vzctl exec 106 /etc/init.d/mysql start in my script after /etc/init.d/vz (or vzctl start 106) start mysql doesnt start....
So how to start this service then in other way than by hand?
|
|
|
|
|