Page 1 of 2

Vesta failing to restart

Posted: Tue Feb 20, 2018 8:37 pm
by desfire
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.
How can I fix this?

Re: Vesta failing to restart

Posted: Tue Feb 20, 2018 8:48 pm
by imperio
Hi,
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

Posted: Tue Feb 20, 2018 9:22 pm
by desfire
imperio wrote:
Tue Feb 20, 2018 8:48 pm
Hi,
i think thats problem with HDD on you server. Try to check your hard drive disk
Its not Vesta problem
Why would it be a HDD issue? I am able to download stuff from the ssh :/

Re: Vesta failing to restart

Posted: Tue Feb 20, 2018 9:29 pm
by skamasle
desfire wrote:
Tue Feb 20, 2018 9:22 pm
imperio wrote:
Tue Feb 20, 2018 8:48 pm
Hi,
i think thats problem with HDD on you server. Try to check your hard drive disk
Its not Vesta problem
Why would it be a HDD issue? I am able to download stuff from the ssh :/
Check your partitions maybe some are monted as read only

Re: Vesta failing to restart

Posted: Tue Feb 20, 2018 9:29 pm
by skamasle
desfire wrote:
Tue Feb 20, 2018 9:22 pm
imperio wrote:
Tue Feb 20, 2018 8:48 pm
Hi,
i think thats problem with HDD on you server. Try to check your hard drive disk
Its not Vesta problem
Why would it be a HDD issue? I am able to download stuff from the ssh :/
Check your partitions maybe some are mounted as read only

Re: Vesta failing to restart

Posted: Wed Feb 21, 2018 12:34 am
by desfire
If so Vesta wouldnt work yesterday but it did!

Re: Vesta failing to restart

Posted: Wed Feb 21, 2018 7:11 am
by ScIT
well, did you checked the partitions? vesta cant not open log file, based on your informations:

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]
...
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.

Re: Vesta failing to restart

Posted: Wed Feb 21, 2018 9:29 am
by desfire
I accepted his help and checked yesterday and it can be written

Re: Vesta failing to restart

Posted: Wed Feb 21, 2018 10:48 am
by ScIT
so did you try to start the service? does it work now? more logs?

Re: Vesta failing to restart

Posted: Sat Feb 24, 2018 10:32 pm
by puturos
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.