Apache error: Syntax error line 70 ... iprint_g.conf

  • 7002419
  • 21-Jan-2009
  • 26-Apr-2012

Environment

Novell iPrint for Linux

Situation

Apache fails to load and reports the following error:

Syntax error on line 70 of /etc/opt/novell/httpd/conf.d/iprint_g.conf:
Invalid command 'SSLEngine', perhaps misspelled or defined by a module not included in the server configuration

Resolution

Enable the SSL Apache2 module by ensuring SSL is correctly configured in the /etc/sysconfig/apache2 file.  The APACHE_MODULES and APACHE_SERVER_FLAGS lines should look something like this:
 
APACHE_MODULES="actions alias auth_basic authn_file authz_host authz_groupfile authz_default authz_user authn_dbm autoindex cgi dir env expires include log_config mime negotiation setenvif ssl suexec userdir php5 proxy proxy_ajp rewrite"
APACHE_SERVER_FLAGS=" SSL"
Note: 'ssl' is bolded in this TID to add emphasis.
Restart Apache to cause the above changes to take affect:
rcapache2 restart
 

Additional Information

Apache reads all *.conf files prior to loading.  If there is a problem detected in one of the *.conf files, Apache will fail to load.  iPrint's Apache configuration (iprint_g.conf) makes reference to Apache's SSL module, and therefore it must be enabled.