OpenVZ Forum


Home » General » Support » Problem starting VPS services (mysql)
Problem starting VPS services (mysql) [message #13128] Mon, 21 May 2007 10:25 Go to previous message
januszzz is currently offline  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?
 
Read Message
Read Message
Read Message
Previous Topic: [SOLVED] Routing problem in VE
Next Topic: *SOLVED* ip_conntrack_ftp inside VE
Goto Forum:
  


Current Time: Sun May 12 10:11:23 GMT 2024

Total time taken to generate the page: 0.01416 seconds