[BugDB] apachectl startssl failure (PR#655)

2001-12-31 Thread modssl-bugdb

Full_Name: Tomki Camp
Version: 2.8.5
OS: RH Linux 6.1 base
Submission from: (NULL) (203.146.126.222)


I have installed apache 1.3.22 with Mod-ssl 2.8.5 as a DSO.  I have PHP 4.1.1
compiled into the HTTPD binary statically.  The 'apachectl start' works fine,
but with 'startssl' I get a failure 'httpd could not be started' and nothing is
written to the error_log, although if the log is not there it is instantiated.  
Please help?  Below is an strace of the startup, let me know if something else
would be of use.
Using Openssl .9.6b currently, not from system source, which is .9.6c.  (Tried
that as the mod_ssl source also, same result)

strace /usr/local/apache1322/bin/apachectl startssl
execve(/usr/local/apache1322/bin/apachectl,
[/usr/local/apache1322/bin/apachectl, startssl], [/* 30 vars */]) = 0
brk(0)  = 0x80a5420
open(/etc/ld.so.preload, O_RDONLY)= -1 ENOENT (No such file or directory)
open(/lib/i686/mmx/libtermcap.so.2, O_RDONLY) = -1 ENOENT (No such file or
directory)
stat(/lib/i686/mmx, 0xb44c)   = -1 ENOENT (No such file or directory)
open(/lib/i686/libtermcap.so.2, O_RDONLY) = -1 ENOENT (No such file or
directory)
stat(/lib/i686, 0xb44c)   = -1 ENOENT (No such file or directory)
open(/lib/mmx/libtermcap.so.2, O_RDONLY) = -1 ENOENT (No such file or
directory)
stat(/lib/mmx, 0xb44c)= -1 ENOENT (No such file or directory)
open(/lib/libtermcap.so.2, O_RDONLY)  = 3
fstat(3, {st_mode=S_IFREG|0755, st_size=15001, ...}) = 0
read(3, \177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\300\v\0..., 4096) =
4096
mmap(0, 13896, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40013000
mprotect(0x40016000, 1608, PROT_NONE)   = 0
mmap(0x40016000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x2000) =
0x40016000
close(3)= 0
open(/lib/libc.so.6, O_RDONLY)= 3
fstat(3, {st_mode=S_IFREG|0755, st_size=4118299, ...}) = 0
read(3, \177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\250\202..., 4096) =
4096
mmap(0, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x40017000
mmap(0, 993500, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40018000
mprotect(0x40103000, 30940, PROT_NONE)  = 0
mmap(0x40103000, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0xea000)
= 0x40103000
mmap(0x40107000, 14556, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40107000
close(3)= 0
mprotect(0x40018000, 962560, PROT_READ|PROT_WRITE) = 0
mprotect(0x40018000, 962560, PROT_READ|PROT_EXEC) = 0
personality(0 /* PER_??? */)= 0
getpid()= 15294
brk(0)  = 0x80a5420
brk(0x80a55c0)  = 0x80a55c0
brk(0x80a6000)  = 0x80a6000
getuid()= 0
getgid()= 0
geteuid()   = 0
getegid()   = 0
time(NULL)  = 1009610233
rt_sigaction(SIGCHLD, {SIG_DFL}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGCHLD, {SIG_DFL}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGINT, {SIG_DFL}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGINT, {SIG_DFL}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGQUIT, {SIG_DFL}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGQUIT, {SIG_DFL}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGHUP, {0x804bb38, [HUP INT ILL TRAP ABRT BUS FPE USR1 SEGV USR2
PIPE ALRM TERM XCPU XFSZ VTALRM PROF], 0x400}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGINT, {0x804bb38, [HUP INT ILL TRAP ABRT BUS FPE USR1 SEGV USR2
PIPE ALRM TERM XCPU XFSZ VTALRM PROF], 0x400}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGILL, {0x804bb38, [HUP INT ILL TRAP ABRT BUS FPE USR1 SEGV USR2
PIPE ALRM TERM XCPU XFSZ VTALRM PROF], 0x400}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGTRAP, {0x804bb38, [HUP INT ILL TRAP ABRT BUS FPE USR1 SEGV USR2
PIPE ALRM TERM XCPU XFSZ VTALRM PROF], 0x400}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGABRT, {0x804bb38, [HUP INT ILL TRAP ABRT BUS FPE USR1 SEGV USR2
PIPE ALRM TERM XCPU XFSZ VTALRM PROF], 0x400}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGFPE, {0x804bb38, [HUP INT ILL TRAP ABRT BUS FPE USR1 SEGV USR2
PIPE ALRM TERM XCPU XFSZ VTALRM PROF], 0x400}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGBUS, {0x804bb38, [HUP INT ILL TRAP ABRT BUS FPE USR1 SEGV USR2
PIPE ALRM TERM XCPU XFSZ VTALRM PROF], 0x400}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGSEGV, {0x804bb38, [HUP INT ILL TRAP ABRT BUS FPE USR1 SEGV USR2
PIPE ALRM TERM XCPU XFSZ VTALRM PROF], 0x400}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGPIPE, {0x804bb38, [HUP INT ILL TRAP ABRT BUS FPE USR1 SEGV USR2
PIPE ALRM TERM XCPU XFSZ VTALRM PROF], 0x400}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGALRM, {0x804bb38, [HUP INT ILL TRAP ABRT BUS FPE USR1 SEGV USR2
PIPE ALRM TERM XCPU XFSZ VTALRM PROF], 0x400}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGTERM, {0x804bb38, [HUP INT ILL TRAP ABRT BUS FPE USR1 SEGV USR2
PIPE ALRM TERM XCPU XFSZ VTALRM PROF], 0x400}, {SIG_DFL}, 8) = 0

Re: [BugDB] apachectl startssl failure (PR#655)

2001-12-31 Thread J. Johnson

Look in apachectl to see how it calls httpd in the cases of 'start' and
'startssl'.  These should work out to something like 'httpd' and 'httpd
-DSSL'.  Try each of these directly from the command line.  Possibly the
second instance fails (check the return status with 'echo $?'); that would
indicate a problem in the SSL section of your httpd.conf file.

If those both work, check the ownership and permissions of your log
directory and files.

=== JJ =

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