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 Database Server
  • Search

[SOLVED] ADD PGSQL Failed

Questions regarding the Database Server
MySQL, PostgreSQL, MariaDB, Percona Server, phpMyAdmin, phpPgAdmin
Locked
  • Print view
Advanced search
4 posts • Page 1 of 1
bestony
Posts: 17
Joined: Sat Mar 07, 2015 5:22 pm
Contact:
Contact bestony
Website

[SOLVED] ADD PGSQL Failed

Post by bestony » Tue Nov 10, 2015 8:43 am

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
Top

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

Re: ADD PGSQL Failed

Post by skurudo » Tue Nov 10, 2015 3:32 pm

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
Top

bestony
Posts: 17
Joined: Sat Mar 07, 2015 5:22 pm
Contact:
Contact bestony
Website

Re: ADD PGSQL Failed

Post by bestony » Tue Nov 10, 2015 5:25 pm

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!
Top

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

Re: ADD PGSQL Failed

Post by skurudo » Thu Nov 12, 2015 5:11 pm

Good to know! Glad to help ;-)
Top


Locked
  • Print view

4 posts • Page 1 of 1

Return to “Database Server”



  • 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
 

 

cron

Login  •  Register

I forgot my password