Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I uninstalled Apache, and reinstalled it, and now when I try to start it I get the following error:

Syntax error on line 94 of /usr/local/psa/admin/conf/generated/13636697550.95452800_server.include:
Invalid command 'SSLEngine', perhaps misspelled or defined by a module not included in the server configuration

I did not try to enable SSL, or anything. I'm quite new to Linux, and Apache in general, so if somebody could help me with this, I would be infinitely grateful.

share|improve this question
up vote 10 down vote accepted

There is probably some forgotten configuration in /etc/httpd/conf or /etc/httpd/conf.d. Find (grep SSL /etc/httpd/{conf,conf.d} -r) and destroy it or install ssl module for Apache:

yum install mod_ssl
share|improve this answer
    
worked, thanks! – Trey Copeland Jul 6 at 21:27

In my case I had mod_ssl installed but it was not enabled. To do this I ran:

sudo a2enmod ssl
share|improve this answer

Check whether you have already loaded mod_ssl in the httpd.conf file:

LoadModule ssl_module modules/mod_ssl.so
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.