ProtonVPN / protonvpn-cli

Legacy protonvpn-cli: ProtonVPN Command-Line Tool for Linux and macOS. This has been superseded by https://github.com/ProtonVPN/protonvpn-cli-ng
Other
602 stars 96 forks source link

[!] Error: OpenVPN is already running on this machine. #169

Closed dhoko closed 5 years ago

dhoko commented 5 years ago

Hey,

I can't use the CLI (it works fine via networkmanager) :/

cf:

[fenrir]:~/vpn/protonvpn-cli [master]                    
$ lsof -i | grep openvpn                                 
[fenrir]:~/vpn/protonvpn-cli [master]                    
$ killall -SIGINT openvpn                                
openvpn: no process found                                
[fenrir]:~/vpn/protonvpn-cli [master]                    
$ sudo pvpn -c                                           
[!] Error: OpenVPN is already running on this machine.   

About protonvpncli

ProtonVPN Command-Line Tool – v1.1.2
Copyright (c) 2013-2018 Proton Technologies A.G. (Switzerland)
Distributed under the MIT software license (see the accompanying file license.md).

My OS

Distributor ID: Ubuntu
Description:    Ubuntu 18.04.1 LTS
Release:    18.04
Codename:   bionic

OpenVPN

OpenVPN 2.4.4 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Sep  5 2018
library versions: OpenSSL 1.1.0g  2 Nov 2017, LZO 2.08
Originally developed by James Yonan
Copyright (C) 2002-2017 OpenVPN Technologies, Inc. <sales@openvpn.net>
Compile time defines: enable_async_push=no enable_comp_stub=no enable_crypto=yes enable_crypto_ofb_cfb=yes enable_debug=yes enable_def_auth=yes enable_dependency_tracking=no enable_dlopen=unknown enable_dlopen_self=unknown enable_dlopen_self_static=unknown enable_fast_install=needless enable_fragment=yes enable_iproute2=yes enable_libtool_lock=yes enable_lz4=yes enable_lzo=yes enable_maintainer_mode=no enable_management=yes enable_multihome=yes enable_pam_dlopen=no enable_pedantic=no enable_pf=yes enable_pkcs11=yes enable_plugin_auth_pam=yes enable_plugin_down_root=yes enable_plugins=yes enable_port_share=yes enable_selinux=no enable_server=yes enable_shared=yes enable_shared_with_static_runtimes=no enable_silent_rules=no enable_small=no enable_static=yes enable_strict=no enable_strict_options=no enable_systemd=yes enable_werror=no enable_win32_dll=yes enable_x509_alt_username=yes with_aix_soname=aix with_crypto_library=openssl with_gnu_ld=yes with_mem_check=no with_sysroot=no
Tamaranch commented 5 years ago

What is the output of pgrep openvpn?

dhoko commented 5 years ago
$ pgrep openvpn   
11808             
20863             

I killed them and now it works ;) I forgot to run pkill :man_facepalming: thx

lowkeylouis commented 5 years ago

hey i have the same issue how can i fix that

Tamaranch commented 5 years ago

By killing openvpn processes?