Koozali.org: home of the SME Server
Obsolete Releases => SME 6.x Contribs => Topic started by: compsos on April 29, 2006, 04:42:26 AM
-
Hi
server 6.01
Stopped loading httpd overnight. was working fine for months
Only error message is
Starting httpd: Syntax error on line 772 of /etc/httpd/conf/httpd.conf:
Invalid command 'SSLEngine', perhaps mis-spelled or defined by a module not included in the server configuration
That line is for turning SSLEngine on. Get the same error no matter how I try to load httpd. Have reapplied the apache mod_auth mod_perl & mod_ssl rpms but no change.
Restarted server no change to problem
Could it be a stale cache or log file?
Just found lots of PHP Function Registration Failed messages in the message log. Will try and find out more about these.
Has anyone else had similar issues?
-
Try re-expanding the Apache config template:
/sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf
service httpd start
service httpd-admin start
For the record, all my servers have
SSLEngine off
and they all support and actively use SSL
-
Yes I have tried the exapnd template back to std, still the same result. Also manually changed SSLEngine off but then had other problems with the httpd.conf file for ibays and SSL.
Is there a configuration db command that will turn off SSL for testing purposes?
-
The PHP Messages were caused by reapplying the php rpms for Horde3 which made new duplicated fragments with ^M on the end of the fragment name. That has now been cleaned up but has made on difference to the SSL message.
-
Is there a configuration db command that will turn off SSL for testing purposes?
No there is no global setting to turn off SSL
-
Is there a configuration db command that will turn off SSL for testing purposes?
No there is no global setting to turn off SSL
No, that's incorrect.
/sbin/e-smith/config setprop modSSL status disabled
/sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf
/etc/rc7.d/S85httpd-e-smith restart
But I'd advise OP to find out what happened overnight - why is this suddenly a problem?
-
Thanks for the correction, Charlie - I obviously missed that one as I was looking through the config db :)
-
Still have not found the cause but turning off modSSL and removing all references to RequireSSL in the httpd.conf file has allowed httpd to reload. Webmail works but not twiggi. Until solved that is not a problem.
Should I reload modssl rpms from the CD (6.01)?
Now have a copy of some of the messages files so will try and find the date when it stopped.
-
Have just had another server develop the same problem
[root@]# service httpd-e-smith restart
Shutting down http: [ FAILED ]
Starting httpd: Syntax error on line 748 of /etc/httpd/conf/httpd.conf:
Invalid command 'SSLEngine', perhaps mis-spelled or defined by a module not included in the server configuration
Tying reloading of the modSSL package.
Has anyone else had this problem?
-
Could it be a stale cache or log file?
No. As it says, it is a syntax error in the configuration file.
-
I have deleted and regenerated the httpd.conf file but no change in the error.
The current and old files but they look the same.
-
I too am having the same problem. Are you running 6.01 with Horde 3 and Imp 4? Everything was fine until I did a yum update the other week. I know that there was an update to apache and a few others. I had a backup of my httpd.conf file and if I use it, then everything works....until a reboot or until the /template-config/httpd.conf file is expanded.
I know that the apache config file is getting the SSLEngine and RequireSSL = on from these files on my server.
/etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/92ProxyPassUser
/etc/e-smith/templates/etc/httpd/conf/httpd.conf/VirtualHosts/25SSLDirectives: /etc/e-smith/templates/etc/httpd/conf/httpd.conf/86PhpmyadminAlias
I remarked some of the entries out to temporarily get around the problem.
Hopefully this'll help someone who is smarter than I at fixing the problem.
-
We are running the Horde3 package but have not installed or done a yum update. The only auto updates would be for clam & spamassassin. And yes commenting out RequireSSL & SSLEngine allows httpd to load.
Reloading modSSL packages made no difference.
-
/etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/92ProxyPassUser
/etc/e-smith/templates/etc/httpd/conf/httpd.conf/VirtualHosts/25SSLDirectives: /etc/e-smith/templates/etc/httpd/conf/httpd.conf/86PhpmyadminAlias
This should be obvious, but your problem is in either 92ProxyPassUser or 86PhpmyadminAlias (since neither of those is in a base install). Remove the phpmyadmin contrib, and remove the custom template, re-expand /etc/httpd/conf/httpd.conf and all should be OK.