CentOS Web Panel (CWP) Apache Web Server Error

Subject: CentOS Web Panel (CWP) Apache Web Server Error

Author: Mr. Turritopsis Dohrnii Teo En Ming, Singapore
Date: 1st Mar 2020, Sunday

CentOS Web Panel (CWP) Apache Web Server Error
==============================================

● httpd.service - Web server Apache
   Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Sat 2020-02-29 03:08:35 UTC; 10h ago
  Process: 13962 ExecStart=/usr/local/apache/bin/apachectl start (code=exited, status=1/FAILURE)

Feb 29 03:08:35 www.teo-en-ming.com systemd[1]: Starting Web server Apache...
Feb 29 03:08:35 www.teo-en-ming.com apachectl[13962]: AH00526: Syntax error on line 86 of /usr/local/apache/conf.d/vhosts/teo-en-ming.com.conf:
Feb 29 03:08:35 www.teo-en-ming.com apachectl[13962]: Invalid command 'SSLProxyEngine', perhaps misspelled or defined by a module not included in the server configuration
Feb 29 03:08:35 www.teo-en-ming.com systemd[1]: httpd.service: control process exited, code=exited status=1
Feb 29 03:08:35 www.teo-en-ming.com systemd[1]: Failed to start Web server Apache.
Feb 29 03:08:35 www.teo-en-ming.com systemd[1]: Unit httpd.service entered failed state.
Feb 29 03:08:35 www.teo-en-ming.com systemd[1]: httpd.service failed.
Feb 29 03:08:35 www.teo-en-ming.com systemd[1]: Unit httpd.service cannot be reloaded because it is inactive.

Teo En Ming's Solution:
=======================

Edit /usr/local/apache/conf/httpd.conf

Uncomment the following line:

#LoadModule ssl_module modules/mod_ssl.so

# systemctl restart httpd

# systemctl status httpd

● httpd.service - Web server Apache
   Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled; vendor preset: disabled)
   Active: active (running) since Sat 2020-02-29 14:08:11 UTC; 23s ago
  Process: 31335 ExecStart=/usr/local/apache/bin/apachectl start (code=exited, status=0/SUCCESS)
 Main PID: 31338 (httpd)
   CGroup: /system.slice/httpd.service
           ├─31338 /usr/local/apache/bin/httpd -k start
           ├─31339 /usr/local/apache/bin/httpd -k start
           ├─31340 /usr/local/apache/bin/httpd -k start
           └─31341 /usr/local/apache/bin/httpd -k start

Feb 29 14:08:11 www.teo-en-ming.com systemd[1]: Starting Web server Apache...
Feb 29 14:08:11 www.teo-en-ming.com apachectl[31335]: AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using www.teo-en-ming.c...is message
Feb 29 14:08:11 www.teo-en-ming.com systemd[1]: Started Web server Apache.
Hint: Some lines were ellipsized, use -l to show in full.

SOLVED!

REFERENCE
=========

Guide: apache2 Invalid command 'SSLEngine'

Link: https://unix.stackexchange.com/questions/31378/apache2-invalid-command-sslengine




REFERENCES
===========

[1] https://marc.info/?l=apache-httpd-users&m=158304512123952&w=2

Comments

Popular posts from this blog

[24 Mar 2022 Thursday] Erectile Dysfunction and Viagra

Patching Linux Kernel 5.5.7 to Add Support for AUFS Filesystem