Control Web Panel
WebPanel => Apache => Topic started by: yeknafar on December 20, 2018, 12:24:25 PM
-
Hello
My Appache does not start.
I had a domain called: dict.mysite.com and hve removed it days ago but it gives such errors:
-AH00112: Warning: DocumentRoot [/home/mysite/public_html/jadid/dict/meaning/] does not exist
-AH00526: Syntax error on line 563 of /usr/local/apache/conf.d/vhosts-ssl.conf:
-[1020]: SSLCertificateFile: file '/etc/pki/tls/certs/dict.mysite.com.cert' does not exist or is empty
Thanks
-
NOw even mywebpanel doesnot come up.
it says: " The server is taking too long to respond"
-
Apache stops when is configured a site with a invalid or inexistent path.
So, seems the site was removed, but the configuration in apache was not.
Try to check one of the most important files in apache (always):
/usr/local/apache/logs/error_log
(This path is for CentOS7)
As an emergency measure, try to recreate that paths claimed, or remove the configuration at apache. in the configuration file '/usr/local/apache/conf.d/vhosts-ssl.conf'.
Keep in mind you always MUST try to clean any [error:] message at Apache log '/usr/local/apache/logs/error_log' to restart apache.
Try to solve in any ways the problems pointed there.
And restart the apache server:
# systemctl restart apache
(This is for CentOS7)
If not come back, check again the logs for another problems, solve it, and restart again.
Or you can use the "Rebuild VHosts" feature of CWP, when your CWP came up again.
The same is valid for CWP server, but with logfile:
/usr/local/cwpsrv/logs/error_log
Regards,
Netino
-
I had the same issue. I solved it by removed the deleted domain or subdomain from the /usr/local/apache/conf.d/vhosts-ssl.conf. For some reasons when you delete the subdomain vhosts-ssl.conf doesn't get updated.
-
Hello,
Thank you very much.
This works.
Thanks again.
I had the same issue. I solved it by removed the deleted domain or subdomain from the /usr/local/apache/conf.d/vhosts-ssl.conf. For some reasons when you delete the subdomain vhosts-ssl.conf doesn't get updated.