Dean,

I just muddled through the same issue,  the modssl example is not accurate, or
at least it didnt work for me,  you do need to add the statement
Listen 443
in your httpd.conf before it will work.

R/Doug

Dean Hall wrote:

> I am having trouble running Apache with mod_ssl:
>
> [root@yggdrasill bin]# /usr/local/apache/bin/apachectl startssl
> /usr/local/apache/bin/apachectl: line 184: 4921 Segmentation fault (core
> dumped) $HTTPD -DSSL
> /usr/local/apache/bin/apachectl startssl: httpd could not be started
>
> The error_log shows the following:
>
> [notice] Apache/1.3.22 (Unix) configured -- resuming normal operations
> [notice] Accept mutex: sysvsem (Default: sysvsem)
> [notice] caught SIGTERM, shutting down
>
> I am running:
>
> - RedHat Linux 7.2
> - 2.4.9-7 kernel
> - openssl-0.9.6b-8
> - Apache 1.3.22
>     * mod_ssl 2.8.5-1.3.22 (compiled into source tree)
>     * mm 1.1.3
>     * php 4.0.6 (compiled as a DSO)
>         > mhash 0.8.11
>         > libmcrypt 2.4.17 (mcrypt 2.5.10) -- dropped this from PHP as
> Apache wouldn't start with it
>         > mysql 3.23.41-1
>
> Here's how I compiled and/or installed Apache and related things, BTW:
>
> openssl: Installed RPM
>
> mm:
> ./configure; make; make install
>
> mod_ssl:
> ./configure \
>     --with-apache=../$APACHE_SRC_DIR \
>     --with-ssl \
>     --with-rsa \
>     --with-mm=../$MM_SRC_DIR
>     --enable-shared=ssl
>
> apache:
> ./configure \
>     --enable-module=ssl \
>     --enable-module=proxy \
>     --enable-shared=proxy \
>     --enable-module=rewrite \
>     --enable-shared=rewrite \
>     --enable-shared=ssl \
>     --enable-rule=SHARED_CORE \
>     --enable-rule=SHARED_CHAIN \
>     --enable-module=so
> make; make certificate; make install
>
> (These might not be important as they only pertain to the PHP DSO:)
>
> mhash:
> ./configure; make; make check; make install; make distclean
>
> php:
> ./configure \
>     --with-config-file-path=/usr/local/apache/conf \
>     --with-apxs=/usr/local/apache/bin/apxs \
>     --with-pear=/usr/local \
>     --with-zlib \
>     --with-openssl \
>     --with-ldap \
>     --with-mhash \
>     --with-mysql
> make; make install
>
> I'm not dealing with a custom httpd.conf yet. I'm just using the default one
> for now -- until I can get it to start.
>
> Any ideas?
> Dean.
>
> ______________________________________________________________________
> Apache Interface to OpenSSL (mod_ssl)                   www.modssl.org
> User Support Mailing List                      [EMAIL PROTECTED]
> Automated List Manager                            [EMAIL PROTECTED]

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

Reply via email to