Re: cant start ssl on apache2

"David P. Mott" <[email protected]>
Newsgroups gmane.comp.apache.mod-ssl.user
Message-ID <[email protected]>
On Fri, 27 Apr 2007, javier rojas wrote:

> 2007/4/27, Phil Ehrens <[email protected]>:
>> Are you calling apachectl using the full path to the apachectl
>> that knows where THOSE conf files are?
>> 
>
> /usr/local/apache2/bin/apachectl restart
>
> to see if apachectl was reading the correct httpd.conf and it didn't
> start the server....

I don't know if this will help... I have an installation on linux (2.4.18) 
wherein apache is installed in /usr/local/apachessl2/, and if I issue the 
'apachectl restart' command it will *not* start SSL.

Instead, I must execute 'apachectl startssl'.

You can see if you have this situation: just examine the apachessl script 
(using less, vi, or your favorite editor) and search for 'startssl'.  In 
my script, it looks like it just boils down to a '-DSSL' being passed to 
the invocation of httpd.

You may also want to invoke the httpd executable by-hand to see if it 
issues anything on STDERR, and also check the error logfile that you have 
specified in your .conf file.  If Apache is getting that far, it will 
almost certainly give you some good feedback.

Finally (or perhaps first), you may want to invoke 'apachectl -t' to have 
it check your config file for syntax errors.  It will not only tell you if 
you've mistyped something, but in some cases it'll tell you that you've 
left something out or specified conflicting configuration options.

-dpmott
______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl)                   www.modssl.org
User Support Mailing List                      [email protected]
Automated List Manager                            [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.