apachectl configtest is equivalent to httpd -t.  Try doing
httpd -DSSL -t and see if you still get errors. Chances
are you have sections of your httpd.conf file that should
be wrapped in a <IfDefine SSL> section.

Andy

ComCity wrote:
> 
> Well that doesn't make a lot of sense....so your saying that "configtest is
> better at error checking than apache is at running?"
> 
> Here's the error I get:
> 
> Syntax error on line 1158 of /usr/local/apache/conf/httpd.conf:
> Invalid command 'SSLEngine', perhaps mis-spelled or defined by a module not
> included in the server configuration
> 
> 8< snip
> #Listen 80
> <VirtualHost 209.10.62.26:80>
> DocumentRoot /home/webs/holisticfamilyandpets
> ServerName www.holisticfamilyandpets.com
> ScriptAlias /_vti_bin/_vti_adm/
> /home/webs/holisticfamilyandpets/_vti_bin/_vti_adm/
> ScriptAlias /_vti_bin/_vti_aut/
> /home/webs/holisticfamilyandpets/_vti_bin/_vti_aut/
> ScriptAlias /_vti_bin/ /home/webs/holisticfamilyandpets/_vti_bin/
> </VirtualHost>
> 
> #Listen 443
> <VirtualHost 209.10.62.26:443>
> DocumentRoot /home/webs/holisticfamilyandpets
> ServerName www.holisticfamilyandpets.com
> # The following line is line 1158
> SSLEngine ON
> SSLCertificateFile /usr/local/certs/holisticfamilyandpets.com.crt
> SSLCertificateKeyFile /usr/local/certs/holisticfamilyandpets.com.key
> SSLVerifyClient none
> </VirtualHost>
> 
> ----- Original Message -----
> From: "Owen Boyle" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, October 23, 2001 12:14 AM
> Subject: Re: New User: must be obvious question
> 
> > ComCity wrote:
> > >
> > > Hi, I've gotten Mod_SSL working on my apache server along with openSSL.
> I
> > > have working certs and they get served up as virtual servers.  My
> question
> > > has to be obvious.
> > >
> > > I can stop apache no problem with:
> > > apachectl stop
> > >
> > > I can start apache no problem with
> > > apachectl startssl
> > >
> > > However, I cannot "restart" apache with
> > > apachectl restart
> > >
> > > And, if I use
> > > apachectl configtest
> > >
> > > it tells me I have an error at the <SSLEngine On> line of my conf file
> line.
> > > This can't be real because it work fine if I stop and restart or reboot
> the
> > > computer.  The restart command simply doesn't seem to be working for me.
> >
> > If you are getting an error message when you configtest, then the
> > amazing thing is that your server is starting under any circumstances. I
> > suspect this is not a problem with apachectl which works fine for
> > everyone else but rather (suprise, suprise...) and error in your conf
> > file.
> >
> > To help diagnose it, please cut'n'paste the error messagea and post the
> > section from your conf file which deals with the SSL virtualhost.
> >
> > Rgds,
> > Owen Boyle.


-- 
Andy Osborne      ****************      "Vertical B2B Communities"
Senior Internet Engineer
Sift Group Ltd.               100 Victoria Street, Bristol BS1 6HZ
tel:+44 117 915 9600  fax:+44 117 915 9630   http://www.sift.co.uk

______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl)                   www.modssl.org
User Support Mailing List                      [EMAIL PROTECTED]
Automated List Manager                            [EMAIL PROTECTED]

Reply via email to