Page 1 of 1

CLI Command Errors

Posted: Sun Dec 06, 2015 8:48 pm
by ivanh
[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?

Re: CLI Command Errors

Posted: Sun Dec 06, 2015 8:56 pm
by ivanh
Had another look, added the $VESTA variable to the cli. Is this a bug?

Re: CLI Command Errors

Posted: Mon Dec 07, 2015 7:18 am
by skurudo
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

Re: CLI Command Errors

Posted: Sun Oct 27, 2019 9:29 pm
by marcofbb
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

Re: CLI Command Errors

Posted: Mon Oct 28, 2019 3:40 pm
by skurudo
Closed