[strongSwan] Strongswan[5.4.0] unix:///var/run/charon.vici

Andreas Steffen andreas.steffen at strongswan.org
Tue May 10 09:59:38 CEST 2016


Hi Rajeev,

is the charon daemon running? If not, either start charon manually:

   sudo /usr/local/libexec/ipsec/charon &

or if your Linux distribution still uses upstart, copy the
following script to /etc/init.d/

 
https://wiki.strongswan.org/projects/strongswan/repository/revisions/master/entry/testing/hosts/default/etc/init.d/charon

and start the charon daemon in the appropriate runlevels.

If your Linux distribution uses systemd instead, compile and
install strongSwan with

    ./config --enable-systemd

and enable and start the strongswan-swanctl service.

BTW - in order to use the vici socket you must be root. Thus

   sudo swanctl --load-conn

Best regards

Andreas

On 09.05.2016 16:34, rajeev nohria wrote:
> I am new user of Strongswan and running 5.4.0. After creating
> certificates and configuring two Ubuntu m/c with Strongswan 5.4.0. I try
> to create connection as following and get error. Please advise, how to
> resolve following issue?
>
> $swanctl --load-conn
> 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:
>
>
> Thanks,
> Rajeev
>
>
> _______________________________________________
> Users mailing list
> Users at lists.strongswan.org
> https://lists.strongswan.org/mailman/listinfo/users
>

-- 
======================================================================
Andreas Steffen                         andreas.steffen at strongswan.org
strongSwan - the Open Source VPN Solution!          www.strongswan.org
Institute for Internet Technologies and Applications
University of Applied Sciences Rapperswil
CH-8640 Rapperswil (Switzerland)
===========================================================[ITA-HSR]==

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4275 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.strongswan.org/pipermail/users/attachments/20160510/cd201c98/attachment-0001.bin>


More information about the Users mailing list