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 1g2evk-0006gf-Bn for pgsql-general@arkaria.postgresql.org; Wed, 19 Sep 2018 16:02:21 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1g2evi-0006Vb-1D for pgsql-general@arkaria.postgresql.org; Wed, 19 Sep 2018 16:02:18 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1g2evg-0006VP-DN for pgsql-general@lists.postgresql.org; Wed, 19 Sep 2018 16:02:17 +0000 Received: from out1-smtp.messagingengine.com ([66.111.4.25]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1g2evb-0004v4-S8 for pgsql-general@postgresql.org; Wed, 19 Sep 2018 16:02:15 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id C8B36212C8; Wed, 19 Sep 2018 12:02:09 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Wed, 19 Sep 2018 12:02:09 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=fm1; bh=4LoKZd7OdH4Nq5hcOrkAotXYBA9qz 4FR0Be4fNLAMG0=; b=E8u7kh/Yq1GnSGJFSWcPM535ImrMJW8Iq9mMURAWrGfjB LGP/K4KAUeDuO/CKydie9/7iQty3dvSrlq8BoRT24zk3aPh3qQ1kS1rtSpbRXlcD Lkfv8aQN6AYJc/NyeRJCLweO7vk16x7H0xirAvdrxx/NT/lEb1YHb5xWUDFGs9u+ eKA7H9z/V3cowhexPMXV7HjQOOIKxuKqJ5LKQtkfDul5axtxTWLYbAekTRpIV1h3 3fUb8AEFRL+TshVVOPq1FNtLXxzgDh0OJS1xdvkgbeyyY/e2EXbJq/y5/s4XANkJ 5wN4EAUcXvdHdyUXwTO9ET657migBQw6vQjIbiHhw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=4LoKZd 7OdH4Nq5hcOrkAotXYBA9qz4FR0Be4fNLAMG0=; b=XO25G/O9DOixjv642fxeCB EBqGZJc3s2Eqac2qPJxQKcIbAaOnMc7Fq7etiChjCyPe5BXPE0141J3qiLMcRrQc zd1TnC+XVPaIz9wMZeU3G9R9WmWZcLLewNHB4LyQ64c4lgEPeoZSEREVHYq1010z LTaoc1X13YxGYnz093qiPwpzM0lBwM94AJ6EEc+L5dEgtfYjJ61rdgUi3CIzX92I 1nrc5EcM/XW76XUe7ReyI3TqNG5WbtwYFEmlLFDpUAy+4V2ZP67p0/j3CvwBTf8b aMie3h1D2/Oe+jO8RYHjqcORfZxPpSAvfOEpaGXzke9wdBFKkZp85DgfBvG/eN/A == X-ME-Proxy: X-ME-Sender: Received: from ranger.suse (unknown [74.94.73.222]) by mail.messagingengine.com (Postfix) with ESMTPA id 23C16102E2; Wed, 19 Sep 2018 12:02:09 -0400 (EDT) Subject: Re: Pgbouncer and postgres To: ncontu1 , pgsql-general@postgresql.org References: <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> From: Adrian Klaver Message-ID: <1917c836-6bf1-b8a3-9ac9-bf0f2a735a23@aklaver.com> Date: Wed, 19 Sep 2018 09:02:08 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.0 MIME-Version: 1.0 In-Reply-To: <1537371574225-0.post@n3.nabble.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 9/19/18 8:39 AM, ncontu1 wrote: > 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 Is the compiled version still running? Or is something else sitting on the 6543 socket? > 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. Not sure. For those that might know it would help to provide the complete ./configure used and the config.log(or equivalent) > > > > -- > Sent from: http://www.postgresql-archive.org/PostgreSQL-general-f1843780.html > -- Adrian Klaver adrian.klaver@aklaver.com