Hi,
My server is not backing up.
I have the following error:
grep: /home/admin/conf/web/sapache2.conf: No such file or directory
Error: can't parse config /home/admin/conf/web/sapache2.conf
What can I do ?
Best Regards,
Backup error
root@hosting:~# v-rebuild-web-domains admin
cp: cannot stat '/usr/local/vesta/data/users/admin/ssl/ral.info.ro.crt': No such file or directory
cp: cannot stat '/usr/local/vesta/data/users/admin/ssl/ral.info.ro.key': No such file or directory
cp: cannot stat '/usr/local/vesta/data/users/admin/ssl/ral.info.ro.pem': No such file or directory
Error: apache2 restart failed
root@hosting:~#
cp: cannot stat '/usr/local/vesta/data/users/admin/ssl/ral.info.ro.crt': No such file or directory
cp: cannot stat '/usr/local/vesta/data/users/admin/ssl/ral.info.ro.key': No such file or directory
cp: cannot stat '/usr/local/vesta/data/users/admin/ssl/ral.info.ro.pem': No such file or directory
Error: apache2 restart failed
root@hosting:~#
root@hosting:~# v-install-unsigned-ssl ral.info.ro
Error: apache2 restart failed
root@hosting:~# systemctl status apache2.service
● apache2.service - The Apache HTTP Server
Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Sun 2023-06-04 19:09:33 EEST; 17s ago
Docs: https://httpd.apache.org/docs/2.4/
Process: 28724 ExecStart=/usr/sbin/apachectl start (code=exited, status=1/FAILURE)
Jun 04 19:09:33 hosting.ral.info.ro systemd[1]: Starting The Apache HTTP Server...
Jun 04 19:09:33 hosting.ral.info.ro apachectl[28724]: AH00526: Syntax error on line 26 of /home/admin/conf/web/ral.info.ro.apache2.ssl.conf:
Jun 04 19:09:33 hosting.ral.info.ro apachectl[28724]: SSLCertificateChainFile: file '/home/admin/conf/web/ssl.ral.info.ro.ca' does not exist or is empty
Jun 04 19:09:33 hosting.ral.info.ro apachectl[28724]: Action 'start' failed.
Jun 04 19:09:33 hosting.ral.info.ro apachectl[28724]: The Apache error log may have more information.
Jun 04 19:09:33 hosting.ral.info.ro systemd[1]: apache2.service: Control process exited, code=exited, status=1/FAILURE
Jun 04 19:09:33 hosting.ral.info.ro systemd[1]: apache2.service: Failed with result 'exit-code'.
Jun 04 19:09:33 hosting.ral.info.ro systemd[1]: Failed to start The Apache HTTP Server.
root@hosting:~#
Error: apache2 restart failed
root@hosting:~# systemctl status apache2.service
● apache2.service - The Apache HTTP Server
Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Sun 2023-06-04 19:09:33 EEST; 17s ago
Docs: https://httpd.apache.org/docs/2.4/
Process: 28724 ExecStart=/usr/sbin/apachectl start (code=exited, status=1/FAILURE)
Jun 04 19:09:33 hosting.ral.info.ro systemd[1]: Starting The Apache HTTP Server...
Jun 04 19:09:33 hosting.ral.info.ro apachectl[28724]: AH00526: Syntax error on line 26 of /home/admin/conf/web/ral.info.ro.apache2.ssl.conf:
Jun 04 19:09:33 hosting.ral.info.ro apachectl[28724]: SSLCertificateChainFile: file '/home/admin/conf/web/ssl.ral.info.ro.ca' does not exist or is empty
Jun 04 19:09:33 hosting.ral.info.ro apachectl[28724]: Action 'start' failed.
Jun 04 19:09:33 hosting.ral.info.ro apachectl[28724]: The Apache error log may have more information.
Jun 04 19:09:33 hosting.ral.info.ro systemd[1]: apache2.service: Control process exited, code=exited, status=1/FAILURE
Jun 04 19:09:33 hosting.ral.info.ro systemd[1]: apache2.service: Failed with result 'exit-code'.
Jun 04 19:09:33 hosting.ral.info.ro systemd[1]: Failed to start The Apache HTTP Server.
root@hosting:~#