Page 1 of 1

Vesta Unable to start?

Posted: Sun Apr 09, 2017 3:03 pm
by phantomore
Hey forums, Thank you for the awesome community, I recent came across with my vestacp not starting, here are the logss for status command.

Code: Select all

[root@serverint ~]# service vesta status -l
* 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 Sun 2017-04-09 14:58:14 UTC; 1min 23s ago
     Docs: man:systemd-sysv-generator(8)
  Process: 867 ExecStart=/etc/rc.d/init.d/vesta start (code=exited, status=1/FAILURE)

Jan 01 09:54:59 serverint.phantomore.com vesta[22108]: Starting vesta-php: [  OK  ]
Jan 01 09:59:31 serverint.phantomore.com systemd[1]: Stopping SYSV: Run vesta web server...
Jan 01 09:59:31 serverint.phantomore.com vesta[24806]: Stopping vesta-nginx: [  OK  ]
Jan 01 09:59:31 serverint.phantomore.com vesta[24806]: Stopping vesta-php: [  OK  ]
Jan 01 09:59:31 serverint.phantomore.com systemd[1]: Starting SYSV: Run vesta web server...
Jan 01 09:59:31 serverint.phantomore.com vesta[24811]: Starting vesta-nginx: [  OK  ]
Jan 01 09:59:31 serverint.phantomore.com vesta[24811]: Starting vesta-php: [  OK  ]
Jan 01 09:59:31 serverint.phantomore.com systemd[1]: Started SYSV: Run vesta web server.
Jan 08 06:02:23 serverint.phantomore.com useradd[16956]: new user: name=admin_sk, UID=1002, GID=1002, home=/home/admin/web...login
Jan 08 06:31:45 serverint.phantomore.com useradd[22157]: new user: name=admin_sk, UID=1002, GID=1002, home=/home/admin/web...login
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 Sun 2017-04-09 14:58:14 UTC; 1min 23s ago
     Docs: man:systemd-sysv-generator(8)
  Process: 867 ExecStart=/etc/rc.d/init.d/vesta start (code=exited, status=1/FAILURE)

Jan 01 09:54:59 serverint.phantomore.com vesta[22108]: Starting vesta-php: [  OK  ]
Jan 01 09:59:31 serverint.phantomore.com systemd[1]: Stopping SYSV: Run vesta web server...
Jan 01 09:59:31 serverint.phantomore.com vesta[24806]: Stopping vesta-nginx: [  OK  ]
Jan 01 09:59:31 serverint.phantomore.com vesta[24806]: Stopping vesta-php: [  OK  ]
Jan 01 09:59:31 serverint.phantomore.com systemd[1]: Starting SYSV: Run vesta web server...
Jan 01 09:59:31 serverint.phantomore.com vesta[24811]: Starting vesta-nginx: [  OK  ]
Jan 01 09:59:31 serverint.phantomore.com vesta[24811]: Starting vesta-php: [  OK  ]
Jan 01 09:59:31 serverint.phantomore.com systemd[1]: Started SYSV: Run vesta web server.
Jan 08 06:02:23 serverint.phantomore.com useradd[16956]: new user: name=admin_sk, UID=1002, GID=1002, home=/home/admin/web...login
Jan 08 06:31:45 serverint.phantomore.com useradd[22157]: new user: name=admin_sk, UID=1002, GID=1002, home=/home/admin/web...login
Hint: Some lines were ellipsized, use -l to show in full.
does anyone know what the issue is and how to resolve it?

Thank you so much

Re: Vesta Unable to start?

Posted: Sun Apr 09, 2017 3:05 pm
by phantomore

Code: Select all

