Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mfoxL-0001X2-DK for pgsql-general@arkaria.postgresql.org; Wed, 27 Oct 2021 19:51:27 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mfoxK-0005f3-Cy for pgsql-general@arkaria.postgresql.org; Wed, 27 Oct 2021 19:51:26 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mfoxK-0005eu-0o for pgsql-general@lists.postgresql.org; Wed, 27 Oct 2021 19:51:26 +0000 Received: from 82-64-8-238.subs.proxad.net ([82.64.8.238] helo=mapper.nohost.me) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mfoxH-0006MV-NH for pgsql-general@lists.postgresql.org; Wed, 27 Oct 2021 19:51:25 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mapper.fr; s=mail; t=1635364280; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=3YslLdq1b9hG5hAS8zs+u1IHwVjnBbLm015DAF8sPyE=; b=qN93v9xoFhfg0SxS67r88atAquerZHuY+FcU/oFu846g2OH+rYGK8YZ6xYUaBZc9KzjVcO 1U4ZBaJq+rVXAGgWlogvclvRdtIAOz0xqsL4KbaTtDYrOvaPPd25VIe2OtyAUEqzvsG+7Z l3Ma/AForYoaGNFrNgWCUgyaHly+JW4= Message-ID: <27fef402-88cd-b5cf-0c05-4556eea8d74f@mapper.fr> Date: Wed, 27 Oct 2021 21:51:19 +0200 MIME-Version: 1.0 Subject: Re: psql could not connect to server after complete reinstallation [Ubuntu 21.10 / PostgreSQL 13] Content-Language: fr To: Adrian Klaver , pgsql-general@lists.postgresql.org References: <9e818078-3773-ba04-2ee8-eb7d1ef79439@mapper.fr> <90ebbc17-a029-7340-2272-f37363dd5651@mapper.fr> <1f138d29-de52-a680-d8a1-27fc66bae52c@aklaver.com> From: =?UTF-8?B?SsOpcsOpbXkgR2FybmlhdXg=?= In-Reply-To: <1f138d29-de52-a680-d8a1-27fc66bae52c@aklaver.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Adrian, Le 27/10/2021 à 19:30, Adrian Klaver a écrit : > > Your Postgres 13 cluster is up and listening on 5433. > > Your choices: > > 1) Connect using psql -d -U -p 5433 > > > 2) Open: > > sudo vi /etc/postgresql/13/main/postgresql.conf > > and change > > port = 5433 > > to > > port = 5432 > > and then restart server. > > > While you are at it: > > sudo pg_dropcluster 12 main > > to get rid of the orphaned cluster. Great, thanks for your help. Everything is back in order now. I found out about Pg clusters in the process! Best regards, Jeremy