Author Topic: dict.mysite.com.cert' does not exist or is empty  (Read 168 times)

0 Members and 1 Guest are viewing this topic.

Offline
**
dict.mysite.com.cert' does not exist or is empty
« 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
« Last Edit: December 20, 2018, 01:03:25 PM by yeknafar »
I love CWP

Offline
**
Re: dict.mysite.com.cert' does not exist or is empty
« Reply #1 on: December 20, 2018, 12:42:19 PM »
NOw even mywebpanel doesnot come up.


it says: " The server is taking too long to respond"
« Last Edit: December 20, 2018, 12:45:15 PM by yeknafar »
I love CWP

Offline
**
Re: dict.mysite.com.cert' does not exist or is empty
« Reply #2 on: December 21, 2018, 04:03:53 AM »
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

Offline
***
Re: dict.mysite.com.cert' does not exist or is empty
« Reply #3 on: December 22, 2018, 02:33:39 AM »
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.