Apache do not start with error in ips.conf : Invalid command 'SSLEngine', perhaps mis

koudou

Verified User
Joined
Oct 13, 2003
Messages
54
One of the users on the server has found somewhere an script to install I don't know what.
This script has made strange things, and I apache failed to start, either with DA or httpd start

Everything works fine except apache.

I think that I could clean all the apache modules (.so), but I don't know how to as I never did it

Somebody can tell me ?


Michel Lo
 
Last edited:
new update :

I modify the httpd.conf by putting comments on

###<IfDefine HAVE_PHP4>
LoadModule php4_module modules/libphp4.so
###</IfDefine>

###<IfDefine HAVE_SSL>
LoadModule ssl_module modules/libssl.so
###</IfDefine>

And all similar IfDefine concerning HAVE_PHP4 and HAVE_SSL

When I type
> httpd start
it says nothing and gives the prompt back

But apache is not running

When I type
>service httpd start
Starting httpd: [Sun Feb 27 16:23:14 2005] [FAILED]

When I try to start it from DA, it also fails


What to do, my apache and all web sites are down !!!!


Michel Lo
 
FOUND WHAT WAS WRONG !

Strange thing in fact.

When I rebuild apache from scratch by customapache

./build clean
./build update
./build all

the scripts needs to create all the logs in
/var/log/httpd/domains/
But I had no directory domains in /var/log/httpd and httpd was unable to start ...

(no need before).
So, I create the directory domains and it worked fine

Now everything is back
 
Back
Top