[Swan] problem command "ipsec verify"

Wayne Forrest wayneforrest at gmail.com
Thu May 13 01:14:10 UTC 2021


This is what I install for Amazon Linux 2.

# amazon linux 2
sudo amazon-linux-extras install epel -y
yum clean all
yum install -y libreswan xl2tp



> On 13/05/2021, at 1:08 PM, Bruno <br.larini at gmail.com> wrote:
> 
> If python 2.7 is installed, check if it exists in /usr/bin. On EL7 maybe it's named just 'python', so create a symbolic link to it named 'python2'.
> 
> 
> Em qua, 12 de mai de 2021 21:29, Jorge Sevillanos <rsevillanos at gmail.com <mailto:rsevillanos at gmail.com>> escreveu:
> Hi Libreswan, just installed Amazon Linux 2 (fresh) from default ami, nftables  nftables v0.9.0 (Fearless Fosdick) and libreswan  4.4-1.el7_9
> 
> I downloaded rpm package form: https://download.libreswan.org/binaries/rhel/7/x86_64/libreswan-4.4-1.el7_9.x86_64.rpm <https://download.libreswan.org/binaries/rhel/7/x86_64/libreswan-4.4-1.el7_9.x86_64.rpm>
> 
> And installed package: yum install https://download.libreswan.org/binaries/rhel/7/x86_64/libreswan-4.4-1.el7_9.x86_64.rpm <https://download.libreswan.org/binaries/rhel/7/x86_64/libreswan-4.4-1.el7_9.x86_64.rpm>
> 
> I run the command "ipsec verify" and shows me the following:
> 
> [root at ip-10-10-2-15 sysctl.d]# ipsec verify
> /sbin/ipsec: /usr/libexec/ipsec/verify: python2: bad interpreter: No such file or directory
> /sbin/ipsec: line 565: /usr/libexec/ipsec/verify: Success
> 
> Please help.
> 
> Regards,
> 
> Rodolfo Sevillanos
> _______________________________________________
> Swan mailing list
> Swan at lists.libreswan.org <mailto:Swan at lists.libreswan.org>
> https://lists.libreswan.org/mailman/listinfo/swan <https://lists.libreswan.org/mailman/listinfo/swan>
> _______________________________________________
> Swan mailing list
> Swan at lists.libreswan.org
> https://lists.libreswan.org/mailman/listinfo/swan

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.libreswan.org/pipermail/swan/attachments/20210513/f6dd0723/attachment.html>


More information about the Swan mailing list