Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section Web Server
  • Search

Vesta CP can't start, nginx error Topic is solved

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
Post Reply
  • Print view
Advanced search
8 posts • Page 1 of 1
smatis
Posts: 5
Joined: Mon Oct 29, 2018 5:02 pm

Os: Debian 8x
Web: apache + nginx
Vesta CP can't start, nginx error
  • Quote

Post by smatis » Mon Oct 29, 2018 5:12 pm

Hello all,
(Debian)
I've got problem. One day, Vesta just stopped working. Just cant launch the panel. I tried to read forum a lot, googled a lot, finally i reinstalled nginx and then I reinstalled Vesta. Still the same problem.
So can anyone help me ?
root@smatis:~# service vesta start
Job for vesta.service failed because the control process exited with error code.
See "systemctl status vesta.service" and "journalctl -xe" for details.

Code: Select all

vesta.service - LSB: starts the vesta control panel
   Loaded: loaded (/etc/init.d/vesta; generated; vendor preset: enabled)
   Active: failed (Result: exit-code) since Mon 2018-10-29 18:54:58 EET; 11min ago
     Docs: man:systemd-sysv-generator(8)
  Process: 10769 ExecStart=/etc/init.d/vesta start (code=exited, status=1/FAILURE)

Spa 29 18:54:58 smatis.lt systemd[1]: Starting LSB: starts the vesta control panel...
Spa 29 18:54:58 smatis.lt vesta[10769]: Starting vesta-nginx: vesta-nginxnginx: [emerg] open() "/usr/local/vesta/nginx/conf/nginx.conf" failed (2: No such file or directory)
Spa 29 18:54:58 smatis.lt systemd[1]: vesta.service: Control process exited, code=exited status=1
Spa 29 18:54:58 smatis.lt systemd[1]: Failed to start LSB: starts the vesta control panel.
Spa 29 18:54:58 smatis.lt systemd[1]: vesta.service: Unit entered failed state.
Spa 29 18:54:58 smatis.lt systemd[1]: vesta.service: Failed with result 'exit-code'.

Code: Select all

