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 RHEL/CentOS
  • Search

v-update-sys-rrd-pgsql not work

RHEL/CentOS related topics
Post Reply
  • Print view
Advanced search
1 post • Page 1 of 1
MuadDiib
Posts: 2
Joined: Mon Jul 09, 2018 1:37 pm

Os: CentOS 6x
Web: apache + nginx
v-update-sys-rrd-pgsql not work
  • Quote

Post by MuadDiib » Mon Feb 08, 2021 11:03 am

CentOS 7
v-update-sys-rrd-pgsql:
- line 76

Code: Select all

        sql="psql -h $HOST -U $USER -c"
.....
- line 88

Code: Select all

status=$($sql psql -d postgres -c "$q" 2>/dev/null); code="$?"
- - - - - - - - - - - -

how it's work?

PostgreSQL logs spamed by

Code: Select all

2021-02-05 00:35:02.348 EET [30291] ERROR:  syntax error at or near "psql" at character 1
2021-02-05 00:35:02.348 EET [30291] STATEMENT:  psql
Top


Post Reply
  • Print view
1 post • Page 1 of 1

Return to “RHEL/CentOS”



  • 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