[strongSwan-dev] can't load vici plugin
lijunxue
xljsun0713 at 163.com
Tue Mar 29 10:56:17 CEST 2016
Hi,
I am using Strongswan-5.3.2 and Strongswan-5.4.0.When I run the command “swanctl --reload-settings” getting the following error:
>swanctl --reload-settings
>curl SSL backend 'PolarSSL/1.3.10' not supported, https:// disabled
>connecting to 'unix:///var/run/charon.vici' failed: No such file or directory
>Error: connecting to 'default' URI failed: No such file or directory
>strongSwan 5.4.0 swanctl
>usage:
>swanctl --reload-settings [--raw|--pretty]
> --help (-h) show usage information
> --raw (-r) dump raw response message
> --pretty (-P) dump raw response message in pretty print
> --debug (-v) set debug level, default: 1
> --options (-+) read command line options from file
> --uri (-u) service URI to connect to
After check.i found the vici can't be loaded.i am sure the vici is enabled.I kindly request you to provide me a solution for this,Thanks.
Below is my configure and test log,we can load other plugin sucessfully:
strongswan.conf
# generated by /etc/init.d/ipsec
charon {
load = curl aes des sha1 sha2 md5 pem pkcs1 gmp random nonce x509 revocation hmac xcbc stroke kernel-pfkey kernel-netlink socket-default updown eap-radius attr xauth-generic vici
i_dont_care_about_security_and_use_aggressive_mode_psk = yes
filelog {
/var/log/charon.log {
time_format = %b %e %T
ike_name = yes
append = no
default = 2
flush_line = yes
}
}
plugins{
load_modular = yes
vici {
socket = unix:///var/run/charon.vici
}
}
}
include /etc/ipsec/strongswan/strongswan.*.conf
charon.log
Mar 29 15:46:36 00[DMN] Starting IKE charon daemon (strongSwan 5.4.0, Linux 3.10.20, mips64)
Mar 29 15:46:36 00[LIB] curl SSL backend 'PolarSSL/1.3.10' not supported, https:// disabled
Mar 29 15:46:36 00[LIB] plugin 'curl': loaded successfully
Mar 29 15:46:36 00[LIB] plugin 'aes': loaded successfully
Mar 29 15:46:36 00[LIB] plugin 'des': loaded successfully
Mar 29 15:46:36 00[LIB] plugin 'sha1': loaded successfully
Mar 29 15:46:36 00[LIB] plugin 'sha2': loaded successfully
Mar 29 15:46:36 00[LIB] plugin 'md5': loaded successfully
Mar 29 15:46:36 00[LIB] plugin 'pem': loaded successfully
Mar 29 15:46:36 00[LIB] plugin 'pkcs1': loaded successfully
Mar 29 15:46:36 00[LIB] plugin 'gmp': loaded successfully
Mar 29 15:46:36 00[LIB] plugin 'random': loaded successfully
Mar 29 15:46:36 00[LIB] plugin 'nonce': loaded successfully
Mar 29 15:46:36 00[LIB] plugin 'x509': loaded successfully
Mar 29 15:46:36 00[LIB] plugin 'revocation': loaded successfully
Mar 29 15:46:36 00[LIB] plugin 'hmac': loaded successfully
Mar 29 15:46:36 00[LIB] plugin 'xcbc': loaded successfully
Mar 29 15:46:36 00[LIB] plugin 'stroke': loaded successfully
Mar 29 15:46:36 00[LIB] plugin 'kernel-netlink': loaded successfully
Mar 29 15:46:36 00[LIB] plugin 'socket-default': loaded successfully
Mar 29 15:46:36 00[LIB] plugin 'updown': loaded successfully
Mar 29 15:46:36 00[LIB] plugin 'eap-radius': loaded successfully
Mar 29 15:46:36 00[LIB] plugin 'attr': loaded successfully
Mar 29 15:46:36 00[LIB] plugin 'xauth-generic': loaded successfully
Mar 29 15:46:36 00[KNL] known interfaces and IP addresses:
Mar 29 15:46:36 00[KNL] lo
Mar 29 15:46:36 00[KNL] 127.0.0.1
Best regards
lijun
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.strongswan.org/pipermail/dev/attachments/20160329/b17fc3fd/attachment.html>
More information about the Dev
mailing list