HyperVM Run Error on CentOS 5
Hey all,
I get the following error when trying to reboot HyperVM
root@* [~]# service hypervm restart ; /etc/init.d/vz restart
/usr/local/lxlabs/hypervm/httpdocs
Stopping hypervm: Waiting for the process to die.....
Stopped hypervm
Starting hypervm: /etc/init.d/hypervm: line 65: /etc/init.d/mysqld: No such file or directory
/etc/init.d/hypervm: line 66: /etc/init.d/mysqld: No such file or directory
Could not connect to Mysql server... <br> 2008-06-15 21:05:34: (network.c.358) SSL: error:02001002:system library:fopen:No such file or directory /usr/local/lxlabs/hypervm/etc/program.ca
Started hypervm
Bringing down interface venet0: [ OK ]
Stopping OpenVZ: [ OK ]
Starting OpenVZ: [ OK ]
Bringing up interface venet0: [ OK ]
Configuring interface venet0: [ OK ]
I know it's something to do with missing files but I'm not 100% sure, could anyone give me a solution? It would be highly appreciated!
Regards,
Andrew
EDIT:
I have now fixed half of it by renaming mysqld in the /etc/init.d/hypervm file to mysql it now displays:
service hypervm restart ; /etc/init.d/vz restart
/usr/local/lxlabs/hypervm/httpdocs
Stopping hypervm: Waiting for the process to die.....
Stopped hypervm
Starting hypervm: MySQL running (4980) [ OK ]
Could not connect to Mysql server... <br> 2008-06-15 22:19:39: (network.c.358) S SL: error:02001002:system library:fopen:No such file or directory /usr/local/lxl abs/hypervm/etc/program.ca
Started hypervm
Bringing down interface venet0: [ OK ]
Stopping OpenVZ: [ OK ]
Starting OpenVZ: [ OK ]
Bringing up interface venet0: [ OK ]
Configuring interface venet0: [ OK ]
So pretty much program.ca is missing.
Regards,
Andrew
Last edited by sseeker; 06-15-2008 at 07:32 AM.
|