We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on v1 candidate and expect to engage more with the community over the coming months. We are committed to open source, and we encourage contributors to help us build the future of Vesta.
VestaCP crashed cannot load VestaCP services
-
- Posts: 38
- Joined: Tue Aug 16, 2016 4:58 pm
VestaCP crashed cannot load VestaCP services
So i had an power supply fail in my ubuntu server.
OS is Ubuntu 16.04
After replacing the power supply no big deal!
But when time comes for Ubuntu to load all of its services, i notice VestaCP services show fail on the left side.
i have tried the commands
-service vesta stop
-service vesta start
and receive the following responses
Job for vesta.service failed because the control process exited with error code. See "systemctl status vesta.service" and "journalctl -xe" for details.
This is my output when i do systemctl status
This server was only for hosting sql files remotely.
My question in regards to this issue, can i uninstall vesta? then reinstall it with the SQL files still stored on the server and visible in phpmyadmin?
or will i loose the sql files when uninstalling vesta?
Thank you for your help!
OS is Ubuntu 16.04
After replacing the power supply no big deal!
But when time comes for Ubuntu to load all of its services, i notice VestaCP services show fail on the left side.
i have tried the commands
-service vesta stop
-service vesta start
and receive the following responses
Job for vesta.service failed because the control process exited with error code. See "systemctl status vesta.service" and "journalctl -xe" for details.
This is my output when i do systemctl status
Code: Select all
vesta.service - LSB: starts the vesta control panel
Loaded: loaded (/etc/init.d/vesta; bad; vendor preset: enabled)
Active: failed (Result: exit-code) since Sun 2020-04-12 00:41:35 CDT; 16min ago
Docs: man:systemd-sysv-generator(8)
Process: 3636 ExecStart=/etc/init.d/vesta start (code=exited, status=1/FAILURE)
Apr 12 00:41:35 NS01 systemd[1]: Starting LSB: starts the vesta control panel...
Apr 12 00:41:35 NS01 vesta[3636]: * Starting vesta-nginx vesta-nginx
Apr 12 00:41:35 NS01 vesta[3636]: nginx: [emerg] BIO_new_file("/usr/local/vesta/ssl/certificate.crt") failed (SSL: er
Apr 12 00:41:35 NS01 systemd[1]: vesta.service: Control process exited, code=exited status=1
Apr 12 00:41:35 NS01 systemd[1]: Failed to start LSB: starts the vesta control panel.
Apr 12 00:41:35 NS01 systemd[1]: vesta.service: Unit entered failed state.
Apr 12 00:41:35 NS01 systemd[1]: vesta.service: Failed with result 'exit-code'.
lines 1-13/13 (END)...skipping...
● vesta.service - LSB: starts the vesta control panel
Loaded: loaded (/etc/init.d/vesta; bad; vendor preset: enabled)
Active: failed (Result: exit-code) since Sun 2020-04-12 00:41:35 CDT; 16min ago
Docs: man:systemd-sysv-generator(8)
Process: 3636 ExecStart=/etc/init.d/vesta start (code=exited, status=1/FAILURE)
Apr 12 00:41:35 NS01 systemd[1]: Starting LSB: starts the vesta control panel...
Apr 12 00:41:35 NS01 vesta[3636]: * Starting vesta-nginx vesta-nginx
Apr 12 00:41:35 NS01 vesta[3636]: nginx: [emerg] BIO_new_file("/usr/local/vesta/ssl/certificate.crt") failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen('/usr/local/vesta/ssl/certificate.crt','r') error:2006
Apr 12 00:41:35 NS01 systemd[1]: vesta.service: Control process exited, code=exited status=1
Apr 12 00:41:35 NS01 systemd[1]: Failed to start LSB: starts the vesta control panel.
Apr 12 00:41:35 NS01 systemd[1]: vesta.service: Unit entered failed state.
Apr 12 00:41:35 NS01 systemd[1]: vesta.service: Failed with result 'exit-code'.
~
~
This server was only for hosting sql files remotely.
My question in regards to this issue, can i uninstall vesta? then reinstall it with the SQL files still stored on the server and visible in phpmyadmin?
or will i loose the sql files when uninstalling vesta?
Thank you for your help!
-
- Posts: 38
- Joined: Tue Aug 16, 2016 4:58 pm
Re: VestaCP crashed cannot load VestaCP services
Sorry for the quick reply on my behalf!
I have found the fix for me which i will be happy to share with everyone!
I decided if i could find a way to just export the sql files via phpmyadmin then i can clean the server and reinstall vestacp.
phpmyadmin was not enabled so to do this?
then
Login with credentials,
export each mysql file
reinstall new server with same ip address
reinstall vestacp
login to phpmyadmin
reimport back the mysql databases
hope this helps anyone in this similar situation.
I have found the fix for me which i will be happy to share with everyone!
I decided if i could find a way to just export the sql files via phpmyadmin then i can clean the server and reinstall vestacp.
phpmyadmin was not enabled so to do this?
Code: Select all
sudo service mysql start
Code: Select all
https://localipaddress/phpmyadmin
export each mysql file
reinstall new server with same ip address
reinstall vestacp
login to phpmyadmin
reimport back the mysql databases
hope this helps anyone in this similar situation.