Author Topic: Error starting Apache: code=exited status=1  (Read 4515 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Error starting Apache: code=exited status=1
« on: February 06, 2020, 12:37:26 PM »
Redirecting to /bin/systemctl start 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.
You have mail in /var/spool/mail/root

Exit of journalctl -xe
Code: [Select]
Feb 06 09:16:20 vmi148177.contaboserver.net systemd[1]: Starting Web server Apache...
-- Subject: Unit httpd.service has begun start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit httpd.service has begun starting up.
Feb 06 09:16:20 vmi148177.contaboserver.net systemd[1]: httpd.service: control process exited, code=exited status=1
Feb 06 09:16:20 vmi148177.contaboserver.net systemd[1]: Failed to start Web server Apache.
-- Subject: Unit httpd.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit httpd.service has failed.
--
-- The result is failed.
Feb 06 09:16:20 vmi148177.contaboserver.net systemd[1]: Unit httpd.service entered failed state.
Feb 06 09:16:20 vmi148177.contaboserver.net systemd[1]: httpd.service failed.

Exit of systemctl status httpd.service
Code: [Select]
● httpd.service - Web server Apache
   Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Thu 2020-02-06 09:16:20 -03; 3min 38s ago
  Process: 8514 ExecStart=/usr/local/apache/bin/apachectl start (code=exited, status=1/FAILURE)

Feb 06 09:16:20 vmi148177.contaboserver.net systemd[1]: Starting Web server Apache...
Feb 06 09:16:20 vmi148177.contaboserver.net systemd[1]: httpd.service: control process exited, code=exited status=1
Feb 06 09:16:20 vmi148177.contaboserver.net systemd[1]: Failed to start Web server Apache.
Feb 06 09:16:20 vmi148177.contaboserver.net systemd[1]: Unit httpd.service entered failed state.
Feb 06 09:16:20 vmi148177.contaboserver.net systemd[1]: httpd.service failed.

Exito of tail -f /usr/local/apache/logs/error_log
Code: [Select]
[Thu Feb 06 09:32:28.423614 2020] [ssl:emerg] [pid 16956:tid 139664974854016] SSL Library Error: error:0906D06C:PEM routines:PEM_read_bio:no start line (Expecting: EC PARAMETERS) -- Bad file contents or format - or even just a forgotten SSLCertificateKeyFile?
[Thu Feb 06 09:32:28.423639 2020] [ssl:emerg] [pid 16956:tid 139664974854016] SSL Library Error: error:140A80B1:SSL routines:SSL_CTX_check_private_key:no certificate assigned
[Thu Feb 06 09:32:28.423644 2020] [ssl:emerg] [pid 16956:tid 139664974854016] AH02312: Fatal error initialising mod_ssl, exiting.
AH00016: Configuration Failed
[Thu Feb 06 09:36:34.645049 2020] [ssl:emerg] [pid 18762:tid 139887441016704] AH02572: Failed to configure at least one certificate and key for seaccna.com:443
[Thu Feb 06 09:36:34.645273 2020] [ssl:emerg] [pid 18762:tid 139887441016704] SSL Library Error: error:0906D06C:PEM routines:PEM_read_bio:no start line (Expecting: DH PARAMETERS) -- Bad file contents or format - or even just a forgotten SSLCertificateKeyFile?
[Thu Feb 06 09:36:34.645288 2020] [ssl:emerg] [pid 18762:tid 139887441016704] SSL Library Error: error:0906D06C:PEM routines:PEM_read_bio:no start line (Expecting: EC PARAMETERS) -- Bad file contents or format - or even just a forgotten SSLCertificateKeyFile?
[Thu Feb 06 09:36:34.645313 2020] [ssl:emerg] [pid 18762:tid 139887441016704] SSL Library Error: error:140A80B1:SSL routines:SSL_CTX_check_private_key:no certificate assigned
[Thu Feb 06 09:36:34.645319 2020] [ssl:emerg] [pid 18762:tid 139887441016704] AH02312: Fatal error initialising mod_ssl, exiting.
AH00016: Configuration Failed
« Last Edit: February 06, 2020, 12:48:30 PM by rosbarbosa »

Offline
****
Re: Error starting Apache: code=exited status=1
« Reply #1 on: February 06, 2020, 09:01:23 PM »
Autossl regenerate a cert for seaccna.com
Google Hangouts:  rcschaff82@gmail.com