Suse8.1 + IHS 2.0.47.1/WAS 5.1 crash when enabling SSL
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > WebSphere > WebSphere HTTP Server > Suse8.1 + IHS 2.0.47.1/WAS 5.1 crash when enabling SSL




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Suse8.1 + IHS 2.0.47.1/WAS 5.1 crash when enabling SSL  
Elmar


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-06-04 11:00 PM

I am having problems setting up IHS 2.0.47.1 on a linux box (Suse 8.1).
LDAP authentication is enabled on IHS and working perfectly. But
whenever I enable SSL on a virtualhost(SSLEnable directive) IHS fails to
start and crashes (IHS starts up fine if I remove that one single
directive).
The process is running but no pid file gets created and I can of course
not access it via http. The last(only) line in the log is:
[notice] suEXEC mechanism enabled (wrapper: /opt/IBMIHS/bin/suexec)
..no sign of error.
An strace showed me that two libraries were missing which were
libaprutil-0.so.0 and libapr-0.so.0. ldd output on httpd executable
showed this as well, so I copied these to /lib. Nothing changed...
I guess this must be a library problem, I had IHS 1.3.26 installed
before that which came with the installation of WAS v5.1. So I
uninstalled 1.3.26 and installed 2.0.47.1. I also tried uninstalling and
then reinstalling 2.0.47.1 but nothing changed.
The keyfile I use was created on a windows box, but with same IHS
version, so I guess this can not be the problem? The reason I created
the keyfile on another box was that ikeyman was unable to create a new
key database(crash, reason: "native error outside vm") ....

