From: | Nick <nboutelier(at)gmail(dot)com> |
---|---|
To: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: Can anyone help setting up pgbouncer? |
Date: | 2009-11-19 00:42:49 |
Message-ID: | e62bb899-830a-4327-a692-9accebefc0bc@z35g2000prh.googlegroups.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On Nov 18, 3:28 pm, d(dot)(dot)(dot)(at)archonet(dot)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(dot)(dot)(dot)(at)postgresql(dot)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!
From | Date | Subject | |
---|---|---|---|
Next Message | weixiang tam | 2009-11-19 01:51:21 | Re: Customize the install directory of the postgres DB |
Previous Message | Tom Lane | 2009-11-18 23:49:11 | Re: Enum on-disk format |