You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by ge...@ameritech.net on 2003/02/18 03:02:19 UTC

[users@httpd] error starting apache with SSL

Hey, group,

I compiled apache along with mm, mod_ssl, and open_ssl and it starts up, 
works, and shuts down fine.  However, starting it with SSL yeilds an 
error on startup:

# ./apachectl startssl
Syntax error on line 1096 of /usr/local/apache/conf/httpd.conf:
Invalid command 'SSLEngine', perhaps mis-spelled or defined by a module 
not included in the server configuration
./apachectl startssl: httpd could not be started

Line 1096 simply says:

SSLEngine on

The syntax check showed no errors.  So I'm guessing the problem has to 
do with the "module not included...."  Taking a guess that it might 
involve the SSL module, I find:

# ls ../libexec/*
../libexec/httpd.exp  ../libexec/libssl.so

logs/error_log just shows the stuff that works okay:

[Mon Feb 17 20:20:57 2003] [notice] Apache/1.3.27 (Unix) configured -- 
resuming normal operations
[Mon Feb 17 20:20:57 2003] [notice] Accept mutex: sysvsem (Default: 
sysvsem)
[Mon Feb 17 20:23:26 2003] [notice] caught SIGTERM, shutting down
[Mon Feb 17 20:23:32 2003] [notice] Apache/1.3.27 (Unix) configured -- 
resuming normal operations
[Mon Feb 17 20:23:32 2003] [notice] Accept mutex: sysvsem (Default: 
sysvsem)
[Mon Feb 17 20:28:05 2003] [notice] caught SIGTERM, shutting down

What else can I do to figure out how to get apache running with ssl?


Thanks for any help.


ken



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] error starting apache with SSL

Posted by Garth Winter Webb <ga...@perijove.com>.
mod_ssl isn't loaded.  If you compiled a static apache then:

    # httpd -l

should list mod_ssl.  If its not there (likely) then recompile apache
and make sure you enable ssl via ./configure.  

If you compiled a dynamic apache make sure you are loading the mod_ssl
module in your httpd.conf

Garth

On Mon, 2003-02-17 at 18:02, gebser@ameritech.net wrote:
> Hey, group,
> 
> I compiled apache along with mm, mod_ssl, and open_ssl and it starts up, 
> works, and shuts down fine.  However, starting it with SSL yeilds an 
> error on startup:
> 
> # ./apachectl startssl
> Syntax error on line 1096 of /usr/local/apache/conf/httpd.conf:
> Invalid command 'SSLEngine', perhaps mis-spelled or defined by a module 
> not included in the server configuration
> ./apachectl startssl: httpd could not be started
> 
> Line 1096 simply says:
> 
> SSLEngine on
> 
> The syntax check showed no errors.  So I'm guessing the problem has to 
> do with the "module not included...."  Taking a guess that it might 
> involve the SSL module, I find:
> 
> # ls ../libexec/*
> ../libexec/httpd.exp  ../libexec/libssl.so
> 
> logs/error_log just shows the stuff that works okay:
> 
> [Mon Feb 17 20:20:57 2003] [notice] Apache/1.3.27 (Unix) configured -- 
> resuming normal operations
> [Mon Feb 17 20:20:57 2003] [notice] Accept mutex: sysvsem (Default: 
> sysvsem)
> [Mon Feb 17 20:23:26 2003] [notice] caught SIGTERM, shutting down
> [Mon Feb 17 20:23:32 2003] [notice] Apache/1.3.27 (Unix) configured -- 
> resuming normal operations
> [Mon Feb 17 20:23:32 2003] [notice] Accept mutex: sysvsem (Default: 
> sysvsem)
> [Mon Feb 17 20:28:05 2003] [notice] caught SIGTERM, shutting down
> 
> What else can I do to figure out how to get apache running with ssl?
> 
> 
> Thanks for any help.
> 
> 
> ken
> 
> 
> 
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
-- 
Garth Winter Webb <ga...@perijove.com>

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org