[Openswan Users] Pluto Failure with Certificate

Brian Candler B.Candler at pobox.com
Thu Apr 20 12:57:11 CEST 2006

On Thu, Apr 20, 2006 at 12:34:33PM +0200, sasa wrote:
> "Paul Wouters" wrote:
> >/usr/sbin/ipsec is a script. That script at some point calls the "pluto" 
> >daemon.
> >That is the program that is segfaulting on you. Not the /usr/sbin/ipsec 
> >script.
> >
> >>Core was generated by `/usr/libexec/ipsec/pluto --nofork --secretsfile
> >
> >As gdb tells you too. Tell gdb where to find the sourcecode for that pluto
> >by pointing it to the pluto binary in the source dir.
> ..sorry for my confusion but I haven't understood in what directory I must 
> run gdb and with which options.

(1) cd to whatever directory the 'pluto' program was built in, e.g.

# cd /path/to/somewhere/openswan-2.4.5/programs/pluto

(2) run

# gdb -c /path/to/pluto.core /usr/libexec/ipsec/pluto

or if that doesn't work,

# gdb -c /path/to/pluto.core ./pluto

More information about the Users mailing list