Control Web Panel

WebPanel => CentOS 7 Problems => Topic started by: boxygen on October 26, 2017, 07:52:14 AM

Title: Apache not running
Post by: boxygen on October 26, 2017, 07:52:14 AM
When I changed the hostname of my server the apache stopped working.

Now the log is showing following messages

The part of log:

Redirecting to /bin/systemctl restart  httpd.service
Job for httpd.service failed because the control process exited with error code. See "systemctl status httpd.service" and "journalctl -xe" for details.

Oct 26 06:47:08 mailer.boxygen.ml postfix/smtpd[14485]: warning: cannot get RSA certificate from file /etc/pki/tls/certs/mailer.boxygen.ml.crt: disabling TLS s
Oct 26 06:47:08 mailer.boxygen.ml postfix/smtpd[14485]: warning: TLS library problem: 14485:error:0906D06C:PEM routines:PEM_read_bio:no start line:pem_lib.c:70
Oct 26 06:47:08 mailer.boxygen.ml postfix/smtpd[14485]: warning: TLS library problem: 14485:error:140DC009:SSL routines:SSL_CTX_use_certificate_chain_file:PEM
Oct 26 06:47:08 mailer.boxygen.ml postfix/smtpd[14485]: warning: hostname 161-22-62-2.petrynet.com.br does not resolve to address 161.22.62.2: Name or service


I don't have any SSL Certificate installed but it is giving error due to that.

How to resolve this.
Title: Re: Apache not running
Post by: 24x7servermanagement on October 29, 2017, 08:09:03 AM
Have you recently made any changes?
Title: Re: Apache not running
Post by: studio4host on October 31, 2017, 01:52:46 PM
try deleting certificate files mentioned in the error message and then try again to save the hostname.
/etc/pki/tls/certs/mailer.boxygen.ml.cr