![Ubuntu 17.10 Anyconnect vpnagentd.service:启动操作超时](https://linux22.com/image/898602/Ubuntu%2017.10%20Anyconnect%20vpnagentd.service%EF%BC%9A%E5%90%AF%E5%8A%A8%E6%93%8D%E4%BD%9C%E8%B6%85%E6%97%B6.png)
你好我在安装 anyconnect-linux64-4.5.03040 时遇到问题
vpnagentd.service - LSB: Cisco AnyConnect Secure Mobility Client for Linux
Loaded: loaded (/etc/init.d/vpnagentd; generated; vendor preset: enabled)
Active: failed (Result: timeout) since Thu 2018-01-18 12:18:01 CET; 1min 41s ago
Docs: man:systemd-sysv-generator(8)
Process: 3705 ExecStart=/etc/init.d/vpnagentd start (code=killed, signal=TERM)
Tasks: 2 (limit: 4915)
Memory: 1.6M
CPU: 11ms
CGroup: /system.slice/vpnagentd.service
├─1549 plymouth --ping
└─3708 plymouth --ping
led 18 12:13:01 marta systemd[1]: Starting LSB: Cisco AnyConnect Secure Mobility Client for Linux...
led 18 12:18:01 marta systemd[1]: vpnagentd.service: Start operation timed out. Terminating.
led 18 12:18:01 marta systemd[1]: Failed to start LSB: Cisco AnyConnect Secure Mobility Client for Linux.
led 18 12:18:01 marta systemd[1]: vpnagentd.service: Unit entered failed state.
led 18 12:18:01 marta systemd[1]: vpnagentd.service: Failed with result 'timeout'.
有任何想法吗?
编辑:到目前为止我尝试过:
- 安装lib32z1 lib32ncurses5
- 安装网络管理器-openconnect 网络管理器-openconnect-gnome
- 安装不同版本(4.2.01022),但我遇到了此错误:vpnagentd.service 在磁盘上已更改。运行“systemctl daemon-reload”以重新加载单元。运行 systemctl daemon-reload 后,错误再次出现。重新启动或重新安装 vpn 客户端均无济于事。
- 当然,多次重新安装 VPN 客户端并重启
说实话,我不知道该如何处理超时的 vpnagentd.service。
编辑2:我已经放弃设置vpn了。但多亏了评论,我尝试了一下,安装了 anyconnect-4.3.05017(第一次运行后客户端更新为 4.4.03034)。惊喜!这个版本有效!非常感谢大家。
答案1
我建议为此使用网络管理器集成:
sudo apt install network-manager-openvpn network-manager-openconnect network-manager-openvpn-gnome network-manager-openconnect-gnome
然后配置 openconnect 库以连接到您的 VPN 而不是 Cisco 客户端。