cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
8707
Views
0
Helpful
6
Replies

Cannot Install Cisco Anyconnect on Arch Linux

victorbrca
Level 1
Level 1

Hi all,

 

I'm not able to install Cisco Anyconnect client v4.4.01054 on Arch Linux. It is trying to install an init/rc.d script on a systemd environemnt. 

 

$ sudo bash anyconnect-linux64-4.4.01054-core-vpn-webdeploy-k9.sh
Installing Cisco AnyConnect Secure Mobility Client...
Extracting installation files to /tmp/vpn.koYsS6/vpninst899666398.tgz...
Unarchiving installation files to /tmp/vpn.koYsS6...
install: cannot create regular file '/etc/rc.d/vpnagentd': No such file or directory

 

1 Accepted Solution

Accepted Solutions

Alright, then there must be your problem. Here is what Cisco says:

"

Linux Distributions

      -Red Hat Enterprise Linux 5 and Red Hat Enterprise Linux 6 Deskto

      -Ubuntu 9.x and 10.x

We do not validate other Linux distributions. We will consider requests to validate other Linux distributions for which you experience issues, and provide fixes at our discretion.

"

 

-If I helped you somehow, please, rate it as useful.-

View solution in original post

6 Replies 6

Hi @victorbrca

Make sure you have privilege to the script:

chmod +x anyconnect-linux64-4.4.01054-core-vpn-webdeploy-k9.sh

Then run again.

If necessary, run the command:

mkdir /etc/rc.d/vpnagentd

 

-If I helped you somehow, please, rate it as useful.-

Sorry, but are you sure you know what you are saying?

mkdir is used to create a new directory. The error is because the system doesn't use Sysv scripts.

For more then once I ran on the situation where for some unknown reason the installation script failed to create a directory, even though I gave it privilege.

 if you already have the following directory, then, is not necessary create but if you have not, then, doesn't hurt create it and test.

 

"install: cannot create regular file '/etc/rc.d/vpnagentd': No such file or directory"

 

This is different thou. My system no longer supports sysv scripts. Adding a script in /etc/rc.d won't make any difference. 

 

And fyi you don't have to set the execute bit on a script if you call bash (or another interpreter) before (like 'bash my_script.sh' or 'python my_script.py'). 

Alright, then there must be your problem. Here is what Cisco says:

"

Linux Distributions

      -Red Hat Enterprise Linux 5 and Red Hat Enterprise Linux 6 Deskto

      -Ubuntu 9.x and 10.x

We do not validate other Linux distributions. We will consider requests to validate other Linux distributions for which you experience issues, and provide fixes at our discretion.

"

 

-If I helped you somehow, please, rate it as useful.-

Thanks. I'm going to ask my network team to open a ticket with them. 

 

Cheers.