From: ncontu1 <nicola.contu@gmail.com>
To: pgsql-general@postgresql.org
Subject: Re: Pgbouncer and postgres
Date: Wed, 19 Sep 2018 08:39:34 -0700 (MST)
Message-ID: <1537371574225-0.post@n3.nabble.com> (raw)
In-Reply-To: <3fd5b916-4645-c4f4-5d95-79d0d69693ed@portavita.eu>
References: <CAMTZZh3r06EkwdL6W58i3ODSohZV__Rf3uBktXLfKOhxPuU8oA@mail.gmail.com>
<d37d2f58-775c-50c2-f65d-e9a45cfe47c0@portavita.eu>
<1537360813906-0.post@n3.nabble.com>
<37ba556c-5317-128a-66c8-496e2360cdd4@aklaver.com>
<3fd5b916-4645-c4f4-5d95-79d0d69693ed@portavita.eu>
So unexpectedly with the rpms, it installed it on a different place and it is
working from command line
[root@cmd-dev1 pgbouncer]# /bin/pgbouncer /etc/pgbouncer/pgbouncer.ini -u
postgres
2018-09-19 15:38:36.081 46322 LOG File descriptor limit: 1024 (H:4096),
max_client_conn: 100, max fds possible: 230
2018-09-19 15:38:36.082 46322 LOG Stale pidfile, removing
2018-09-19 15:38:36.082 46322 LOG listening on 0.0.0.0:6543
2018-09-19 15:38:36.082 46322 LOG listening on ::/6543
2018-09-19 15:38:36.083 46322 WARNING Cannot listen on
unix:/tmp/.s.PGSQL.6543: bind(): Address already in use
2018-09-19 15:38:36.083 46322 LOG process up: pgbouncer 1.8.1, libevent
2.0.21-stable (epoll), adns: c-ares 1.10.0, tls: OpenSSL 1.0.2k-fips 26 Jan
2017
[root@cmd-dev1 ~]# psql -U ncontu -p 6543 cmd3dev -h IP_ADD
Password for user ncontu:
psql (10.5)
Type "help" for help.
cmd3dev=# \q
So at this point... I don't really know why compiled from source it does not
work.
--
Sent from: http://www.postgresql-archive.org/PostgreSQL-general-f1843780.html
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: nicola.contu@gmail.com
Subject: Re: Pgbouncer and postgres
In-Reply-To: <1537371574225-0.post@n3.nabble.com>
References: <CAMTZZh3r06EkwdL6W58i3ODSohZV__Rf3uBktXLfKOhxPuU8oA@mail.gmail.com> <d37d2f58-775c-50c2-f65d-e9a45cfe47c0@portavita.eu> <1537360813906-0.post@n3.nabble.com> <37ba556c-5317-128a-66c8-496e2360cdd4@aklaver.com> <3fd5b916-4645-c4f4-5d95-79d0d69693ed@portavita.eu> <1537371574225-0.post@n3.nabble.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox