Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hXCcf-0008Vd-Md for pgsql-general@arkaria.postgresql.org; Sat, 01 Jun 2019 22:37:10 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hXCcb-00042j-UL for pgsql-general@arkaria.postgresql.org; Sat, 01 Jun 2019 22:37:05 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hXCcZ-0003hS-P9 for pgsql-general@lists.postgresql.org; Sat, 01 Jun 2019 22:37:05 +0000 Received: from out3-smtp.messagingengine.com ([66.111.4.27]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hXCcS-00045R-1G for pgsql-general@lists.postgresql.org; Sat, 01 Jun 2019 22:37:02 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id C5AFF2102F; Sat, 1 Jun 2019 18:36:54 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Sat, 01 Jun 2019 18:36:54 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= subject:to:cc:references:from:message-id:date:mime-version :in-reply-to:content-type:content-transfer-encoding; s=fm3; bh=y R0Iif5/KBfv2EHf7PfIx2X7SyaXajvpUkqH/0I/8n0=; b=DO9Yl/V2GQC36XuAy j1K9B0EmuAAjm5ROOiWoixL9YixF0G1cB7+3fEMNT+VmQaqeXuWUYwt4tsNY8cBF mjfDzbM0LeCUWkWPs+IfmcQVOoCNt+1xXxv9OMyLz3J2/llfbUZCrAcih3NW71b/ 1SRCF9C+R4E998BUFR4+51jq08swvOyAc2kiymZikk2ogfJ2nvhKvhOF3dSX/0MK AWd5Z0eE02xQC7RxFemIg9Sae94W8rTTa36sFlURcj9U1URIgfIijwKYzSfTcLtl Yk28QRzauhzizUFtZWhA4iuJ4WC8i4E6ydy16PfDNrd+uv5tPo9W5AgHHjcEnaqQ nzWqQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=yR0Iif5/KBfv2EHf7PfIx2X7SyaXajvpUkqH/0I/8 n0=; b=PvqeG1sHxovT8IBJG+EJ1CqTF/YnLOwTdCM55LBsygcVEuepq9z6PLx1N arIbcnR1uDOdlJrXnfWjmpza9K0MmAfJ95dMgRZ94STmGXtHHBa4UJ53TcnFz38Q J0Yrxd/S1EY2fn6ORD8+1ceKGYG3A8KFR5mo93gq8mVNTSn7paWUO/zjEZj0d62H 60wf/65aUGeiJnD8e5qov7jUYAlZqzmeYIIktgH7Nqjp+U+Q86ZfhH7rM22EuF4j 2+s0H3499fKBK3hOLeKoqimcvB8zqrBKVHJLtQ5VGPFdhOlxQgxZLnrPeP7fPhIf 3Bme3ZuafmD6Q7PpUbLuiCDN467Lw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduuddrudefgedgudduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefuvfhfhffkffgfgggjtgfgsehtke ertddtfeejnecuhfhrohhmpeetughrihgrnhcumfhlrghvvghruceorggurhhirghnrdhk lhgrvhgvrhesrghklhgrvhgvrhdrtghomheqnecukfhppeejuddrvdduvddrudehtddrvd dtvdenucfrrghrrghmpehmrghilhhfrhhomheprggurhhirghnrdhklhgrvhgvrhesrghk lhgrvhgvrhdrtghomhenucevlhhushhtvghrufhiiigvpedt X-ME-Proxy: Received: from [192.168.1.4] (unknown [71.212.150.202]) by mail.messagingengine.com (Postfix) with ESMTPA id 0C630380073; Sat, 1 Jun 2019 18:36:53 -0400 (EDT) Subject: Re: psql: FATAL: the database system is starting up To: Tom K Cc: pgsql-general@lists.postgresql.org References: <5b7e0d74-8d6e-c3b8-fb62-3aab1fe0145d@aklaver.com> <76851993-4826-f300-85ac-42d8b705a56f@aklaver.com> <43b5c459-6ee4-c8ec-c402-47ea92738c86@aklaver.com> From: Adrian Klaver Message-ID: Date: Sat, 1 Jun 2019 15:36:53 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 6/1/19 3:14 PM, Tom K wrote: > > > ** Correction.  There is postgres, template1 and template2 but none of > the other databases we had. In a psql session do: select oid, datname from pg_database ; Then go to /data/patroni an drill down to the base directory. In that directory there should be sub-directories with numbers equal to the oid values from the query. If not then something is wrong. That could be: 1) Wrong data directory. 2) Copied over incorrect data directory. Basically if the only sub-directories are for the system databases then the user databases do not exist. You might want to look at some of the other clusters to see what is there. -- Adrian Klaver adrian.klaver@aklaver.com