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 <[email protected]> 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 <[email protected] 
> <mailto:[email protected]>> 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@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
> [email protected] <mailto:[email protected]>
> https://lists.libreswan.org/mailman/listinfo/swan 
> <https://lists.libreswan.org/mailman/listinfo/swan>
> _______________________________________________
> Swan mailing list
> [email protected]
> https://lists.libreswan.org/mailman/listinfo/swan

_______________________________________________
Swan mailing list
[email protected]
https://lists.libreswan.org/mailman/listinfo/swan

Reply via email to