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 1l3Zas-0007Gj-8x for pgsql-general@arkaria.postgresql.org; Sun, 24 Jan 2021 07:13:54 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1l3Zar-0005sP-6i for pgsql-general@arkaria.postgresql.org; Sun, 24 Jan 2021 07:13:53 +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 1l3Zaq-0005sI-TP for pgsql-general@lists.postgresql.org; Sun, 24 Jan 2021 07:13:52 +0000 Received: from susanne.redcor.ch ([178.63.103.72]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1l3Zap-0002gQ-CQ for pgsql-general@postgresql.org; Sun, 24 Jan 2021 07:13:52 +0000 Received: from [192.168.0.43] (84-72-41-4.dclient.hispeed.ch [84.72.41.4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: robert@redcor.ch) by susanne.redcor.ch (Postfix) with ESMTPSA id AD599A04B0; Sun, 24 Jan 2021 08:13:49 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=redcor.ch; s=201908; t=1611472429; bh=hGLwakKcALAQ0pQv0XRJZC1B/UtiSbbny8vk29FKq1Q=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=WfExU9MMJVhfff535GVlgFHXeRipnHIMnPRR+aH5Jqm3JSwI6YB+J6XO5HNt2sVnG iwFyDCRqJZbPlw04w5TPhKHenOWckMmMDxOcjdBDeYuDjefK4wUD1fSJ5W8AU9LIJE ZCwlsjbBsWE3cOiNjoDJXSQzcHOgmqnnZ4irTMUHRngtpRaWUp7rx5c5/WJQWpbqaA 78nfC0nfOXFRZLJVa9irYBAcNQShatQ/YWi4+qn4rNJu2uIFnimdSsnZSRlrZ9PPz8 7tWV+zOYrUd6ha+E2ADCyaQLlfmVrzF4wiQWFoOBAfFeVtkn54WHDw/IqPW3F5nLwL 2FwTSRextC/+g== Subject: solved (was plain stupidity) Re: ubuntu 18: PostgreSQL does not start. how can I totally remove and reinstall it To: Julien Rouhaud Cc: robert rottermann , "pgsql-general@postgresql.org" References: <82dcf27f-2399-412c-30e9-c9b6d03f62c9@redcor.ch> <90b62d7f-1659-513a-ca25-3d803329e235@aklaver.com> <2df6a113-10ea-2e48-accf-e0db8909a581@redo2oo.ch> From: robert rottermann Message-ID: Date: Sun, 24 Jan 2021 08:13:48 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.6.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk thanks a lot. why dos such stupidity not hurt. ????? have a nice weekend robert On 24.01.21 08:04, Julien Rouhaud wrote: > On Sun, Jan 24, 2021 at 2:58 PM robert@redo2oo.ch wrote: >> root@elfero-test:~/scripts# pg_lsclusters >> Ver Cluster Port Status Owner Data directory Log file >> 10 main 5433 online postgres /var/lib/postgresql/10/main /var/log/postgresql/postgresql-10-main.log >> [...] >> psycopg2.OperationalError: could not connect to server: Connection refused >> Is the server running on host "localhost" (127.0.0.1) and accepting >> TCP/IP connections on port 5432? > It looks like your instance is configured to listen on port 5433, not 5432.