<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px"> <font face="Times New Roman">
</font><div style="margin: 0in 0in 10pt; line-height: normal; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto;"><span style='color: rgb(0, 32, 96); font-size: 12pt; mso-fareast-font-family: "Times New Roman"; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;'><font face="Calibri">Hi
,</font></span></div><font face="Times New Roman">
</font><div id="yui_3_16_0_1_1426836234465_5030" style="margin: 0in 0in 10pt; line-height: normal; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto;"><font id="yui_3_16_0_1_1426836234465_5029" face="Calibri"><span style='color: rgb(0, 32, 96); font-size: 12pt; mso-fareast-font-family: "Times New Roman"; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;'>I
am trying to use </span><span id="yui_3_16_0_1_1426836234465_5028" style="font-size: 12pt; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;">the swanctl utility (i.e., a command
line application to configure and control charon) (strongswan: 5.2.2) . I configured
the /etc/swanctl/swanctl.conf file (On IKE Initiator end) and then upon trying
to initiate the connection <span style="mso-spacerun: yes;"> </span>thru #swanctl
--load-conns, it gives the following errors</span></font></div><font face="Times New Roman">
</font><div id="yui_3_16_0_1_1426836234465_5002" style="margin: 0in 0in 10pt; line-height: normal; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto;"><span id="yui_3_16_0_1_1426836234465_5001" style="font-size: 12pt; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;"><font id="yui_3_16_0_1_1426836234465_5000" face="Calibri">connecting to 'unix:///var/run/charon.vici'
failed: Connection refused</font></span></div><font face="Times New Roman">
</font><div id="yui_3_16_0_1_1426836234465_5033" style="margin: 0in 0in 10pt; line-height: normal; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto;"><span id="yui_3_16_0_1_1426836234465_5032" style="font-size: 12pt; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;"><font id="yui_3_16_0_1_1426836234465_5031" face="Calibri">Error: connecting to 'default' URI failed:
Connection refused</font></span></div><font face="Times New Roman">
</font><div id="yui_3_16_0_1_1426836234465_5036" style="margin: 0in 0in 10pt; line-height: normal; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto;"><span id="yui_3_16_0_1_1426836234465_5035" style="font-size: 12pt; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;"><font id="yui_3_16_0_1_1426836234465_5034" face="Calibri">strongSwan 5.2.2 swanctl</font></span></div><div id="yui_3_16_0_1_1426836234465_5037" style="margin: 0in 0in 10pt; line-height: normal; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto;"><span style="font-size: 12pt; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;"><font face="Calibri"> </font></span></div><font face="Times New Roman">
</font><div id="yui_3_16_0_1_1426836234465_5040" style="margin: 0in 0in 10pt; line-height: normal; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto;"><span id="yui_3_16_0_1_1426836234465_5039" style="font-size: 12pt; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;"><font id="yui_3_16_0_1_1426836234465_5038" face="Calibri">I run the #ipsec start command to get the
startup log and found that, creation of VICI socket is getting failed. <span style="mso-spacerun: yes;"> </span>Can anyone suggest how to resolve this ?</font></span></div><font face="Times New Roman">
</font><div id="yui_3_16_0_1_1426836234465_5041" style="margin: 0in 0in 10pt; line-height: normal; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto;"><span style='color: rgb(0, 32, 96); font-size: 12pt; mso-fareast-font-family: "Times New Roman"; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;'><font face="Calibri"> </font></span></div><font face="Times New Roman">
</font><div id="yui_3_16_0_1_1426836234465_5044" style="margin: 0in 0in 10pt; line-height: normal; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto;"><span id="yui_3_16_0_1_1426836234465_5043" style='color: rgb(0, 32, 96); font-size: 12pt; mso-fareast-font-family: "Times New Roman"; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;'><font id="yui_3_16_0_1_1426836234465_5042" face="Calibri">[root@sefpdev-1
strongswan-5.2.2]# cat /var/log/charon.log | grep vici</font></span></div><font face="Times New Roman">
</font><div style="margin: 0in 0in 10pt; line-height: normal; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto;"><span style='color: rgb(0, 32, 96); font-size: 12pt; mso-fareast-font-family: "Times New Roman"; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;'><font face="Calibri">Mar
20 00:00:15 00[LIB] plugin 'vici': loaded successfully</font></span></div><font face="Times New Roman">
</font><div style="margin: 0in 0in 10pt; line-height: normal; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto;"><span style='color: rgb(0, 32, 96); font-size: 12pt; mso-fareast-font-family: "Times New Roman"; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;'><font face="Calibri">Mar
20 00:00:15 00[LIB] loading feature CUSTOM:vici in plugin 'vici'</font></span></div><font face="Times New Roman">
</font><div style="margin: 0in 0in 10pt; line-height: normal; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto;"><span style='color: rgb(0, 32, 96); font-size: 12pt; mso-fareast-font-family: "Times New Roman"; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;'><font face="Calibri">Mar
20 00:00:15 00[CFG] creating vici socket failed</font></span></div><font face="Times New Roman">
</font><div style="margin: 0in 0in 10pt; line-height: normal; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto;"><span style='color: rgb(0, 32, 96); font-size: 12pt; mso-fareast-font-family: "Times New Roman"; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;'><font face="Calibri">Mar
20 00:00:15 00[LIB] feature CUSTOM:vici in plugin 'vici' failed to load</font></span></div><font face="Times New Roman">
</font><div style="margin: 0in 0in 10pt; line-height: normal; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto;"><span style='color: rgb(0, 32, 96); font-size: 12pt; mso-fareast-font-family: "Times New Roman"; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;'><font face="Calibri">Mar
20 00:00:15 00[LIB] unloading plugin 'vici' without loaded features</font></span></div><font face="Times New Roman">
</font><div style="margin: 0in 0in 10pt; line-height: normal; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto;"><span style='color: rgb(0, 32, 96); font-size: 12pt; mso-fareast-font-family: "Times New Roman"; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;'><font face="Calibri">[root@sefpdev-1
strongswan-5.2.2]#</font></span></div><div style="margin: 0in 0in 10pt; line-height: normal; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto;"><span style='color: rgb(0, 32, 96); font-size: 12pt; mso-fareast-font-family: "Times New Roman"; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;'><font face="Calibri"></font></span><br></div><div style="margin: 0in 0in 10pt; line-height: normal; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto;" dir="ltr"><span style='color: rgb(0, 32, 96); font-size: 12pt; mso-fareast-font-family: "Times New Roman"; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;'><font face="Calibri">Regards,</font></span></div><div style="margin: 0in 0in 10pt; line-height: normal; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto;" dir="ltr"><span style='color: rgb(0, 32, 96); font-size: 12pt; mso-fareast-font-family: "Times New Roman"; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;'><font face="Calibri">Chinmaya</font></span></div><font face="Times New Roman">
</font></div></body></html>