I was struggling setting up a new VPN to connect to my servers at the office as vpnsetup.sh was failing
# ./vpnsetup.sh Installing Cisco AnyConnect Secure Mobility Client... Extracting installation files to /tmp/vpn.0Zgby3/vpninst625702875.tgz... Unarchiving installation files to /tmp/vpn.0Zgby3... Starting Cisco AnyConnect Secure Mobility Client Agent... Failed to start vpnagentd.service: Unit vpnagentd.service not found.
I found a bunch of articles on the internet saying that this was due to missing libraries so started with the first batch of recommendations…
# apt install -y lib32z1 lib32ncurses5
This still didn’t work.
So I tried the next one, which was to also install the network-manager-openconnect package and reload the daemons
# apt install network-manager-openconnect # systemctl daemon-reload
Success!
# ./vpnsetup.sh Installing Cisco AnyConnect Secure Mobility Client... Removing previous installation... mv: cannot stat '/opt/cisco/vpn/*.log': No such file or directory Extracting installation files to /tmp/vpn.yUyv15/vpninst922924093.tgz... Unarchiving installation files to /tmp/vpn.yUyv15... Starting Cisco AnyConnect Secure Mobility Client Agent... Warning: vpnagentd.service changed on disk. Run 'systemctl daemon-reload' to reload units. Done!
Thanks a lot! Really helpful and working!
Thanks! That helps a lot.
Thanks that was it!
Tank you , works fine !
Thanks you, works good
Thanks so much! Finally able to use anyconnect on Ubuntu!
thanks!!!
can you pls. post the vpnsetup.sh file?
Solution worked like a charm. Thanks a lot for posting it out !
Solution Works !!!!!!!!!!!
Thanks a ton! You saved my day. I was struggling with the openconnect csd without any success. This is a clean and perfect solution. Thanks!
Thank you so much for your kind help!!! Saved me
Reblogged this on M.V.M-n..
Thanks! Really helpful!
Very helpful!! Thanks a lot for sharing that tip. Please keep this page online, it is very useful 😉 .
thanks
Super helpful, thank you!
Thank you so much! Worked like a charm!
Thank you! It worked! 😀