[strongSwan] A problem of using “ipsec start --attach-gdb” command
xiaomei xie
almacomeon at gmail.com
Sun Apr 7 13:36:00 CEST 2013
Hello all,
Did anyone else use “ipsec start --attach-gdb” to debug the
strongswan4.6.4? When I use that command it show me such information as
following:
===========================================
ipsec start --attach-gdb
Starting strongSwan 4.5.2 IPsec [starter]...
!! Your strongswan.conf contains manual plugin load options for
!! pluto and/or charon. This is recommended for experts only, see
!! http://wiki.strongswan.org/projects/strongswan/wiki/PluginLoad
GNU gdb 6.5 Cavium Networks Version: 1_7_2, build 50
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "mips64-octeon-linux-gnu"...Using host
libthread_db library "/lib64/libthread_db.so.1".
(gdb) charon too long to start... - kill kill
Quit
(gdb) charon has died -- restart scheduled (5sec)
(gdb) run
Starting program: /tmp/lib/libexec/ipsec/charon
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
00[DMN] Starting IKEv2 charon daemon (strongSwan 4.5.2)
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
00[CFG] loading ca certificates from '/tmp/lib/etc/ipsec.d/cacerts'
00[CFG] loading aa certificates from '/tmp/lib/etc/ipsec.d/aacerts'
00[CFG] loading ocsp signer certificates from
'/tmp/lib/etc/ipsec.d/ocspcerts'
00[CFG] loading attribute certificates from '/tmp/lib/etc/ipsec.d/acerts'
00[CFG] loading crls from '/tmp/lib/etc/ipsec.d/crls'
00[CFG] loading secrets from '/tmp/lib/etc/ipsec.secrets'
00[CFG] loaded IKE secret for home at debug.strongswan.org
00[CFG] loaded IKE secret for *@debug.strongswan.org
00[CFG] loaded IKE secret for %any
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
00[CFG] HA config misses local/remote address
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
00[DMN] loaded plugins: openssl random x509 pubkey hmac xcbc stroke
kernel-pfkey kernel-netlink eap-radius socket-default dhcp
00[JOB] spawning 1000 worker threads
charon (9083) started after 7880 ms
07[CFG] received stroke: add connection 'debug20110101'
07[CFG] added configuration 'debug20110101'
07[CFG] adding virtual IP address pool 'debug20110101': 66.6.31.0/24
07[CFG] received stroke: add connection 'au-gw'
07[CFG] added configuration 'au-gw'
starter_stop_charon(): charon does not respond, sending KILL
charon stopped after 8200 ms
ipsec starter stopped
===============================================
>>>(gdb) charon too long to start... - kill kill
>>> (gdb) charon has died -- restart scheduled (5sec)
>>>Starting program: /tmp/lib/libexec/ipsec/charon
>>> [tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
I wonder whether such information was abnormal? How to solve it ?
And if I enter ctrl-c button to stop the process it show me such information
>>>starter_stop_charon(): charon does not respond, sending KILL
>>>charon stopped after 8200 ms
>>>ipsec starter stopped
Than the charon process not exited? How to solve it ?
Thank you for your reply!
youth,
alma
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.strongswan.org/pipermail/users/attachments/20130407/04f23588/attachment.html>
More information about the Users
mailing list