[Openswan Users] Openswan doesn't starts because pluto is down

Paul Wouters paul at xelerance.com
Tue Jan 12 10:03:54 EST 2010


On Tue, 12 Jan 2010, Jorge Jimenez wrote:

> Here you have gdb output from core file:

Unfortunately, it does not contain any function names in the backtrace.
I am not sure why that is. I guess it has something to do with the
changed binaries / prelinking?

Paul

> [root at pross-mon01 ipsec]# gdb /usr/libexec/ipsec/pluto /var/run/pluto/core.25338
> GNU gdb Fedora (6.8-37.el5)
> Copyright (C) 2008 Free Software Foundation, Inc.
> License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
> This is free software: you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
> and "show warranty" for details.
> This GDB was configured as "i386-redhat-linux-gnu"...
>
> warning: the debug information found in "/usr/lib/debug//usr/libexec/ipsec/pluto.debug" does not match "/usr/libexec/ipsec/pluto" (CRC mismatch).
>
>
> warning: the debug information found in "/usr/lib/debug/usr/libexec/ipsec/pluto.debug" does not match "/usr/libexec/ipsec/pluto" (CRC mismatch).
>
> (no debugging symbols found)
>
> warning: Can't read pathname for load map: Input/output error.
>
> warning: .dynamic section for "/usr/lib/libnspr4.so" is not at the expected address
>
> warning: difference appears to be caused by prelink, adjusting expectations
>
> warning: .dynamic section for "/usr/lib/libnss3.so" is not at the expected address
>
> warning: difference appears to be caused by prelink, adjusting expectations
>
> warning: .dynamic section for "/lib/libcrypt.so.1" is not at the expected address
>
> warning: difference appears to be caused by prelink, adjusting expectations
>
> warning: .dynamic section for "/lib/libc.so.6" is not at the expected address
>
> warning: difference appears to be caused by prelink, adjusting expectations
>
> warning: .dynamic section for "/usr/lib/libnssutil3.so" is not at the expected address
>
> warning: difference appears to be caused by prelink, adjusting expectations
>
> warning: .dynamic section for "/usr/lib/libplc4.so" is not at the expected address
>
> warning: difference appears to be caused by prelink, adjusting expectations
>
> warning: .dynamic section for "/usr/lib/libplds4.so" is not at the expected address
>
> warning: difference appears to be caused by prelink, adjusting expectations
>
> warning: .dynamic section for "/lib/ld-linux.so.2" is not at the expected address
>
> warning: difference appears to be caused by prelink, adjusting expectations
>
> warning: the debug information found in "/usr/lib/debug//usr/libexec/ipsec/pluto.debug" does not match "/usr/libexec/ipsec/pluto" (CRC mismatch).
>
>
> warning: the debug information found in "/usr/lib/debug/usr/libexec/ipsec/pluto.debug" does not match "/usr/libexec/ipsec/pluto" (CRC mismatch).
>
> (no debugging symbols found)
> Loaded symbols for /usr/libexec/ipsec/pluto
> Reading symbols from /usr/lib/libnspr4.so...(no debugging symbols found)...done.
> Loaded symbols for /usr/lib/libnspr4.so
> Reading symbols from /usr/lib/libnss3.so...(no debugging symbols found)...done.
> Loaded symbols for /usr/lib/libnss3.so
> Reading symbols from /usr/lib/libfipscheck.so.1...(no debugging symbols found)...done.
> Loaded symbols for /usr/lib/libfipscheck.so.1
> Reading symbols from /lib/libcrypt.so.1...(no debugging symbols found)...done.
> Loaded symbols for /lib/libcrypt.so.1
> Reading symbols from /usr/lib/sse2/libgmp.so.3...done.
> Loaded symbols for /usr/lib/sse2/libgmp.so.3
> Reading symbols from /lib/libc.so.6...done.
> Loaded symbols for /lib/libc.so.6
> Reading symbols from /lib/libpthread.so.0...done.
> Loaded symbols for /lib/libpthread.so.0
> Reading symbols from /lib/libdl.so.2...done.
> Loaded symbols for /lib/libdl.so.2
> Reading symbols from /usr/lib/libnssutil3.so...done.
> Loaded symbols for /usr/lib/libnssutil3.so
> Reading symbols from /usr/lib/libplc4.so...done.
> Loaded symbols for /usr/lib/libplc4.so
> Reading symbols from /usr/lib/libplds4.so...done.
> Loaded symbols for /usr/lib/libplds4.so
> Reading symbols from /lib/ld-linux.so.2...done.
> Loaded symbols for /lib/ld-linux.so.2
> Reading symbols from /usr/lib/libsoftokn3.so...done.
> Loaded symbols for /usr/lib/libsoftokn3.so
> Reading symbols from /usr/lib/libfreebl3.so...done.
> Loaded symbols for /usr/lib/libfreebl3.so
>
> Core was generated by `/usr/libexec/ipsec/pluto --nofork --secretsfile /etc/ipse
> Program terminated with signal 11, Segmentation fault.
> [New process 25338]
> [New process 25344]
> #0  0x0052a32a in ?? () from /usr/libexec/ipsec/pluto
> (gdb) bt full
> #0  0x0052a32a in ?? () from /usr/libexec/ipsec/pluto
> No symbol table info available.
> #1  0x0052e2cc in ?? () from /usr/libexec/ipsec/pluto
> No symbol table info available.
> #2  0x004fb4be in main_outI1 () from /usr/libexec/ipsec/pluto
> No symbol table info available.
> #3  0x004f3d4b in ?? () from /usr/libexec/ipsec/pluto
> No symbol table info available.
> #4  0x004dfc39 in ?? () from /usr/libexec/ipsec/pluto
> No symbol table info available.
> #5  0x004e25aa in ?? () from /usr/libexec/ipsec/pluto
> No symbol table info available.
> #6  0x0051a742 in ?? () from /usr/libexec/ipsec/pluto
> No symbol table info available.
> #7  0x0051b754 in ?? () from /usr/libexec/ipsec/pluto
> No symbol table info available.
> #8  0x004ee33d in ?? () from /usr/libexec/ipsec/pluto
> No symbol table info available.
> #9  0x004eb064 in main () from /usr/libexec/ipsec/pluto
> No symbol table info available.
>
> Do you need something else?
>
> Thanks
>
> Jorge Jiménez Miguélez
> Avinguda Diagonal, 605 - 4ª Planta
> 08028 - Barcelona
> Tel.: 902 01 35 34 - Móvil: 669 83 08 76
> http://www.pross.com
>
> -----Mensaje original-----
> De: Jorge Jimenez
> Enviado el: lunes, 11 de enero de 2010 22:25
> Para: Paul Wouters
> CC: Tuomo Soini; users at openswan.org; Ondrej Valousek; Jorge Jimenez
> Asunto: RE: [Openswan Users] Openswan doesn't starts because pluto is down
>
> Hi Paul,
>
> How can I generate a core file? And how I run gdb "bt full" on it?
>
> Thanks and kind regards
>
> Jorge Jiménez Miguélez
> Avinguda Diagonal, 605 - 4ª Planta
> 08028 - Barcelona
> Tel.: 902 01 35 34 - Móvil: 669 83 08 76
> http://www.pross.com
>
>
> -----Mensaje original-----
> De: Paul Wouters [mailto:paul at xelerance.com]
> Enviado el: lunes, 11 de enero de 2010 21:36
> Para: Jorge Jimenez
> CC: Tuomo Soini; users at openswan.org; Ondrej Valousek
> Asunto: RE: [Openswan Users] Openswan doesn't starts because pluto is down
>
> On Mon, 11 Jan 2010, Jorge Jimenez wrote:
>
>> Hi Paul
>>
>> Nothing.
>
> Then you'll have to install the debug packages, enable dumpdir=/var/run/pluto/ in
> ipsec.conf and generate a core file, and run a gdb "bt full" on it to give us the
> information of the crasher.
>
> Paul
>
>> Thanks and kind regards
>>
>> Jorge Jiménez Miguélez
>> Avinguda Diagonal, 605 - 4ª Planta
>> 08028 - Barcelona
>> Tel.: 902 01 35 34 - Móvil: 669 83 08 76
>> http://www.pross.com
>>
>> -----Mensaje original-----
>> De: Paul Wouters [mailto:paul at xelerance.com]
>> Enviado el: lunes, 11 de enero de 2010 20:42
>> Para: Jorge Jimenez
>> CC: Tuomo Soini; users at openswan.org; Ondrej Valousek
>> Asunto: RE: [Openswan Users] Openswan doesn't starts because pluto is down
>>
>> On Mon, 11 Jan 2010, Jorge Jimenez wrote:
>>
>>> Finally I uninstall openswan and install it again. Now it starts but pluto is logging a segmentation fault.
>>> This is my messages log output:
>>
>> Show me the output of:
>>
>> grep ASSERTION /var/log/*
>>
>> Paul
>>
>>
>
>


More information about the Users mailing list