Re: Can anyone help setting up pgbouncer? - Mailing list pgsql-general

From Nick
Subject Re: Can anyone help setting up pgbouncer?
Date
Msg-id d96f2182-15bd-4c20-b0ae-299d489e532c@b25g2000prb.googlegroups.com
Whole thread Raw
In response to Can anyone help setting up pgbouncer?  (Nick <nboutelier@gmail.com>)
Responses Re: Can anyone help setting up pgbouncer?  (Rikard Bosnjakovic <rikard.bosnjakovic@gmail.com>)
Re: Can anyone help setting up pgbouncer?  (Richard Huxton <dev@archonet.com>)
List pgsql-general
Thanks Richard, I updated my users.txt file to include quotes (it
didn't) which fixed the broken auth file error, but now im getting
this...

1518 ERROR unconfigured_file: No such file or directory

which repeats over and over again when I try

pgbouncer -v pgbouncer.ini



I updated my ini file to this:

bouncer1 = host=127.0.0.1 port=5432 dbname=bouncer1
bouncer1 = host=127.0.0.1 dbname=bouncer1
bouncer1 = host=127.0.0.1 port=5432 user=nboutelier password=password

logfile = pgbouncer.log
pidfile = pgbouncer.pid
listen_port = 6543
listen_addr = 127.0.0.1
auth_type = trust
auth_file = users.tx
admin_users = nboutelier


On Nov 13, 1:58 am, d...@archonet.com (Richard Huxton) wrote:
> Nick wrote:
> > Im trying to set up pgbouncer. Installation seemed to go well but when
> > I try...
>
> > $ pgbouncer -d pgbouncer.ini
>
> > I get an error...
>
> > 2009-11-13 02:02:35.170 7245 ERROR broken auth file
>
> It's complaining about your auth file, rather than pgbouncer.ini
>
> > Here is my pgbouncer.ini file...
> > auth_file = users.txt
>
> 1. Perhaps have a full path to the file here.
> 2. Check permissions/ownership on users.txt
> 3. Check the format of the file - each line should be <user> <password>
> with space between and double-quotes around each.
>    "myuser" "mypassword"
> 4. Run with -v rather than -d and see if you get any useful info on STDERR
>
> --
>   Richard Huxton
>   Archonet Ltd
>
> --
> Sent via pgsql-general mailing list (pgsql-gene...@postgresql.org)
> To make changes to your subscription:http://www.postgresql.org/mailpref/pgsql-general



pgsql-general by date:

Previous
From: John DeSoi
Date:
Subject: Re: postgresql installation problems
Next
From: majordomo-owner@postgresql.org
Date:
Subject: 3A37-A32F-9E8B : REMINDER from GLOBAL