Here is an strace of the startup:
7045  execve("/opt/IBMIHS/bin/httpd", ["/opt/IBMIHS/bin/httpd", "-d",
"/opt/IBMIHS", "-k", "restart"], [/* 50 vars */]) = 0
7045  uname({sys="Linux", node="nuptse", ...}) = 0
7045  brk(0)                            = 0x8099d48
7045  mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,
-1, 0) = 0x40013000
7045  open("/etc/ld.so.preload", O_RDONLY) = -1 ENOENT (No such file or
directory)
7045  open("/IBMIHSBUILD/lib/i686/mmx/libaprutil-0.so.0", O_RDONLY) = -1
ENOENT (No such file or directory)
7045  stat64("/IBMIHSBUILD/lib/i686/mmx", 0xbfffe99c) = -1 ENOENT (No
such file or directory)
7045  open("/IBMIHSBUILD/lib/i686/libaprutil-0.so.0", O_RDONLY) = -1
ENOENT (No such file or directory)
7045  stat64("/IBMIHSBUILD/lib/i686", 0xbfffe99c) = -1 ENOENT (No such
file or directory)
7045  open("/IBMIHSBUILD/lib/mmx/libaprutil-0.so.0", O_RDONLY) = -1
ENOENT (No such file or directory)
7045  stat64("/IBMIHSBUILD/lib/mmx", 0xbfffe99c) = -1 ENOENT (No such
file or directory)
7045  open("/IBMIHSBUILD/lib/libaprutil-0.so.0", O_RDONLY) = -1 ENOENT
(No such file or directory)
7045  stat64("/IBMIHSBUILD/lib", 0xbfffe99c) = -1 ENOENT (No such file
or directory)
7045  open("/etc/ld.so.cache", O_RDONLY) = 3
7045  fstat64(3, {st_mode=S_IFREG|0644, st_size=43484, ...}) = 0
7045  mmap2(NULL, 43484, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40014000
7045  close(3)                          = 0
7045  open("/lib/i686/mmx/libaprutil-0.so.0", O_RDONLY) = -1 ENOENT (No
such file or directory)
7045  stat64("/lib/i686/mmx", 0xbfffe99c) = -1 ENOENT (No such file or
directory)
7045  open("/lib/i686/libaprutil-0.so.0", O_RDONLY) = -1 ENOENT (No such
file or directory)
7045  stat64("/lib/i686", 0xbfffe99c)   = -1 ENOENT (No such file or
directory)
7045  open("/lib/mmx/libaprutil-0.so.0", O_RDONLY) = -1 ENOENT (No such
file or directory)
7045  stat64("/lib/mmx", 0xbfffe99c)    = -1 ENOENT (No such file or
directory)
7045  open("/lib/libaprutil-0.so.0", O_RDONLY) = 3
7045  read(3,
" \177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\
1\0\0\0\300L\0"..., 1024) = 1024
7045  fstat64(3, {st_mode=S_IFREG|0755, st_size=95070, ...}) = 0
7045  mmap2(NULL, 77440, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) =
0x4001f000
7045  mprotect(0x40031000, 3712, PROT_NONE) = 0
7045  mmap2(0x40031000, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED, 3, 0x11) = 0x40031000
7045  close(3)                          = 0
7045  open("/usr/lib/libexpat.so.0", O_RDONLY) = 3
7045  read(3, " \177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\
1\0\0\0
\0\000"..., 1024) = 1024
7045  fstat64(3, {st_mode=S_IFREG|0755, st_size=161248, ...}) = 0
7045  mmap2(NULL, 129328, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) =
0x40032000
7045  mprotect(0x4004e000, 14640, PROT_NONE) = 0
7045  mmap2(NULL, 129328, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) =
0x40032000
7045  mprotect(0x4004e000, 14640, PROT_NONE) = 0
7045  mmap2(0x4004e000, 16384, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED, 3, 0x1b) = 0x4004e000
7045  close(3)                          = 0
7045  open("/lib/libapr-0.so.0", O_RDONLY) = 3
7045  read(3,
" \177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\
1\0\0\0\240\213"..., 1024) = 1024
7045  fstat64(3, {st_mode=S_IFREG|0755, st_size=182453, ...}) = 0
7045  mmap2(NULL, 123424, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) =
0x40052000
7045  mprotect(0x4006f000, 4640, PROT_NONE) = 0
7045  mmap2(0x4006f000, 8192, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED, 3, 0x1c) = 0x4006f000
7045  close(3)                          = 0
7045  open("/lib/libpthread.so.0", O_RDONLY) = 3
7045  read(3,
" \177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\
1\0\0\0\300B\0"..., 1024) = 1024
7045  fstat64(3, {st_mode=S_IFREG|0755, st_size=106013, ...}) = 0
7045  mmap2(NULL, 85328, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) =
0x40071000
7045  mprotect(0x4007f000, 27984, PROT_NONE) = 0
7045  mmap2(0x4007f000, 28672, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED, 3, 0xe) = 0x4007f000
7045  close(3)                          = 0
7045  open("/lib/librt.so.1", O_RDONLY) = 3
7045  read(3,
" \177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\
1\0\0\0P\32\0\000"..., 1024) = 1024


it goes loading all modules - no errors there except
it is looking for /tmp/gskit.trace and doesnt find it



the last page is:

7046  <... mmap2 resumed> )             = 0x40639000
7047  <... read resumed> "root:x:0:\nbin:x:1:daemon\ndaemon:"..., 4096)
= 519
7046  close(10 <unfinished ...>
7047  read(11,  <unfinished ...>
7046  <... close resumed> )             = 0
7047  <... read resumed> "", 4096)      = 0
7046  munmap(0x40358000, 43484 <unfinished ...>
7047  close(11 <unfinished ...>
7046  <... munmap resumed> )            = 0
7047  <... close resumed> )             = 0
7046  brk(0x812a000 <unfinished ...>
7047  munmap(0x4032d000, 4096 <unfinished ...>
7046  <... brk resumed> )               = 0x812a000
7047  <... munmap resumed> )            = 0
7046  brk(0x8130000 <unfinished ...>
7047  setgroups32(0x2, 0x80d8c78 <unfinished ...>
7046  <... brk resumed> )               = 0x8130000
7047  <... setgroups32 resumed> )       = 0
7046  brk(0x8136000 <unfinished ...>
7047  geteuid32( <unfinished ...>
7046  <... brk resumed> )               = 0x8136000
7047  <... geteuid32 resumed> )         = 0
7046  rt_sigprocmask(SIG_UNBLOCK, [ABRT],  <unfinished ...>
7047  setuid32(0xfffe <unfinished ...>
7046  <... rt_sigprocmask resumed> NULL, 8) = 0
7047  <... setuid32 resumed> )          = 0
7046  kill(7046, SIGABRT <unfinished ...>
7047  accept(10,  <unfinished ...>
7046  <... kill resumed> )              = 0



Thanks!!


Kind regards
Elmar





[ Post a follow-up to this message ]



    Re: Suse8.1 + IHS 2.0.47.1/WAS 5.1 crash when enabling SSL  
Sunit Patke


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-09-04 01:08 PM

Last time I had seen this problem with 2.0.47 was when one of the plug-in
was using a different version of GSKit than IHS. Make sure that you are
using the right version of all plug-in (that use the same version of GSKit
as IHS).

Sunit

"Elmar" <ehaussmann@gmx.net> wrote in message
news:cf0fev$5q1q$1@news.boulder.ibm.com...
> I am having problems setting up IHS 2.0.47.1 on a linux box (Suse 8.1).
> LDAP authentication is enabled on IHS and working perfectly. But
> whenever I enable SSL on a virtualhost(SSLEnable directive) IHS fails to
> start and crashes (IHS starts up fine if I remove that one single
> directive).
> The process is running but no pid file gets created and I can of course
> not access it via http. The last(only) line in the log is:
> [notice] suEXEC mechanism enabled (wrapper: /opt/IBMIHS/bin/suexec)
> ..no sign of error.
> An strace showed me that two libraries were missing which were
> libaprutil-0.so.0 and libapr-0.so.0. ldd output on httpd executable
> showed this as well, so I copied these to /lib. Nothing changed...
> I guess this must be a library problem, I had IHS 1.3.26 installed
> before that which came with the installation of WAS v5.1. So I
> uninstalled 1.3.26 and installed 2.0.47.1. I also tried uninstalling and
> then reinstalling 2.0.47.1 but nothing changed.
> The keyfile I use was created on a windows box, but with same IHS
> version, so I guess this can not be the problem? The reason I created
> the keyfile on another box was that ikeyman was unable to create a new
> key database(crash, reason: "native error outside vm") ....
>
> Here is an strace of the startup:
> 7045  execve("/opt/IBMIHS/bin/httpd", ["/opt/IBMIHS/bin/httpd", "-d",
> "/opt/IBMIHS", "-k", "restart"], [/* 50 vars */]) = 0
> 7045  uname({sys="Linux", node="nuptse", ...}) = 0
> 7045  brk(0)                            = 0x8099d48
> 7045  mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,
> -1, 0) = 0x40013000
> 7045  open("/etc/ld.so.preload", O_RDONLY) = -1 ENOENT (No such file or
> directory)
> 7045  open("/IBMIHSBUILD/lib/i686/mmx/libaprutil-0.so.0", O_RDONLY) = -1
> ENOENT (No such file or directory)
> 7045  stat64("/IBMIHSBUILD/lib/i686/mmx", 0xbfffe99c) = -1 ENOENT (No
> such file or directory)
> 7045  open("/IBMIHSBUILD/lib/i686/libaprutil-0.so.0", O_RDONLY) = -1
> ENOENT (No such file or directory)
> 7045  stat64("/IBMIHSBUILD/lib/i686", 0xbfffe99c) = -1 ENOENT (No such
> file or directory)
> 7045  open("/IBMIHSBUILD/lib/mmx/libaprutil-0.so.0", O_RDONLY) = -1
> ENOENT (No such file or directory)
> 7045  stat64("/IBMIHSBUILD/lib/mmx", 0xbfffe99c) = -1 ENOENT (No such
> file or directory)
> 7045  open("/IBMIHSBUILD/lib/libaprutil-0.so.0", O_RDONLY) = -1 ENOENT
> (No such file or directory)
> 7045  stat64("/IBMIHSBUILD/lib", 0xbfffe99c) = -1 ENOENT (No such file
> or directory)
> 7045  open("/etc/ld.so.cache", O_RDONLY) = 3
> 7045  fstat64(3, {st_mode=S_IFREG|0644, st_size=43484, ...}) = 0
> 7045  mmap2(NULL, 43484, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40014000
> 7045  close(3)                          = 0
> 7045  open("/lib/i686/mmx/libaprutil-0.so.0", O_RDONLY) = -1 ENOENT (No
> such file or directory)
> 7045  stat64("/lib/i686/mmx", 0xbfffe99c) = -1 ENOENT (No such file or
> directory)
> 7045  open("/lib/i686/libaprutil-0.so.0", O_RDONLY) = -1 ENOENT (No such
> file or directory)
> 7045  stat64("/lib/i686", 0xbfffe99c)   = -1 ENOENT (No such file or
> directory)
> 7045  open("/lib/mmx/libaprutil-0.so.0", O_RDONLY) = -1 ENOENT (No such
> file or directory)
> 7045  stat64("/lib/mmx", 0xbfffe99c)    = -1 ENOENT (No such file or
> directory)
> 7045  open("/lib/libaprutil-0.so.0", O_RDONLY) = 3
> 7045  read(3,
> " \177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\
1\0\0\0\300L\0"..., 1024) = 1024
> 7045  fstat64(3, {st_mode=S_IFREG|0755, st_size=95070, ...}) = 0
> 7045  mmap2(NULL, 77440, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) =
> 0x4001f000
> 7045  mprotect(0x40031000, 3712, PROT_NONE) = 0
> 7045  mmap2(0x40031000, 4096, PROT_READ|PROT_WRITE,
> MAP_PRIVATE|MAP_FIXED, 3, 0x11) = 0x40031000
> 7045  close(3)                          = 0
> 7045  open("/usr/lib/libexpat.so.0", O_RDONLY) = 3
> 7045  read(3, " \177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\
1\0\0\0
> \0\000"..., 1024) = 1024
> 7045  fstat64(3, {st_mode=S_IFREG|0755, st_size=161248, ...}) = 0
> 7045  mmap2(NULL, 129328, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) =
> 0x40032000
> 7045  mprotect(0x4004e000, 14640, PROT_NONE) = 0
> 7045  mmap2(NULL, 129328, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) =
> 0x40032000
> 7045  mprotect(0x4004e000, 14640, PROT_NONE) = 0
> 7045  mmap2(0x4004e000, 16384, PROT_READ|PROT_WRITE,
> MAP_PRIVATE|MAP_FIXED, 3, 0x1b) = 0x4004e000
> 7045  close(3)                          = 0
> 7045  open("/lib/libapr-0.so.0", O_RDONLY) = 3
> 7045  read(3,
> " \177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\
1\0\0\0\240\213"..., 1024) = 1024
> 7045  fstat64(3, {st_mode=S_IFREG|0755, st_size=182453, ...}) = 0
> 7045  mmap2(NULL, 123424, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) =
> 0x40052000
> 7045  mprotect(0x4006f000, 4640, PROT_NONE) = 0
> 7045  mmap2(0x4006f000, 8192, PROT_READ|PROT_WRITE,
> MAP_PRIVATE|MAP_FIXED, 3, 0x1c) = 0x4006f000
> 7045  close(3)                          = 0
> 7045  open("/lib/libpthread.so.0", O_RDONLY) = 3
> 7045  read(3,
> " \177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\
1\0\0\0\300B\0"..., 1024) = 1024
> 7045  fstat64(3, {st_mode=S_IFREG|0755, st_size=106013, ...}) = 0
> 7045  mmap2(NULL, 85328, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) =
> 0x40071000
> 7045  mprotect(0x4007f000, 27984, PROT_NONE) = 0
> 7045  mmap2(0x4007f000, 28672, PROT_READ|PROT_WRITE,
> MAP_PRIVATE|MAP_FIXED, 3, 0xe) = 0x4007f000
> 7045  close(3)                          = 0
> 7045  open("/lib/librt.so.1", O_RDONLY) = 3
> 7045  read(3,
> " \177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\
1\0\0\0P\32\0\000"..., 1024) =
1024
>
>
> it goes loading all modules - no errors there except
> it is looking for /tmp/gskit.trace and doesnt find it
>
>
>
> the last page is:
>
> 7046  <... mmap2 resumed> )             = 0x40639000
> 7047  <... read resumed> "root:x:0:\nbin:x:1:daemon\ndaemon:"..., 4096)
> = 519
> 7046  close(10 <unfinished ...>
> 7047  read(11,  <unfinished ...>
> 7046  <... close resumed> )             = 0
> 7047  <... read resumed> "", 4096)      = 0
> 7046  munmap(0x40358000, 43484 <unfinished ...>
> 7047  close(11 <unfinished ...>
> 7046  <... munmap resumed> )            = 0
> 7047  <... close resumed> )             = 0
> 7046  brk(0x812a000 <unfinished ...>
> 7047  munmap(0x4032d000, 4096 <unfinished ...>
> 7046  <... brk resumed> )               = 0x812a000
> 7047  <... munmap resumed> )            = 0
> 7046  brk(0x8130000 <unfinished ...>
> 7047  setgroups32(0x2, 0x80d8c78 <unfinished ...>
> 7046  <... brk resumed> )               = 0x8130000
> 7047  <... setgroups32 resumed> )       = 0
> 7046  brk(0x8136000 <unfinished ...>
> 7047  geteuid32( <unfinished ...>
> 7046  <... brk resumed> )               = 0x8136000
> 7047  <... geteuid32 resumed> )         = 0
> 7046  rt_sigprocmask(SIG_UNBLOCK, [ABRT],  <unfinished ...>
> 7047  setuid32(0xfffe <unfinished ...>
> 7046  <... rt_sigprocmask resumed> NULL, 8) = 0
> 7047  <... setuid32 resumed> )          = 0
> 7046  kill(7046, SIGABRT <unfinished ...>
> 7047  accept(10,  <unfinished ...>
> 7046  <... kill resumed> )              = 0
>
>
>
> Thanks!!
>
>
> Kind regards
> Elmar







[ Post a follow-up to this message ]



    Re: Suse8.1 + IHS 2.0.47.1/WAS 5.1 crash when enabling SSL  


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
12-22-05 11:07 PM

export LD_PRELOAD=/usr/lib/libstdc++-libc6.2-2.so.3

then restart apache





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 10:19 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register