如何删除expressvpn守护进程?

如何删除expressvpn守护进程?

我很久以前在Linux上卸载了ExpressVPN,但我在系统日志中注意到仍然有一个expressvpn服务每隔几分钟尝试连接一次,这很奇怪,因为我卸载了该程序。

May 30 15:42:00 COMPUTER-NAME systemd[1]: expressvpn.service: Main process exited, code=exited, status=203/EXEC
May 30 15:42:00 COMPUTER-NAME systemd[1]: expressvpn.service: Failed with result 'exit-code'.
May 30 15:42:05 COMPUTER-NAME systemd[1]: expressvpn.service: Service hold-off time over, scheduling restart.
May 30 15:42:05 COMPUTER-NAME systemd[1]: expressvpn.service: Scheduled restart job, restart counter is at 1761.
May 30 15:42:05 COMPUTER-NAME systemd[25122]: expressvpn.service: Failed to execute command: No such file or directory
May 30 15:42:05 COMPUTER-NAME systemd[25122]: expressvpn.service: Failed at step EXEC spawning /usr/sbin/expressvpnd: No such file or directory

我尝试过:

sudo update-rc.d -f expressvpn disable

sudo update-rc.d -f expressvpn.service disable

但这没有用。

答案1

我联系了 ExpressVPN,他给了我解决方案。

  1. 卸载应用程序: sudo yum remove expressvpn 或sudo apt 删除expressvpn
  2. 检查是否有 Expressvpn 文件夹:whereis expressvpn 如果存在“/usr/lib/expressvpn”,请使用以下命令删除此文件夹: sudo rm -r /usr/lib/expressvpn
  3. 检查 usr/lib 中是否存在现有目录/文件(如果没有,则继续步骤 4):find /usr/lib/expressvpn
  4. 删除expressvpn服务: sudo rm /etc/systemd/system/expressvpn.service
  5. 重新加载 systemd 管理器配置:systemctl daemon-reload 

相关内容