Re: Can anyone help setting up pgbouncer?

From: Richard Huxton <dev(at)archonet(dot)com>
To: Nick <nboutelier(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Can anyone help setting up pgbouncer?
Date: 2009-11-13 09:58:53
Message-ID: 4AFD2DDD.4030009@archonet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Sam Jas 2009-11-13 10:02:51 Re: Can anyone help setting up pgbouncer?
Previous Message weixiang tam 2009-11-13 09:16:28 Customize the install directory of the postgres DB