Bootstrap Carbonio ...
 
Notifications
Clear all

[Solved] Bootstrap Carbonio Files Databases - How to set?

1 Posts
1 Users
0 Reactions
385 Views
 rmf
(@rmf)
Joined: 10 months ago
Posts: 5
Topic starter  

I'm following the instructions at: https://docs.zextras.com/carbonio-ce/html/install/multi/nodes/srv1.html

This commands below need to be on root bash or inside psql shell?

PGPASSWORD=$DB_ADM_PWD carbonio-files-db-bootstrap carbonio_adm 127.0.0.1

PGPASSWORD=$DB_ADM_PWD carbonio-tasks-db-bootstrap carbonio_adm 127.0.0.1

 

When running on root user I get:

root@z2-srv1:/home/rmf# PGPASSWORD=$DB_ADM_PWD carbonio-files-db-bootstrap carbonio_adm 127.0.0.1

Database: 127.0.0.1:5432 user carbonio_adm
Check postgres connection: psql: FATAL ERROR (exit code 2).
(see EXIT STATUS section in psql man documentation)
psql: error: could not connect to server: Connection refused
Is the server running on host "127.0.0.1" and accepting
TCP/IP connections on port 5432?

I have pgpool listening on 5432.

STREAM LISTENING 164422 28872/pgpool

/var/run/postgresql/.s.PGSQL.5432

 

Could someone support me to apply the last instruction name Bootstrap Carbonio Files Databases?

Thanks!


   
Quote