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 1jRiRP-0005BT-R6 for pgsql-general@arkaria.postgresql.org; Thu, 23 Apr 2020 20:27:24 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jRiRO-0001bm-Nk for pgsql-general@arkaria.postgresql.org; Thu, 23 Apr 2020 20:27:22 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jRiRN-0001bf-Gr for pgsql-general@lists.postgresql.org; Thu, 23 Apr 2020 20:27:22 +0000 Received: from wout2-smtp.messagingengine.com ([64.147.123.25]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jRiRL-0006Ry-8r for pgsql-general@postgresql.org; Thu, 23 Apr 2020 20:27:20 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id CAB062C3; Thu, 23 Apr 2020 16:27:17 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Thu, 23 Apr 2020 16:27:18 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= subject:to:references:from:message-id:date:mime-version :in-reply-to:content-type:content-transfer-encoding; s=fm2; bh=n kfnZcfoAjyi1slY9ouPxQelbfodUBDPkl7lQTUWz5Y=; b=Sr3ba2gfoVIW+vEjW kcZk7PKkE0x1OSOf29MPMS4ou5BdP2hho1lXjVbcYi7c7m/DUrisWsNb+2t2jyGH MenUhAcnX2RzoJAgfkf4e+XHbrcq9mO52rZWAKzgNhkJU4K/pD6J0ET8nleo/aW/ rfnvDspdLO/6rgXWHZCwJnlT916vJ9JPvslbiIzCrfg2F8LyW4GD93XS54tsDOhS ShYphLsD1uxYfxcKXXxMqrUOrJnBTZKJcMTqOUqNuHyonmwu6ioIzD1v9vp00POM aVPZ0c66ZYaGgWMZt6gE7IXPiI458dPm4ZSS7inctQ5SgAQFW6UwsxOEnr6odfNe YGS7w== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=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=nkfnZcfoAjyi1slY9ouPxQelbfodUBDPkl7lQTUWz 5Y=; b=GywAGLoNSC8WeclC1PkWKVsSB9+31TeFEgTJ0aIARF6l/8Wu6RFZbMKzt S8VasQRswvxtvqRGd4KA4PxkhGpLIBF1kCcQRPcVNpMQrGEzVIjfz+6yniXe98x1 MArub2CrRB9oZ/ecgT9Ve0FBHDvzQdPhbWyINuB/RRdVj6CGDWat92tLM6e+BSjo cjOML7dKjDzAcI6aDAUW1V5eMyMRs1PXY7CVGMq66Gp4hWXAQvHBl5hL0GqRsNsD DksWBnXJy6rns4Vm/CnhigXMuSs/Hg/sLb6bBqzP/qZO1o64KTkuwPpVa2dHK1KZ w3YOfIUuv2s/Z9x79jHCvp9YdVuCQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedrgeelgdduudehucetufdoteggodetrfdotf 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 750F43065D5B; Thu, 23 Apr 2020 16:27:15 -0400 (EDT) Subject: Re: Fw: Re: Could Not Connect To Server To: Dummy Account , pgsql-general , "David G. Johnston" References: <0d2591c4-4dfb-ef41-6329-016509cd3a00@aklaver.com> From: Adrian Klaver Message-ID: <7b6777a3-770d-3d5b-4cdb-2d9c141efc9c@aklaver.com> Date: Thu, 23 Apr 2020 13:27:14 -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 1:24 PM, Dummy Account wrote: > Hey Everyone, > I did find loggin.h and insallation_summary.log.  Neither of which look > to include the info you may want. > Please advise as to what log file you want to see. Did you look under: /Library/PostgreSQL/12/data directory for sub-directory?: log/ And under it for log files? > Thanks > *Sent:* Thursday, April 23, 2020 at 2:32 PM > *From:* "Dummy Account" > *To:* "Adrian Klaver" > *Cc:* "David G. Johnston" , "pgsql-general" > > *Subject:* Re: Could Not Connect To Server > Hey David, > Can you tell me the exact name of the log file?  Then I can search for it. > Thanks > *Sent:* Thursday, April 23, 2020 at 2:25 PM > *From:* "Adrian Klaver" > *To:* "Dummy Account" , "David G. Johnston" > > *Cc:* "pgsql-general" > *Subject:* Re: Could Not Connect To Server > 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 -- Adrian Klaver adrian.klaver@aklaver.com