Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Vesta CLI
  • Search

CLI Command Errors Topic is solved

Questions regarding the Command Line Interface
CLI
Locked
  • Print view
Advanced search
5 posts • Page 1 of 1
ivanh
Posts: 41
Joined: Sun Mar 23, 2014 6:40 am

CLI Command Errors

Post by ivanh » Sun Dec 06, 2015 8:48 pm

[root@xxxx bin]# /usr/local/vesta/bin/v-add-remote-dns-host
/usr/local/vesta/bin/v-add-remote-dns-host: line 27: /func/main.sh: No such file or directory
/usr/local/vesta/bin/v-add-remote-dns-host: line 28: /func/remote.sh: No such file or directory
/usr/local/vesta/bin/v-add-remote-dns-host: line 29: /conf/vesta.conf: No such file or directory
/usr/local/vesta/bin/v-add-remote-dns-host: line 37: check_args: command not found
/usr/local/vesta/bin/v-add-remote-dns-host: line 38: validate_format: command not found
/usr/local/vesta/bin/v-add-remote-dns-host: line 39: is_system_enabled: command not found
/usr/local/vesta/bin/v-add-remote-dns-host: line 40: is_password_valid: command not found
/usr/local/vesta/bin/v-add-remote-dns-host: line 41: is_dnshost_new: command not found
/usr/local/vesta/bin/v-add-remote-dns-host: line 42: is_dnshost_alive: command not found
/usr/local/vesta/bin/v-add-remote-dns-host: line 55: /conf/dns-cluster.conf: No such file or directory
chmod: cannot access ‘/conf/dns-cluster.conf’: No such file or directory
grep: /conf/vesta.conf: No such file or directory
sed: can't read /conf/vesta.conf: No such file or directory
/usr/local/vesta/bin/v-add-remote-dns-host: line 66: cluster_cmd: command not found
/usr/local/vesta/bin/v-add-remote-dns-host: line 67: check_result: command not found
/usr/local/vesta/bin/v-add-remote-dns-host: line 70: /v-sync-dns-cluster: No such file or directory
/usr/local/vesta/bin/v-add-remote-dns-host: line 71: check_result: command not found
/usr/local/vesta/bin/v-add-remote-dns-host: line 86: log_event: command not found

Anyone know how to fix this?
Top

ivanh
Posts: 41
Joined: Sun Mar 23, 2014 6:40 am

Re: CLI Command Errors

Post by ivanh » Sun Dec 06, 2015 8:56 pm

Had another look, added the $VESTA variable to the cli. Is this a bug?
Top

skurudo
VestaCP Team
Posts: 8099
Joined: Fri Dec 26, 2014 2:23 pm
Contact:
Contact skurudo
Website Facebook Google+ Skype
Twitter

Re: CLI Command Errors

Post by skurudo » Mon Dec 07, 2015 7:18 am

It's variables prob, not script:

Code: Select all

export VESTA=/usr/local/vesta/
viewtopic.php?uid=17&f=16&t=5075&start=0#p15173
Top

marcofbb
Posts: 3
Joined: Tue Aug 07, 2018 4:58 am

Os: CentOS 6x
Web: apache + nginx
Re: CLI Command Errors

Post by marcofbb » Sun Oct 27, 2019 9:29 pm

skurudo wrote: ↑
Mon Dec 07, 2015 7:18 am
It's variables prob, not script:

Code: Select all

export VESTA=/usr/local/vesta/
viewtopic.php?uid=17&f=16&t=5075&start=0#p15173
Thanks,
And latter exec in SSH

Code: Select all

v-add-letsencrypt-domain admin web.com
Top

skurudo
VestaCP Team
Posts: 8099
Joined: Fri Dec 26, 2014 2:23 pm
Contact:
Contact skurudo
Website Facebook Google+ Skype
Twitter

Re: CLI Command Errors

Post by skurudo » Mon Oct 28, 2019 3:40 pm

Closed
Top


Locked
  • Print view

5 posts • Page 1 of 1

Return to “CLI”



  • 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