I'm having a lot of problems getting apache to run with the -DSSL flag.
Runs great without, but it bombs every time when ssl is enabled.
Linux 2.0.36 (RH 5.2) on PII
Apache 1.3.9
OpenSSL 0.9.4
mod_ssl 2.4.8
(nothing else)
Last bit of strace:
time(NULL) = 941856228
getpid() = 1133
write(16, "[05/Nov/1999 18:43:48 01133] [in"..., 95) = 95
brk(0x8192000) = 0x8192000
open("/home/https/conf/mime.types", O_RDONLY) = 3
fstat(3, {st_mode=0, st_size=0, ...}) = 0
fstat(3, {st_mode=0, st_size=0, ...}) = 0
mmap(0, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x2956b000
read(3, "# This is a comment. I love comm"..., 4096) = 4096
read(3, "application/vnd.powerbuilder6\na"..., 4096) = 3258
brk(0x8195000) = 0x8195000
read(3, "", 4096) = 0
close(3) = 0
munmap(0x2956b000, 4096) = 0
open("/home/https/logs/access_log", O_WRONLY|O_APPEND|O_CREAT, 0644) = 3
fcntl(3, F_DUPFD, 15) = 17
close(3) = 0
open("/home/https/logs/access_log", O_WRONLY|O_APPEND|O_CREAT, 0644) = 3
fcntl(3, F_DUPFD, 15) = 18
close(3) = 0
open("/home/https/logs/ssl_request_log", O_WRONLY|O_APPEND|O_CREAT, 0644)
= 3
fcntl(3, F_DUPFD, 15) = 19
close(3) = 0
chdir("/") = 0
fork() = 1134
--- SIGCHLD (Child exited) ---
munmap(0x29561000, 4096) = 0
_exit(0) = ?
The error_log says it can't bind to the port, but w/o ssl support it will
bind to port 81/443 just fine.
Compiled like:
cd /usr/local/src/https/openssl
./config
make
make test
make install
cd /usr/local/src/https/apache
make clean ; ./configure --prefix=/home/https --exec-prefix=/usr/local/https
cd /usr/local/src/https/mod_ssl
sudo ./configure --with-apache=../apache \
--with-prefix=/home/https \
--with-crt=/home/https/server.crt \
--with-key=/home/https/server.key
cd /usr/local/src/https/apache
export SSL_BASE=../openssl
sudo ./configure --prefix=/home/https \
--exec-prefix=/usr/local/https \
--enable-module=ssl \
--runtimedir=/home/https/run
sudo make
sudo make install
su -
/usr/local/https/bin/httpd -DSSL
*boom*
Thanks...
--
Aaron Turner, Core Developer http://vodka.linuxkb.org/~aturner/
Linux Knowledge Base Organization http://linuxkb.org/
Because world domination requires quality open documentation.
On Fri, 5 Nov 1999, Ralf S. Engelschall wrote:
>
> Because of the availability of a very important bugfix, I immediately release
> mod_ssl 2.4.8 with it. This version especially should solve any observed
> segfaults which not even gone away by using `SSLSessionCache none' (because
> they were not related to DBM libraries and other session cache problematic
> things). See below for details. So, if you received segfaults in the past,
> you're now strongly encouraged to upgrade to this version (because the chance
> is very high that your situation applies to the three conditions listed
> below).
______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]