[Openswan Users] pluto fails to start

Adam Williams awilliam at mdah.state.ms.us
Fri Feb 17 08:35:21 CET 2006


I'm following the Configuring page at the Openswan wiki, but I run into 
an error with pluto failing to start.  I've seached google but haven't 
found an answer.

I'm at the net-to-net section, and setup my /etc/ipsec.conf on both 
Linux PCs.  so then I do ipsec auto --up net-to-net and I get:

[root at missioncontrol ~]# ipsec auto --up net-to-net
whack: Pluto is not running (no "/var/run/pluto/pluto.ctl")

so i look in /var/log/secure and see:

Feb 17 08:30:06 missioncontrol pluto[27398]: Starting Pluto (Openswan 
Version 2.4.4 X.509-1.5.4 PLUTO_SENDS_VENDORID PLUTO_USES_KEYRR; Vendor 
ID OEz}FFFfgr_e)
Feb 17 08:30:06 missioncontrol pluto[27398]: Setting NAT-Traversal 
port-4500 floating to off
Feb 17 08:30:06 missioncontrol pluto[27398]:    port floating activation 
criteria nat_t=0/port_fload=1
Feb 17 08:30:06 missioncontrol pluto[27398]:   including NAT-Traversal 
patch (Version 0.6c) [disabled]
Feb 17 08:30:06 missioncontrol pluto[27398]: ike_alg_register_enc(): 
Activating OAKLEY_AES_CBC: Ok (ret=0)
Feb 17 08:30:06 missioncontrol pluto[27398]: starting up 1 cryptographic 
helpers
Feb 17 08:30:06 missioncontrol pluto[27398]: started helper pid=27404 (fd:6)
Feb 17 08:30:06 missioncontrol pluto[27398]: Using Linux 2.6 IPsec 
interface code on 2.6.15
Feb 17 08:30:06 missioncontrol pluto[27398]: FATAL ERROR: Failed to bind 
bcast socket in init_netlink(). Errno 2: No such file or directory

and in /var/log/messages:

Feb 17 08:30:28 missioncontrol ipsec_setup: KLIPS ipsec0 on eth1 
68.209.223.242/255.255.255.0 broadcast 68.209.223.255
Feb 17 08:30:28 missioncontrol ipsec_setup: ...Openswan IPsec started
Feb 17 08:30:28 missioncontrol ipsec__plutorun: whack: Pluto is not 
running (no "/var/run/pluto/pluto.ctl")
Feb 17 08:30:28 missioncontrol ipsec__plutorun: ...could not add conn 
"net-to-net"
Feb 17 08:30:28 missioncontrol ipsec__plutorun: whack: Pluto is not 
running (no "/var/run/pluto/pluto.ctl")
Feb 17 08:30:28 missioncontrol ipsec__plutorun: !pluto failure!:  exited 
with error status 1
Feb 17 08:30:28 missioncontrol ipsec__plutorun: restarting IPsec after 
pause...

and pluto isn't running:

[root at missioncontrol ~]# ps auxw |grep pluto
root     28395  0.0  0.1   2300   436 ?        S    08:31   0:00 /bin/sh 
/usr/lib/ipsec/_plutorun --re --debug  --uniqueids yes --nocrsend  
--strictcrlpolicy  --nat_traversal  --keep_alive  --protostack auto 
--force_keepalive  --disable_port_floating  --virtual_private  
--crlcheckinterval 0 --ocspuri  --nhelpers  --dump  --opts  --stderrlog  
--wait no --pre  --post  --log daemon.error --pid /var/run/pluto/pluto.pid
root     28398  0.0  0.2   4832   668 pts/2    R+   08:31   0:00 grep pluto

and no pluto running files:

[root at missioncontrol ~]# ls -l /var/run/pluto/pluto.*
ls: /var/run/pluto/pluto.*: No such file or directory

and yes /var/run/pluto exists.

[root at missioncontrol ~]# ls -al /var/run/pluto/
total 20
drwx------   2 root root 4096 Feb 17 08:32 .
drwxr-xr-x  18 root root 4096 Feb 17 08:22 ..
-rw-r--r--   1 root root  111 Feb 17 08:32 ipsec.info
-rw-r--r--   1 root root    6 Feb 17 08:32 ipsec_setup.pid

I've searched google and can't find an answer.  I think my main problem 
lies with "Feb 17 08:30:06 missioncontrol pluto[27398]: FATAL ERROR: 
Failed to bind bcast socket in init_netlink(). Errno 2: No such file or 
directory" but I do not know how to fix it.  any help?  thanks :)






More information about the Users mailing list