Open vpn command not found

If none of the more specific forums is the right place to ask

Open vpn command not found

Postby ozgta » 2019-10-02 01:46

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: 443
Joined: 2009-05-25 02:32
Location: Nth Qld

Re: Open vpn command not found

Postby andre@home » 2019-10-02 02:05

I will only answer here:
viewtopic.php?f=10&t=143824#p708611
andre@home
 
Posts: 347
Joined: 2011-10-02 08:00

Re: Open vpn command not found

Postby ozgta » 2019-10-02 02:36

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.
User avatar
ozgta
 
Posts: 443
Joined: 2009-05-25 02:32
Location: Nth Qld

Re: Open vpn command not found

Postby andre@home » 2019-10-02 02:38

andre@home wrote:I will only answer here:
viewtopic.php?f=10&t=143824#p708611
andre@home
 
Posts: 347
Joined: 2011-10-02 08:00

Re: Open vpn command not found

Postby ozgta » 2019-10-02 04:09

Thanks again andre@home,
This time I shall give it my full attention.
User avatar
ozgta
 
Posts: 443
Joined: 2009-05-25 02:32
Location: Nth Qld

Re: Open vpn command not found

Postby reinob » 2019-10-02 12:32

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.
reinob
 
Posts: 742
Joined: 2014-06-30 11:42

Re: Open vpn command not found

Postby ozgta » 2019-10-03 02:14

HI reinob,
Yes I in my ignorance did use su.
May I ask what the difference is please?
User avatar
ozgta
 
Posts: 443
Joined: 2009-05-25 02:32
Location: Nth Qld

Re: Open vpn command not found

Postby pylkko » 2019-10-03 14:46

read about it in
Code: Select all
man su
User avatar
pylkko
 
Posts: 1589
Joined: 2014-11-06 19:02

Re: Open vpn command not found

Postby ozgta » 2019-10-05 11:07

Thanks everyone, I started again sing su - and all is now good.
User avatar
ozgta
 
Posts: 443
Joined: 2009-05-25 02:32
Location: Nth Qld


Return to General Questions

Who is online

Users browsing this forum: No registered users and 16 guests

fashionable