Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section General Discussion
  • Search

v- command not found

General questions about VestaCP
Post Reply
  • Print view
Advanced search
5 posts • Page 1 of 1
clu55ter
Posts: 7
Joined: Sun Dec 06, 2015 4:25 pm

v- command not found
  • Quote

Post by clu55ter » Sat Apr 06, 2019 4:38 pm

Hello all I have vestacp installed on my ubuntu 18.04 bionic beaver.

I can use the control panel but want to start using CLI command line to create new sites and databases.

After I access my server through ssh and try any command starting with v- or sudo v- I get the following error command not found.
v-list-dns-domain: command not found

any help would be appreciated.
Top

chrisf
Posts: 49
Joined: Sat Oct 13, 2018 6:25 pm

Os: Ubuntu 16x
Web: apache + nginx
Re: v- command not found
  • Quote

Post by chrisf » Sat Apr 06, 2019 6:06 pm

Normally this happens because the vesta path is not part of your servers exported PATH.

Try this:

export PATH=$PATH:/usr/local/vesta/bin/

:-)
Top

edica
Posts: 126
Joined: Tue May 26, 2015 7:31 pm

Re: v- command not found
  • Quote

Post by edica » Fri May 03, 2019 5:09 pm

The code works. But if you restart the server, it does not work anymore. :/

Code: Select all

export PATH=$PATH:/usr/local/vesta/bin/
Top

dreiggy
Posts: 154
Joined: Thu May 17, 2018 8:05 pm
Contact:
Contact dreiggy
Skype

Os: CentOS 6x
Web: apache + nginx
Re: v- command not found
  • Quote

Post by dreiggy » Fri May 03, 2019 5:43 pm

edica wrote: ↑
Fri May 03, 2019 5:09 pm
The code works. But if you restart the server, it does not work anymore. :/

Code: Select all

export PATH=$PATH:/usr/local/vesta/bin/
If you want that this left after reboot, then run this:

Code: Select all

echo 'PATH=$PATH:/usr/local/vesta/bin' >> /root/.bash_profile
Top

edica
Posts: 126
Joined: Tue May 26, 2015 7:31 pm

Re: v- command not found
  • Quote

Post by edica » Fri May 03, 2019 8:45 pm

I was using "sudo su" command to log in as root. But it should be "sudo su -", so load the shell.
Top


Post Reply
  • Print view

5 posts • Page 1 of 1

Return to “General Discussion”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password