Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1g2eZt-0005cH-Ph for pgsql-general@arkaria.postgresql.org; Wed, 19 Sep 2018 15:39:45 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1g2eZr-00008U-I3 for pgsql-general@arkaria.postgresql.org; Wed, 19 Sep 2018 15:39:43 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1g2eZr-00008M-A5 for pgsql-general@lists.postgresql.org; Wed, 19 Sep 2018 15:39:43 +0000 Received: from n3.nabble.com ([162.255.23.22]) by magus.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1g2eZk-0001a8-Cp for pgsql-general@postgresql.org; Wed, 19 Sep 2018 15:39:42 +0000 Received: from n3.nabble.com (localhost [127.0.0.1]) by n3.nabble.com (Postfix) with ESMTP id 3775CF3C7156 for ; Wed, 19 Sep 2018 08:39:34 -0700 (MST) Date: Wed, 19 Sep 2018 08:39:34 -0700 (MST) From: ncontu1 To: pgsql-general@postgresql.org Message-ID: <1537371574225-0.post@n3.nabble.com> In-Reply-To: <3fd5b916-4645-c4f4-5d95-79d0d69693ed@portavita.eu> References: <1537360813906-0.post@n3.nabble.com> <37ba556c-5317-128a-66c8-496e2360cdd4@aklaver.com> <3fd5b916-4645-c4f4-5d95-79d0d69693ed@portavita.eu> Subject: Re: Pgbouncer and postgres MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk 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