We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on v1 candidate and expect to engage more with the community over the coming months. We are committed to open source, and we encourage contributors to help us build the future of Vesta.
VestaCP installation errors
VestaCP installation errors
I keep getting the following error concerning apache2.
I also try to force install using -f
How can I solve this error and continue the installation please
I also try to force install using -f
Code: Select all
2017-04-29 09:21:02 (52.7 MB/s) - ‘/etc/logrotate.d/apache2’ saved [594/594]
Module rewrite already enabled
Module suexec already enabled
Considering dependency setenvif for ssl:
Module setenvif already enabled
Considering dependency mime for ssl:
Module mime already enabled
Considering dependency socache_shmcb for ssl:
Module socache_shmcb already enabled
Module ssl already enabled
Module actions already enabled
Module ruid2 already enabled
Job for apache2.service failed because the control process exited with error code. See "systemctl status apache2.service" and "journalctl -xe" for details.
Error: apache2 start failed
user@server:~$ sudo systemctl status apache2.service
sudo: unable to resolve host cp.example.com: Connection timed out
● apache2.service - LSB: Apache2 web server
CGroup: /system.slice/apache2.service
├─4244 /usr/sbin/apache2 -k start
Loaded: loaded (/etc/init.d/apache2; bad; vendor preset: enabled)
Drop-In: /lib/systemd/system/apache2.service.d
└─apache2-systemd.conf
Active: failed (Result: exit-code) since Sat 2017-04-29 09:22:04 CEST; 2min 27s ago
Docs: man:systemd-sysv-generator(8)
Process: 4223 ExecStart=/etc/init.d/apache2 start (code=exited, status=1/FAILURE)
Tasks: 7
Memory: 19.3M
CPU: 170ms
├─4285 /usr/sbin/apache2 -k start
├─4287 /usr/sbin/apache2 -k start
├─4288 /usr/sbin/apache2 -k start
├─4289 /usr/sbin/apache2 -k start
├─4290 /usr/sbin/apache2 -k start
└─4291 /usr/sbin/apache2 -k start
Apr 29 09:21:03 cp.kryo.io systemd[1]: Starting LSB: Apache2 web server...
Apr 29 09:21:03 cp.kryo.io apache2[4223]: * Starting Apache httpd web server apache2
Apr 29 09:21:44 cp.kryo.io apache2[4223]: AH00557: apache2: apr_sockaddr_info_get() failed for cp.kryo.io
Apr 29 09:21:44 cp.kryo.io apache2[4223]: AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1. Set the 'ServerName'
Apr 29 09:22:04 cp.kryo.io apache2[4223]: *
Apr 29 09:22:04 cp.kryo.io apache2[4223]: * The apache2 instance did not start within 20 seconds. Please read the log files to discover problems
Apr 29 09:22:04 cp.kryo.io systemd[1]: apache2.service: Control process exited, code=exited status=1
Apr 29 09:22:04 cp.kryo.io systemd[1]: Failed to start LSB: Apache2 web server.
Apr 29 09:22:04 cp.kryo.io systemd[1]: apache2.service: Unit entered failed state.
Apr 29 09:22:04 cp.kryo.io systemd[1]: apache2.service: Failed with result 'exit-code'.
Re: VestaCP installation errors
Try to add this in apache
cuz i dont have apache installed on my server i dont know the apache location so check this link:
Check this https://vestacp.com/docs/#config-log-lo ... hel-centos
Add the following new line end of file:
sudo service apache2 restart or Restart it from the panel
I hope this will help you.
EDIT: I think the file you should edit to add is /etc/httpd/conf/httpd.conf
Code: Select all
ServerName localhost
Check this https://vestacp.com/docs/#config-log-lo ... hel-centos
Add the following new line end of file:
Code: Select all
ServerName localhost
I hope this will help you.
EDIT: I think the file you should edit to add
Code: Select all
ServerName localhost
Re: VestaCP installation errors
if you have any problems with installation, please send us access to your server. We try to help you