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

From Nick
Subject Re: Can anyone help setting up pgbouncer?
Date
Msg-id e62bb899-830a-4327-a692-9accebefc0bc@z35g2000prh.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?  (Richard Huxton <dev@archonet.com>)
List pgsql-general
On Nov 18, 3:28 pm, d...@archonet.com (Richard Huxton) wrote:
> Nick wrote:
>
> > lsof -i | greppgbouncer
>
> > results in no output.
>
> Then it's either not running or not listening on a port (you did run
> that as root, didn't you?). Does "ps aux | greppgbouncer" show it?
>
> Yourpgbouncerlogfile should show the "File descriptor limit" line
> followed by one or more "listening on ..." lines. These lines should
> mention the port you're trying to connect to.
>
> If that all looks fine, but you still can't connect, stoppgbouncerand
> start it again but without the "-d" option and with the "-v" option.
> This will stop it from running as a daemon but make it more verbose.
> Hopefully we can see what it's doing then.
>
> --
>   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

Solved.

I restarted with the -v option and noticed a permission error with
the .pid file. I guess I installed pgbouncer as root and that created
the permission conflict. Ive updated the permissions and everythings
running smoothly now.

Thank you so much Richard for you help and patience!

pgsql-general by date:

Previous
From: Scott Bailey
Date:
Subject: Re: Enum on-disk format
Next
From: Richard Huxton
Date:
Subject: Re: Can anyone help setting up pgbouncer?