[Openswan Users] Invalid ipsec verify command

Antonio Silva asilva at wirelessmundi.com
Tue Jun 18 08:58:22 UTC 2013


Hi, 
using the version openswan 2.6.39, when i execute the command "ipsec
verify", i have the error  "OSError: [Errno 2] No such file or
directory".

Is this normal? what is that i'm missing?

Thanks,
António




-- ipsec verify output:

# ipsec verify
Checking if IPsec got installed and started correctly:

Version check and ipsec on-path                   [OK]
Openswan U2.6.39/K3.0.50 (netkey)
See `ipsec --copyright' for copyright information.
Checking for IPsec support in kernel              [OK]
NETKEY: Testing XFRM related proc values
         ICMP default/send_redirects              [OK]
         ICMP default/accept_redirects            [OK]
         XFRM larval drop                         [OK]
Hardware random device check                      [N/A]
Two or more interfaces found, checking IP forwarding [OK]
Checking rp_filter                                [OK]
Checking that pluto is running                    [OK]
Pluto listening for IKE on udp 500               Traceback (most recent
call last):
  File "/usr/lib/ipsec/verify", line 461, in <module>
    main()
  File "/usr/lib/ipsec/verify", line 452, in main
    plutocheck()
  File "/usr/lib/ipsec/verify", line 178, in plutocheck
    udp500check()
  File "/usr/lib/ipsec/verify", line 258, in udp500check
    p = subprocess.Popen(["/usr/sbin/ss", "-n", "-l", "-u", "sport
= :500"], stdout=subprocess.PIPE, stderr=subprocess.PIPE) 
  File "/usr/lib/python2.6/subprocess.py", line 623, in __init__
    errread, errwrite)
  File "/usr/lib/python2.6/subprocess.py", line 1141, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openswan.org/pipermail/users/attachments/20130618/5acd8f06/attachment-0001.html>


More information about the Users mailing list