[Bucardo-general] installer problem

Vilem Kebrt kebrt at netair.cz
Wed Sep 9 14:33:41 UTC 2009


Hello,
one little information about installer: it's using to connect to db via 
psql the same dbname as username...and sometimes it's not true :)
see here:

prometheus# ./bucardo_ctl install
This will install the bucardo database into an existing Postgres cluster.
Postgres must have been compiled with Perl support,
and you must connect as a superuser

We will create a new superuser named 'bucardo',
and make it the owner of a new database named 'bucardo'

Current connection settings:
1. Host:          <none>
2. Port:          5432
3. User:          postgres
4. PID directory: /var/run/bucardo
Enter a number to change it, P to proceed, or Q to quit: 1

Change the host to: 127.0.0.1

Changed host to: 127.0.0.1
Current connection settings:
1. Host:          127.0.0.1
2. Port:          5432
3. User:          postgres
4. PID directory: /var/run/bucardo
Enter a number to change it, P to proceed, or Q to quit: 3

Change the user to: pgsql

Changed user to: pgsql
Current connection settings:
1. Host:          127.0.0.1
2. Port:          5432
3. User:          pgsql
4. PID directory: /var/run/bucardo
Enter a number to change it, P to proceed, or Q to quit: P

psql: FATAL:  database "pgsql" does not exist
Sorry, could not determine the version for that database
prometheus#

so best fix will be add another option to that menu to name database.
And why is bucardo user superuser ? why it can't be just normal user ?
Thanx for informations.
william

-- 
S pozdravem
V. Kebrt

-----------------------------------
NETAIR, s.r.o.
Vilem Kebrt
512 43 Jablonec nad Jizerou č.p.364
mobil: +420 604 550 132
tel: +420 604 553 444
voip: +420 488 572 050
mail: kebrt at netair.cz <mailto:kebrt at netair.cz>
web: www.netair.cz <http://www.netair.cz/>
-----------------------------------



More information about the Bucardo-general mailing list