Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bpC7X-0001Qu-Rz for pgsql-admin@arkaria.postgresql.org; Wed, 28 Sep 2016 10:29:47 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1bpC7X-0000kF-D2 for pgsql-admin@arkaria.postgresql.org; Wed, 28 Sep 2016 10:29:47 +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.84_2) (envelope-from ) id 1bpC5r-0007IT-9f for pgsql-admin@postgresql.org; Wed, 28 Sep 2016 10:28:03 +0000 Received: from ns5.gunduz.org ([107.170.136.15] helo=ns1.gunduz.org) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bpC5n-0007eQ-AI for pgsql-admin@postgresql.org; Wed, 28 Sep 2016 10:28:02 +0000 Received: from asus-laptop-03-gunduz-org (unknown [88.248.122.226]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ns1.gunduz.org (Postfix) with ESMTPSA id 868D33FCFF; Wed, 28 Sep 2016 10:27:57 +0000 (UTC) Message-ID: <1475058469.24885.34.camel@gunduz.org> Subject: Re: /var/run/postgresql/.s.PGSQL.5432 should be 5433 From: Devrim =?ISO-8859-1?Q?G=FCnd=FCz?= To: Poul Kristensen , pgsql-admin@postgresql.org Date: Wed, 28 Sep 2016 13:27:49 +0300 In-Reply-To: References: Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="=-9tagkSPkOeuw5Cm6HorD" X-Mailer: Evolution 3.20.5 (3.20.5-1.fc24) Mime-Version: 1.0 X-Pg-Spam-Score: -4.9 (----) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-admin Precedence: bulk Sender: pgsql-admin-owner@postgresql.org --=-9tagkSPkOeuw5Cm6HorD Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi, On Tue, 2016-09-27 at 10:08 +0200, Poul Kristensen wrote: > I have need to have to difference Postgres version runnung on the same RH= EL > 7.2 server. >=20 > They are listening on 2 different ports as configured but socket is still > listening > on=C2=A0 port 5432 for=C2=A0 both of them. >=20 > How come and how do I change this? If you installed Postgres from Red Hat repos (likely), then change the port number in unit file for the second instance. The recommended way is copying= the unit file under /etc/systemd/system/ and modify from there. If you installed from PGDG repos, then changing port from postgresql.conf i= s sufficient. Regards, --=20 Devrim G=C3=9CND=C3=9CZ EnterpriseDB: http://www.enterprisedb.com PostgreSQL Dan=C4=B1=C5=9Fman=C4=B1/Consultant, Red Hat Certified Engineer Twitter: @DevrimGunduz , @DevrimGunduzTR --=-9tagkSPkOeuw5Cm6HorD Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAABCAAGBQJX65slAAoJENjDPf6Sz2617WsP/iIgCKMqG7neF6VKjU+tm9pV 7ds6qpl1gFfkdY/SwWH5La1qE2PRcGS9fm4VmryBBMV3H/l6JJX/+ebFjwgSosN2 aGQc9Wx9v/wGOXgwxyWceWsgr3d3fgmZMb7nTLT+Ec2k7ue5YnTP3UGFwNZMtI51 Z7i4kAsbuMNb42kQHYR4wzZXBjj5O4VXQVrF7OOiXu+XxKcreQdXuE9GWQEMVlGL P4lbHxKiopc/g/g+hanmgajgb7N48DNWlqkSTd08A6jEj9vKj0qE58a+NLSj61+u 4sFlJ2iFTF/Z/CgYReRVCU45BpC7+3jJ7HREiMz+qKAzJft3Dad7qoWzlTxAPwKi MZuHf3jxoGKuo2pztUg7ENx0I3EgR/5lFwGf4919RBgfq7rFtoZAUj3D4IBUQHbW 4KCONASZIaXWsbwJ/auO1EM/RPFyC3sMzJ0LWSFjeKdVkVWFGWm3PPj6AROJfEpw KfqiZfnZNnzODlKEo9YsUmrrC3ItJBjGJPMWga/vyIpmc2DbojjVviZ6sEk4jEd/ hRnQH618jKKv5A+kC/rvwlNxJhQVwgdKBfuvLyM8cFxXMmj+htgFIDn8EHZLeqS2 kbaB61H7Z8z8JPE9BGIOcKydcFmRHE4BP8aptql/K2p/c7cQAIRJm3UEk/OEueCx hMtD1rXYw9XyVQkJFkF1 =lN+V -----END PGP SIGNATURE----- --=-9tagkSPkOeuw5Cm6HorD--