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 1jRhTh-00030A-R8 for pgsql-general@arkaria.postgresql.org; Thu, 23 Apr 2020 19:25:42 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jRhTg-0004cE-NC for pgsql-general@arkaria.postgresql.org; Thu, 23 Apr 2020 19:25:40 +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 1jRhTf-0004ab-Kf for pgsql-general@lists.postgresql.org; Thu, 23 Apr 2020 19:25:40 +0000 Received: from wout2-smtp.messagingengine.com ([64.147.123.25]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jRhTc-0006wl-IX for pgsql-general@postgresql.org; Thu, 23 Apr 2020 19:25:39 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id A8A4D628; Thu, 23 Apr 2020 15:25:32 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Thu, 23 Apr 2020 15:25:32 -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=fm2; bh=Y N+YcAw73QhA1/tfW38JN80vTJmG1dycFFtBP/dpVxw=; b=lswyhPD0GlusJM1BD FGylNKFeWhMqrpDevneoklf1bSAaekYlwRhHmQy7FQnZgXPX5UBOVywHv9kVLSop zEqgTfDD1NSxbhqt6LpuCKuk21P3WRck2q1igwgVBrDj+SpbIVMU/Wt0arjlTPx8 Wr4qrrQ1Slt4rFcFH/fzt1tA3MvrwgAB/RI14hM6nOsg1mdiq5O6VqgdwrLGKaHC TCtsYcVUonVVkZbQRkKIB8KQHt8lC2uXQvWwL1XksKeacwoOlA1JZMUjPjam5LPF 9W7DySe7/DywefI7dhPgREd8p2XFM8F50NTuzt64jK8v4WCb6wKSKkezUxzboeLS yI0LA== 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=YN+YcAw73QhA1/tfW38JN80vTJmG1dycFFtBP/dpV xw=; b=qmAzXNd/zeIGK26aksp7pzAyVa4qi6+Lfj+27eVd74+X/tduP+6ZsRghg vFPHo9Anx8QmRpI8Cob/ugd5k0ifRvWWdir9QSl3jTNW81UJgPSsBwOvsWcSWNAU HHiRgvWhSVS3YVunsS3dpIv0hpSOsDuwZJmf+NDe4A5uJyS3U+52c1LdXh5n42Sw UNVt+vLiYCqc3kYW8DrAhl0GfhLigToqOx1iO/st6gf/b59FL6Ct+e5Bw1W1lYPY +KkVujwI6u56AZ0zGhw+XPm1ghaGwfNhycNkZfOmqA3GHnPQCrDyg01ypZyWWqp/ 37EZq1ouNGUZAgghVLokXbPfIx5Sg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedrgeelgddutdeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepuffvfhfhkffffgggjggtgfesthekredttdefjeenucfhrhhomheptegurhhi rghnucfmlhgrvhgvrhcuoegrughrihgrnhdrkhhlrghvvghrsegrkhhlrghvvghrrdgtoh hmqeenucfkphepleejrdduudefrddvtdejrddufeeknecuvehluhhsthgvrhfuihiivgep tdenucfrrghrrghmpehmrghilhhfrhhomheprggurhhirghnrdhklhgrvhgvrhesrghklh grvhgvrhdrtghomh X-ME-Proxy: Received: from [192.168.1.10] (97-113-207-138.tukw.qwest.net [97.113.207.138]) by mail.messagingengine.com (Postfix) with ESMTPA id 88A4B3065CAC; Thu, 23 Apr 2020 15:25:31 -0400 (EDT) Subject: Re: Could Not Connect To Server To: Dummy Account , "David G. Johnston" Cc: pgsql-general References: From: Adrian Klaver Message-ID: <0d2591c4-4dfb-ef41-6329-016509cd3a00@aklaver.com> Date: Thu, 23 Apr 2020 12:25:30 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 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 4/23/20 12:12 PM, Dummy Account wrote: > Hi David, > When I backed-up, I don't know if the server was offline?  I can say > that I was not running pgAdmin.  For instance, I backed up the Operating > System and all of its applications.  If I go run other application, > including other servers, they work.  As a matter of fact, if I boot into > the old hard drive while it is outside of the laptop, it still works > just as it did before I took it out of the laptop. > As far as your question of "And the relevant content from the log > directory log file?": what are you asking for?  That *is* the entire and > complete log after that command. Those are the messages sent to the screen. There are also messages sent to the Postgres server log. Not sure where the OS X install puts that, but I would start under /Library/PostgreSQL/12/data. > Thanks, I appreciate the help. > *Sent:* Thursday, April 23, 2020 at 1:55 PM > *From:* "David G. Johnston" > *To:* "Dummy Account" > *Cc:* "pgsql-general" > *Subject:* Re: Could Not Connect To Server > On Thu, Apr 23, 2020 at 11:48 AM Dummy Account > wrote: > > But here they are: > > waiting for server to start....2020-04-22 15:57:51.766 CDT [5255] > LOG:  starting PostgreSQL 12.2 on x86_64-apple-darwin, compiled by > Apple LLVM version 6.0 (clang-600.0.54) (based on LLVM 3.5svn), 64-bit > 2020-04-22 15:57:51.766 CDT [5255] LOG:  listening on IPv6 address > "::", port 5432 > 2020-04-22 15:57:51.766 CDT [5255] LOG:  listening on IPv4 address > "0.0.0.0", port 5432 > 2020-04-22 15:57:51.768 CDT [5255] LOG:  listening on Unix socket > "/tmp/.s.PGSQL.5432" > 2020-04-22 15:57:51.782 CDT [5255] LOG:  redirecting log output to > logging collector process > 2020-04-22 15:57:51.782 CDT [5255] HINT:  Future log output will > appear in directory "log". > > And the relevant content from the log directory log file? > >  stopped waiting > pg_ctl: could not start server > You might be misunderstanding where I said restore, I did not backup > the database, I restored an Operating System because I changed out > my hard drive for a solid state drive; therefore, I had to restore > my Operating System from Time Machine/(backup). > > And was that Time Machine backup made while the server was offline?  If > not, and you didn't take any explicit steps to backup and restore the > database itself, then your database may be corrupted and thus unable to > boot.  The log file should indicate whether that is the case. > David J. -- Adrian Klaver adrian.klaver@aklaver.com