OpenVZ Forum


Home » General » Support » Problem starting VPS services (mysql)
Re: Problem starting VPS services (mysql) [message #13130 is a reply to message #13128] Mon, 21 May 2007 10:53 Go to previous message
januszzz is currently offline  januszzz
Messages: 50
Registered: January 2007
Location: Opole, Poland
Member
Excuse me, I haven't included that:

error log remains empty, so I assume VPS script are not trying launch it - or rather fails to launch it.

Script that launches ok is local. So I put /etc/init.d/mysql start inside and - surprisingly - after VPS restart local is now off... so my VPS refuses to launch mysql automagicaly Smile

I can include (siplified) script:

/etc/init.d/vz stop
/etc/init.d/vz start
/usr/sbin/vzctl exec 106 /etc/init.d/mysql restart

Output:

/etc/init.d/mysql: line 326: /var/run/svc-started-mysqld: No such file or directory
* Stopping mysql ... [ ok ]
* Starting mysql ...
* Starting mysql (/etc/mysql/my.cnf)
* MySQL NOT started (0)
[ !! ]


Like I said before: launching the third line (/usr/sbin/vzctl exec 106 /etc/init.d/mysql restart) from shell starts mysql sucessfully Smile
 
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: Wed Aug 14 22:04:04 GMT 2024

Total time taken to generate the page: 0.02755 seconds