PDA

View Full Version : Apache/SSL issue



jep
11-17-2003, 03:44 PM
Hi,

Everytime when i (re)start my apache i see:

[root@jongerenweb modules]# apachectl start
Syntax error on line 34 of /usr/local/directadmin/data/users/servicez/httpd.conf:
Invalid command 'SSLEngine', perhaps mis-spelled or defined by a module not included in the server configuration
/usr/sbin/apachectl start: httpd could not be started

I tried a lot, every SSL command is invalid to my apache. The /etc/httpd/modules/libssl.so is just on the right place.

What's wrong?

jep
11-17-2003, 03:46 PM
edit: woops, still doesn't really work.

thoroughfare
11-17-2003, 04:42 PM
Try:

# service httpd restart

instead ;)

Matt

jep
11-17-2003, 04:44 PM
That work, but don't we still have the problem? ;) Or did i use just the wrong command..

ProWebUK
11-17-2003, 05:23 PM
its recommended you use the service command instead of directly using the binary,aslong as service httpd restart goes ok and everything functions properly you dont need to worry :)

Chris

thoroughfare
11-17-2003, 05:42 PM
Jep I thought exactly the same thing at first.

But the service method uses extra commandline switches when it starts apache (something like -DHAVE_SSL).

Cheers,
Matt