pa 29 19:04:48 smatis.lt anacron[11344]: Anacron 2.3 started on 2018-10-29
Spa 29 19:04:48 smatis.lt anacron[11344]: Normal exit (0 jobs run)
Spa 29 19:04:48 smatis.lt systemd[1]: anacron.timer: Adding 1min 4.004577s random time.
Spa 29 19:05:01 smatis.lt CRON[11352]: pam_unix(cron:session): session opened for user admin by (uid=0)
Spa 29 19:05:01 smatis.lt CRON[11351]: pam_unix(cron:session): session opened for user root by (uid=0)
Spa 29 19:05:01 smatis.lt CRON[11353]: pam_unix(cron:session): session opened for user admin by (uid=0)
Spa 29 19:05:01 smatis.lt CRON[11355]: (admin) CMD (sudo /usr/local/vesta/bin/v-update-sys-queue backup)
Spa 29 19:05:01 smatis.lt CRON[11357]: (admin) CMD (sudo /usr/local/vesta/bin/v-update-sys-rrd)
Spa 29 19:05:01 smatis.lt sudo[11356]: pam_unix(sudo:session): session opened for user root by (uid=0)
Spa 29 19:05:01 smatis.lt CRON[11354]: (root) CMD (/usr/local/vesta/php/bin/php -d disable_functions="" /usr/local/vesta/soft
Spa 29 19:05:01 smatis.lt sudo[11359]: pam_unix(sudo:session): session opened for user root by (uid=0)
Spa 29 19:05:02 smatis.lt sudo[11356]: pam_unix(sudo:session): session closed for user root
Spa 29 19:05:02 smatis.lt CRON[11353]: pam_unix(cron:session): session closed for user admin
Spa 29 19:05:02 smatis.lt CRON[11351]: pam_unix(cron:session): session closed for user root
Spa 29 19:05:03 smatis.lt sudo[11359]: pam_unix(sudo:session): session closed for user root
Spa 29 19:05:03 smatis.lt CRON[11352]: pam_unix(cron:session): session closed for user admin
Spa 29 19:07:58 smatis.lt freshclam[504]: Mon Oct 29 19:07:58 2018 -> Received signal: wake up
Spa 29 19:07:58 smatis.lt freshclam[504]: Mon Oct 29 19:07:58 2018 -> ClamAV update process started at Mon Oct 29 19:07:58 20
Spa 29 19:07:58 smatis.lt freshclam[504]: Mon Oct 29 19:07:58 2018 -> main.cvd is up to date (version: 58, sigs: 4566249, f-l
Spa 29 19:07:58 smatis.lt freshclam[504]: Mon Oct 29 19:07:58 2018 -> daily.cld is up to date (version: 25074, sigs: 2137113,
Spa 29 19:07:58 smatis.lt freshclam[504]: Mon Oct 29 19:07:58 2018 -> bytecode.cvd is up to date (version: 327, sigs: 91, f-l
lines 1288-1332/1332 (END)
Thank you
Top

imperio
VestaCP Team
Posts: 7000
Joined: Sat Dec 01, 2012 12:37 pm
Contact:
Contact imperio
Website

Re: Vesta CP can't start, nginx error
  • Quote

Post by imperio » Mon Oct 29, 2018 5:25 pm

Hi,
show me result of this command

Code: Select all

ls /usr/local/vesta/nginx/conf
Top

smatis
Posts: 5
Joined: Mon Oct 29, 2018 5:02 pm

Os: Debian 8x
Web: apache + nginx
Re: Vesta CP can't start, nginx error
  • Quote

Post by smatis » Mon Oct 29, 2018 5:42 pm

Thank for your reply.
This is the result.

Code: Select all

root@smatis:/usr/local/vesta/upd# ls /usr/local/vesta/nginx/conf
fastcgi.conf	      fastcgi_params.default  mime.types	  scgi_params	       uwsgi_params.default
fastcgi.conf.default  koi-utf		      mime.types.default  scgi_params.default  win-utf
fastcgi_params	      koi-win		      nginx.conf.default  uwsgi_params
Top

imperio
VestaCP Team
Posts: 7000
Joined: Sat Dec 01, 2012 12:37 pm
Contact:
Contact imperio
Website

Re: Vesta CP can't start, nginx error
  • Quote

Post by imperio » Mon Oct 29, 2018 5:49 pm

Where is nginx.conf ?
Top

smatis
Posts: 5
Joined: Mon Oct 29, 2018 5:02 pm

Os: Debian 8x
Web: apache + nginx
Re: Vesta CP can't start, nginx error
  • Quote

Post by smatis » Mon Oct 29, 2018 6:02 pm

I see it in /etc/nginx/
Top

imperio
VestaCP Team
Posts: 7000
Joined: Sat Dec 01, 2012 12:37 pm
Contact:
Contact imperio
Website

Re: Vesta CP can't start, nginx error
  • Quote

Post by imperio » Mon Oct 29, 2018 7:26 pm

download nginx.conf
https://bugs.vestacp.com/attachments/do ... nginx.conf
and put this file into /usr/local/vesta/nginx/conf
after that
service vesta restart
Top

smatis
Posts: 5
Joined: Mon Oct 29, 2018 5:02 pm

Os: Debian 8x
Web: apache + nginx
Re: Vesta CP can't start, nginx error
  • Quote

Post by smatis » Tue Oct 30, 2018 2:42 pm

Thanks, it helped to run Vesta CP :)
but now i've got login error :( NO LANGUAGE DEFINED (fixed with chown admin:admin /usr/local/vesta/data/sessions )
But CP is still with some design bugs. No images, all text arranged to left side. Somethings still wrong...
Top

smatis
Posts: 5
Joined: Mon Oct 29, 2018 5:02 pm

Os: Debian 8x
Web: apache + nginx
Re: Vesta CP can't start, nginx error
  • Quote

Post by smatis » Sat Nov 03, 2018 8:41 pm

Problem solved. Had to reinstall Vesta CP, and now everything's ok. (After nginx was fixed)
Top


Post Reply
  • Print view

8 posts • Page 1 of 1

Return to “Web Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password