Author Topic: Cannot start apache  (Read 7978 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
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 server.bolado.cloud:443:0, check /etc/pki/tls/certs/server.bolado.cloud.cert
[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?

Offline
*
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 "server.bolado.cloud"

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

Offline
*
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)
http://centos-webpanel.com/website-ddos-protection-proxy

Join our Development Team and get paid !
http://centos-webpanel.com/develope-modules-for-cwp


Services Monitoring & RBL Monitoring
http://centos-webpanel.com/services-monitor


Do you need Fast and FREE Support included for your CWP linux server?
http://centos-webpanel.com/noc-partner-list
Installation Instructions
http://centos-webpanel.com/installation-instructions
Get Fast Support Here
http://centos-webpanel.com/support-services