Author Topic: Cannot start apache  (Read 7338 times)

0 Members and 1 Guest are viewing this topic.

Cannot start apache
« on: April 27, 2018, 07:57:53 PM »
When I try to start apache it shows: Starting httpd: [FAILED]

I looked at the error_log and it shows this:

[Fri Apr 27 14:54:06.516332 2018] [ssl:emerg] [pid 24482:tid 139785491539776] AH02561: Failed to configure certificate, check /etc/pki/tls/certs/
[Fri Apr 27 14:54:06.516432 2018] [ssl:emerg] [pid 24482:tid 139785491539776] SSL Library Error: error:0906D06C:PEM routines:PEM_read_bio:no start line (Expecting: CERTIFICATE) -- Bad file contents or format - or even just a forgotten SSLCertificateKeyFile?
[Fri Apr 27 14:54:06.516451 2018] [ssl:emerg] [pid 24482:tid 139785491539776] SSL Library Error: error:140AD009:SSL routines:SSL_CTX_use_certificate_file:PEM lib
AH00016: Configuration Failed

can you please help me to fix that?

Re: Cannot start apache
« Reply #1 on: May 23, 2018, 05:03:41 PM »
You have a bad ssl certificate, or configuration, for the domain ""

You need to fix the ssl for that domain and then start httpd.

Re: Cannot start apache
« Reply #2 on: May 25, 2018, 12:30:38 PM »
since this looks like hostname certificate issue you can try to fix it like this

Code: [Select]
sh /scripts/generate_hostname_ssl
if that doesn't help then you can manually edit mentioned file/files in the error.
AntiDDoS Protection (web + mail)

Join our Development Team and get paid !

Services Monitoring & RBL Monitoring

Do you need Fast and FREE Support included for your CWP linux server?
Installation Instructions
Get Fast Support Here