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 General Discussion
  • Search

vesta service won't start after initial installation

General questions about VestaCP
Post Reply
  • Print view
Advanced search
1 post • Page 1 of 1
bennun
Posts: 6
Joined: Mon Apr 30, 2018 10:41 pm

Os: CentOS 6x
Web: nginx + php-fpm
vesta service won't start after initial installation
  • Quote

Post by bennun » Tue May 01, 2018 2:30 am

Hello everyone,

I setup a DO vps with CentOS 7 x64 and installed security measures such as LES, Maldet, and CSF. I also disabled root login. I then proceeded to install VestaCP but it fails to start. When I try starting the service, I get the following error:

$ 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 Mon 2018-04-30 04:04:46 UTC; 9s ago
Docs: man:systemd-sysv-generator(8)
Process: 1522 ExecStart=/etc/rc.d/init.d/vesta start (code=exited, status=1/FAILURE)

Apr 30 04:04:46 nyc3-web-1 systemd[1]: Starting SYSV: Run vesta web server...
Apr 30 04:04:46 nyc3-web-1 vesta[1522]: /etc/rc.d/init.d/vesta: line 12: /etc/profile.d/vesta.sh: No such file or directory
Apr 30 04:04:46 nyc3-web-1 systemd[1]: vesta.service: control process exited, code=exited status=1
Apr 30 04:04:46 nyc3-web-1 systemd[1]: Failed to start SYSV: Run vesta web server.
Apr 30 04:04:46 nyc3-web-1 systemd[1]: Unit vesta.service entered failed state.
Apr 30 04:04:46 nyc3-web-1 systemd[1]: vesta.service failed.

Here's what happens when I try starting it up:

# systemctl start vesta.service
Job for vesta.service failed because the control process exited with error code. See "systemctl status vesta.service" and "journalctl -xe" for details.

Running - journalctl -xe - I get this:

Apr 30 04Happywide3Happywide5 nyc3-web-1 polkitd[549]: Registered Authentication Agent for unix-process:2425:206832 (system bus name :1.48 [/usr/bin/pkttyagent --notify-fd 5 --fallb
Apr 30 04Happywide3Happywide5 nyc3-web-1 systemd[1]: Starting SYSV: Run vesta web server...
-- Subject: Unit vesta.service has begun start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/lis...temd-devel
--
-- Unit vesta.service has begun starting up.
Apr 30 04Happywide3Happywide5 nyc3-web-1 vesta[2431]: /etc/rc.d/init.d/vesta: line 12: /etc/profile.d/vesta.sh: No such file or directory
Apr 30 04Happywide3Happywide5 nyc3-web-1 systemd[1]: vesta.service: control process exited, code=exited status=1
Apr 30 04Happywide3Happywide5 nyc3-web-1 systemd[1]: Failed to start SYSV: Run vesta web server.
-- Subject: Unit vesta.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/lis...temd-devel
--
-- Unit vesta.service has failed.
--
-- The result is failed.
Apr 30 04Happywide3Happywide5 nyc3-web-1 systemd[1]: Unit vesta.service entered failed state.
Apr 30 04Happywide3Happywide5 nyc3-web-1 systemd[1]: vesta.service failed.
Apr 30 04Happywide3Happywide5 nyc3-web-1 polkitd[549]: Unregistered Authentication Agent for unix-process:2425:206832 (system bus name :1.48, object path /org/freedesktop/PolicyKit1
lines 2636-2668/2668 (END)

The following file is truly missing: /etc/profile.d/vesta.sh

My main scripts appear to be in /usr/local/vesta/bin

Your help would be appreciated.
Top


Post Reply
  • Print view
1 post • Page 1 of 1

Return to “General Discussion”



  • 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