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.
Vesta failing to restart
Vesta failing to restart
How can I fix this?vesta.service - SYSV: Run vesta web server
Loaded: loaded (/etc/rc.d/init.d/vesta; bad; vendor preset: disabled)
Active: failed (Result: exit-code) since Tue 2018-02-20 15:22:54 EST; 13min ago
Docs: man:systemd-sysv-generator(8)
Process: 3719 ExecStart=/etc/rc.d/init.d/vesta start (code=exited, status=1/FAILURE)
Feb 20 15:22:54 localhost.localdomain systemd[1]: Starting SYSV: Run vesta web server...
Feb 20 15:22:54 localhost.localdomain vesta[3719]: Starting vesta-nginx: nginx: [alert] could not open error log file: open() "/usr/local/vesta/nginx/logs/e...e system)
Feb 20 15:22:54 localhost.localdomain vesta[3719]: 2018/02/20 15:22:54 [emerg] 3725#0: open() "/usr/local/vesta/log/nginx-error.log" failed (30: Read-only file system)
Feb 20 15:22:54 localhost.localdomain vesta[3719]: [FAILED]
Feb 20 15:22:54 localhost.localdomain systemd[1]: vesta.service: control process exited, code=exited status=1
Feb 20 15:22:54 localhost.localdomain systemd[1]: Failed to start SYSV: Run vesta web server.
Feb 20 15:22:54 localhost.localdomain systemd[1]: Unit vesta.service entered failed state.
Feb 20 15:22:54 localhost.localdomain systemd[1]: vesta.service failed.
Hint: Some lines were ellipsized, use -l to show in full.
● vesta.service - SYSV: Run vesta web server
Loaded: loaded (/etc/rc.d/init.d/vesta; bad; vendor preset: disabled)
Active: failed (Result: exit-code) since Tue 2018-02-20 15:22:54 EST; 13min ago
Docs: man:systemd-sysv-generator(8)
Process: 3719 ExecStart=/etc/rc.d/init.d/vesta start (code=exited, status=1/FAILURE)
Feb 20 15:22:54 localhost.localdomain systemd[1]: Starting SYSV: Run vesta web server...
Feb 20 15:22:54 localhost.localdomain vesta[3719]: Starting vesta-nginx: nginx: [alert] could not open error log file: open() "/usr/local/vesta/nginx/logs/e...e system)
Feb 20 15:22:54 localhost.localdomain vesta[3719]: 2018/02/20 15:22:54 [emerg] 3725#0: open() "/usr/local/vesta/log/nginx-error.log" failed (30: Read-only file system)
Feb 20 15:22:54 localhost.localdomain vesta[3719]: [FAILED]
Feb 20 15:22:54 localhost.localdomain systemd[1]: vesta.service: control process exited, code=exited status=1
Feb 20 15:22:54 localhost.localdomain systemd[1]: Failed to start SYSV: Run vesta web server.
Feb 20 15:22:54 localhost.localdomain systemd[1]: Unit vesta.service entered failed state.
Feb 20 15:22:54 localhost.localdomain systemd[1]: vesta.service failed.
Hint: Some lines were ellipsized, use -l to show in full.
Re: Vesta failing to restart
Hi,
i think thats problem with HDD on you server. Try to check your hard drive disk
Its not Vesta problem
i think thats problem with HDD on you server. Try to check your hard drive disk
Its not Vesta problem
Re: Vesta failing to restart
Check your partitions maybe some are monted as read only
Re: Vesta failing to restart
Check your partitions maybe some are mounted as read only
Re: Vesta failing to restart
If so Vesta wouldnt work yesterday but it did!
Re: Vesta failing to restart
well, did you checked the partitions? vesta cant not open log file, based on your informations:
itdoesnt matter if you can download something over ssh, download is not write something to the disk.
So please accept the help from skamasle and check your partitions or reboot the server.
Code: Select all
...
"/usr/local/vesta/log/nginx-error.log" failed (30: Read-only file system)
Feb 20 15:22:54 localhost.localdomain vesta[3719]: [FAILED]
...
So please accept the help from skamasle and check your partitions or reboot the server.
Re: Vesta failing to restart
I accepted his help and checked yesterday and it can be written
Re: Vesta failing to restart
so did you try to start the service? does it work now? more logs?
Re: Vesta failing to restart
At least I am not the only one who has problems with it. I tried for 5 days to test Vesta CP on a vmware. I think I installed it more than 10 times with different configurations generated from it's web page, but after each server restart I get the same message: nginx can't read var/log/nginx.log files. I even tried to delete/edit them manually using mc, but I get the " read only " message. I can neither change files attributes. All this while being logged as root, using Centos 7. I suppose this happened after installing file system quota directly from vesta panel.