Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Open vpn command not found

If none of the specific sub-forums seem right for your thread, ask here.
Post Reply
Message
Author
User avatar
ozgta
Posts: 465
Joined: 2009-05-25 02:32
Location: Nth Qld

Open vpn command not found

#1 Post by ozgta »

HI,
Openvpn is installed yet terminal says command not found.
root@db64:/home/nigel/Downloads/OpenVPN/VPNBook.com-OpenVPN-US1/VPN-connection-1# openvpn --config vpnbook-us1-tcp443.ovpn
bash: openvpn: command not found
root@db64:/home/nigel/Downloads/OpenVPN/VPNBook.com-OpenVPN-US1/VPN-connection-1#
How do I fix this?


User avatar
ozgta
Posts: 465
Joined: 2009-05-25 02:32
Location: Nth Qld

Re: Open vpn command not found

#3 Post by ozgta »

Thanks andre@home,
I am not sure why I am I having so much difficulty with this.
I have been using Debian for 10 years and always use su as I am the only person to use this computer so I do not use sudo.
N.B. I do not mention the 10 years of Debian use to big note myself, I still consider myself to be and an advanced newbie.
This has never been a problem in the past...though maybe it is now.
Openvpn is not in /etc/bin

Code: Select all

root@db64:/home/nigel# which openvpn
root@db64:/home/nigel# 
Openvpn was installed a few weeks ago.

Code: Select all

root@db64:/home/nigel# apt-get install openvpn
Reading package lists... Done
Building dependency tree       
Reading state information... Done
openvpn is already the newest version (2.4.7-1).
The following packages were automatically installed and are no longer required:
  cinnamon-desktop-data fonts-noto-hinted fuseiso gir1.2-accountsservice-1.0
  gir1.2-cinnamondesktop-3.0 gir1.2-gkbd-3.0 gir1.2-xapp-1.0 gir1.2-xkl-1.0
  gist hwdata icoutils iso-flags-png-320x240 jq libcapi20-3
  libcinnamon-desktop4 libcscreensaver0 libgl1-mesa-glx:i386 libjq1
  libmatekbd-common libmatekbd4 libmatemixer-common libmatemixer0 libonig5
  libosmesa6 libvkd3d1 libxapp1 linux-image-4.19.0-1-amd64
  linux-image-4.19.0-2-amd64 mate-power-manager mate-power-manager-common
  orage orage-data python3-psutil python3-setproctitle python3-xapp
  python3-xlib ruby-json xapps-common
Use 'apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 9 not upgraded.
root@db64:/home/nigel# 
I appreciate you assistance and patience.
Last edited by ozgta on 2019-10-02 02:55, edited 2 times in total.

andre@home
Posts: 398
Joined: 2011-10-02 08:00

Re: Open vpn command not found

#4 Post by andre@home »

andre@home wrote:I will only answer here:
http://forums.debian.net/viewtopic.php? ... 24#p708611

User avatar
ozgta
Posts: 465
Joined: 2009-05-25 02:32
Location: Nth Qld

Re: Open vpn command not found

#5 Post by ozgta »

Thanks again andre@home,
This time I shall give it my full attention.

reinob
Posts: 1196
Joined: 2014-06-30 11:42
Has thanked: 99 times
Been thanked: 47 times

Re: Open vpn command not found

#6 Post by reinob »

ozgta wrote:HI,
Openvpn is installed yet terminal says command not found.
root@db64:/home/nigel/Downloads/OpenVPN/VPNBook.com-OpenVPN-US1/VPN-connection-1# openvpn --config vpnbook-us1-tcp443.ovpn
bash: openvpn: command not found
root@db64:/home/nigel/Downloads/OpenVPN/VPNBook.com-OpenVPN-US1/VPN-connection-1#
How do I fix this?
How did you get root? I bet you used "su" instead of "su -".
You could "echo $PATH" and show the results. /usr/sbin should be in there.

User avatar
ozgta
Posts: 465
Joined: 2009-05-25 02:32
Location: Nth Qld

Re: Open vpn command not found

#7 Post by ozgta »

HI reinob,
Yes I in my ignorance did use su.
May I ask what the difference is please?

User avatar
pylkko
Posts: 1802
Joined: 2014-11-06 19:02

Re: Open vpn command not found

#8 Post by pylkko »

read about it in

Code: Select all

man su

User avatar
ozgta
Posts: 465
Joined: 2009-05-25 02:32
Location: Nth Qld

Re: Open vpn command not found

#9 Post by ozgta »

Thanks everyone, I started again sing su - and all is now good.

Post Reply