[root@serverint ~]# service nginx status
Redirecting to /bin/systemctl status  nginx.service
● nginx.service - nginx - high performance web server
   Loaded: loaded (/usr/lib/systemd/system/nginx.service; enabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Sun 2017-04-09 14:58:13 UTC; 5min ago
     Docs: http://nginx.org/en/docs/
  Process: 743 ExecStartPre=/usr/sbin/nginx -t -c /etc/nginx/nginx.conf (code=exited, status=1/FAILURE)

Apr 05 07:53:25 serverint.phantomore.com systemd[1]: Stopping nginx - high performance web server...
Apr 05 07:53:25 serverint.phantomore.com systemd[1]: Starting nginx - high performance web server...
Apr 05 07:53:25 serverint.phantomore.com nginx[14418]: nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
Apr 05 07:53:25 serverint.phantomore.com nginx[14418]: nginx: configuration file /etc/nginx/nginx.conf test is successful
Apr 05 07:53:25 serverint.phantomore.com systemd[1]: Started nginx - high performance web server.
Apr 05 07:53:35 serverint.phantomore.com systemd[1]: Stopping nginx - high performance web server...
Apr 05 07:53:35 serverint.phantomore.com systemd[1]: Starting nginx - high performance web server...
Apr 05 07:53:35 serverint.phantomore.com nginx[14706]: nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
Apr 05 07:53:38 serverint.phantomore.com systemd[1]: Started nginx - high performance web server.
Apr 05 07:53:38 serverint.phantomore.com nginx[14706]: nginx: configuration file /etc/nginx/nginx.conf test is successful
Here are Nginx logs that seem to fail as well...

Re: Vesta Unable to start?

Posted: Sun Apr 09, 2017 3:09 pm
by phantomore
I got nginx to start by stopping and starting it again.

Re: Vesta Unable to start?

Posted: Sun Apr 09, 2017 3:10 pm
by phantomore
new log :

Code: Select all

[root@serverint ~]# systemctl status vesta.service
● 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 Sun 2017-04-09 15:08:49 UTC; 1min 3s ago
     Docs: man:systemd-sysv-generator(8)
  Process: 1795 ExecStart=/etc/rc.d/init.d/vesta start (code=exited, status=1/FAILURE)

Jan 01 09:54:59 serverint.phantomore.com vesta[22108]: Starting vesta-php: [  OK  ]
Jan 01 09:59:31 serverint.phantomore.com systemd[1]: Stopping SYSV: Run vesta web server...
Jan 01 09:59:31 serverint.phantomore.com vesta[24806]: Stopping vesta-nginx: [  OK  ]
Jan 01 09:59:31 serverint.phantomore.com vesta[24806]: Stopping vesta-php: [  OK  ]
Jan 01 09:59:31 serverint.phantomore.com systemd[1]: Starting SYSV: Run vesta web server...
Jan 01 09:59:31 serverint.phantomore.com vesta[24811]: Starting vesta-nginx: [  OK  ]
Jan 01 09:59:31 serverint.phantomore.com vesta[24811]: Starting vesta-php: [  OK  ]
Jan 01 09:59:31 serverint.phantomore.com systemd[1]: Started SYSV: Run vesta web server.
Jan 08 06:02:23 serverint.phantomore.com useradd[16956]: new user: name=admin_sk, UID=1002, GID=1002, home=/home/admin/web...login
Jan 08 06:31:45 serverint.phantomore.com useradd[22157]: new user: name=admin_sk, UID=1002, GID=1002, home=/home/admin/web...login
Hint: Some lines were ellipsized, use -l to show in full.
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit session-3318658.scope has finished starting up.
-- 
-- The start-up result is done.
Apr 06 04:10:02 serverint.phantomore.com systemd[1]: Starting Session 3318658 of user root.
-- Subject: Unit session-3318658.scope has begun start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit session-3318658.scope has begun starting up.
Apr 06 04:10:02 serverint.phantomore.com systemd[1]: Started Session 3318661 of user admin.
-- Subject: Unit session-3318661.scope has finished start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit session-3318661.scope has finished starting up.
-- 
-- The start-up result is done.
Apr 06 04:10:03 serverint.phantomore.com systemd[1]: Starting Session 3318661 of user admin.
-- Subject: Unit session-3318661.scope has begun start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit session-3318661.scope has begun starting up.
Apr 06 04:10:03 serverint.phantomore.com systemd[1]: Removed slice user-1002.slice.
-- Subject: Unit user-1002.slice has finished shutting down
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit user-1002.slice has finished shutting down.
Apr 06 04:10:03 serverint.phantomore.com systemd[1]: Stopping user-1002.slice.
-- Subject: Unit user-1002.slice has begun shutting down
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit user-1002.slice has begun shutting down.
Apr 06 04:10:03 serverint.phantomore.com systemd-logind[142]: Failed to remove runtime directory /run/user/1002: Device or resource busy
Apr 06 04:10:39 serverint.phantomore.com sshd[26741]: Did not receive identification string from 103.243.107.198
Apr 06 04:10:51 serverint.phantomore.com sshd[26742]: error: Received disconnect from 103.243.107.198: 3: java.net.SocketTimeoutException: Read timed out [preauth]
Apr 06 04:10:54 serverint.phantomore.com sshd[26744]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=103.243.107.198  user=
Apr 06 04:10:56 serverint.phantomore.com sshd[26744]: Failed password for root from 103.243.107.198 port 65273 ssh2
Apr 06 04:10:56 serverint.phantomore.com sshd[26744]: error: Received disconnect from 103.243.107.198: 3: com.jcraft.jsch.JSchException: Auth fail [preauth]
Apr 06 04:14:30 serverint.phantomore.com named[5814]: no longer listening on 202.5.16.216#53

Re: Vesta Unable to start?

Posted: Sun Apr 09, 2017 4:09 pm
by phantomore
Just checked, Nginx has no issues, and Email seems to be working properly in both receiving and sending mails.

I don't get why the sites would be down if Nginx is up and mail services are working. I think its a issue with VestaCP.

What should I do? I'm fine as long as I have access to incoming mails (for now), but I hope someone tells me whats wrong so taht I or someone smarter can fix it.

Thank you so much guys.

Kevin

Re: Vesta Unable to start?

Posted: Mon Apr 10, 2017 10:15 am
by skurudo
Try please this first:

Code: Select all

apt-get install --reinstall vesta