vesta service won't start after initial installation
vesta service won't start after initial installation
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.
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.