Page 1 of 1

[SOLVED] ADD PGSQL Failed

Posted: Tue Nov 10, 2015 8:43 am
by bestony
Error Report is

Code: Select all

[root@LECLOUD ~]# v-add-database-host pgsql localhost postgres pgp4sw0rd
/usr/local/vesta/bin/v-add-database-host: line 26: /func/main.sh: No such file or directory
/usr/local/vesta/bin/v-add-database-host: line 27: /func/db.sh: No such file or directory
/usr/local/vesta/bin/v-add-database-host: line 28: /conf/vesta.conf: No such file or directory
/usr/local/vesta/bin/v-add-database-host: line 62: check_args: command not found
/usr/local/vesta/bin/v-add-database-host: line 63: validate_format: command not found
/usr/local/vesta/bin/v-add-database-host: line 66: is_dbhost_new: command not found
/usr/local/vesta/bin/v-add-database-host: line 67: is_password_valid: command not found
/usr/local/vesta/bin/v-add-database-host: line 97: /conf/pgsql.conf: No such file or directory
chmod: cannot access `/conf/pgsql.conf': No such file or directory
grep: /conf/vesta.conf: No such file or directory
/usr/local/vesta/bin/v-add-database-host: line 102: /conf/vesta.conf: No such file or directory
/usr/local/vesta/bin/v-add-database-host: line 113: log_event: command not found

MySystem is CentOS release 6.7 (Final)
Kernel \r on an \m
2.6.32-504.8.1.el6.x86_64

Vesta Version is 0.9.8-15

Re: ADD PGSQL Failed

Posted: Tue Nov 10, 2015 3:32 pm
by skurudo
It's variables prob, not script:

Code: Select all

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

Re: ADD PGSQL Failed

Posted: Tue Nov 10, 2015 5:25 pm
by bestony
skurudo wrote:It's variables prob, not script:

Code: Select all

export VESTA=/usr/local/vesta/
or
viewtopic.php?uid=17&f=16&t=5075&start=0#p15173
Thanks .I add success!

Re: ADD PGSQL Failed

Posted: Thu Nov 12, 2015 5:11 pm
by skurudo
Good to know! Glad to help ;-)