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 1hMGtk-0003WW-Fa for pgsql-general@arkaria.postgresql.org; Thu, 02 May 2019 18:57:37 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hMGtg-0004Pl-Js for pgsql-general@arkaria.postgresql.org; Thu, 02 May 2019 18:57:32 +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 1hMGte-0004Pd-Mb for pgsql-general@lists.postgresql.org; Thu, 02 May 2019 18:57:32 +0000 Received: from wout3-smtp.messagingengine.com ([64.147.123.19]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hMGtb-0003Zf-EC for pgsql-general@postgresql.org; Thu, 02 May 2019 18:57:29 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id 9797F36E; Thu, 2 May 2019 14:57:25 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Thu, 02 May 2019 14:57:25 -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=P Ke2F94Oc10Au9xAMnGKO2PI7q3yiSCAsl9iJDXKzdY=; b=xzyEf+98WhdR5mZdn ZWOKTrqsWawWp06KW73tjrS20y1ISIVL0KYxHHlJDSx6Xzk8xMXZ+PiyZWCM98+o 9FCp9JMzAEoRGNffqOxq5QN3dhqPMKuSOi2uu71RtzXXsGahIC6cC5TIpGw5dCIj GDCsLujo2j73Dnq+8GTV28g1VkKGaVezrWHkaLwANallmTbPYgq9rqSqppAWBEX8 qg4LjDDY0bglV0/2RLQiJFEGJ0NawZWJXaoeL2nC1j+j2v5MsBQiOd9yZzn8GcVR OEf6wQcT9QUEHOMJN2msSp8EkC7PkPJStvq/NGUa610zMOlQIvpWEKZWHsPSJulE 23nIg== 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=PKe2F94Oc10Au9xAMnGKO2PI7q3yiSCAsl9iJDXKz dY=; b=7ohS5nN0NOv74mT3j4dLCv35XbJ0uZepeatkhdcoTGKFjUjRay2ZVzS6V pI1W6pxMLco+Uvpc+vJJM3v634hWgSf0cCda7243fw+FyNc/aRGuULBNak3+NTKg iPLUD9tYdBzP8uzdyLpBXotYRgN7HAWU7R3IEL2UJQZzu33hR6HkQDvpmPRS6Sqf 95tEhBcybolehXmx04cIUMfo6fJgoLdQCdOeEhDDDyC6h+rui/c4nLU2Gc4Zdwsn C/D/UAsYF1gUc91mVjLBEuV1+6EOORtpyb7nWEBkUANsZxmVBYy7QMMLNrd7RyAF 0n6gYaeg7u+MRoIiFkN/5Znrcs5FQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduuddrieelgddufeegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepuffvfhfhkffffgggjggtgfesthekredttdefjeenucfhrhhomheptegurhhi rghnucfmlhgrvhgvrhcuoegrughrihgrnhdrkhhlrghvvghrsegrkhhlrghvvghrrdgtoh hmqeenucfkphepjedurddvuddvrdduhedtrddvtddvnecurfgrrhgrmhepmhgrihhlfhhr ohhmpegrughrihgrnhdrkhhlrghvvghrsegrkhhlrghvvghrrdgtohhmnecuvehluhhsth gvrhfuihiivgeptd X-ME-Proxy: Received: from [192.168.1.4] (unknown [71.212.150.202]) by mail.messagingengine.com (Postfix) with ESMTPA id 6005EE4625; Thu, 2 May 2019 14:57:24 -0400 (EDT) Subject: Re: Debugging Failed Startup To: Ray Cote , pgsql-general General References: From: Adrian Klaver Message-ID: Date: Thu, 2 May 2019 11:57:23 -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 5/2/19 11:22 AM, Ray Cote wrote: > Does anyone have a hint on how I'd go about debugging why PostgreSQL 11 > is not starting on CentOS 7? > Was running fine for several weeks then fails to come up after a reboot. > > I did change the name of the CentOS7 server, but I don't expect that to > have any effect on the database. > > I'm running debug5 to the logs. The log below is coming from your syslog? Is there more in the syslog? > > There's nothing in the ./log directory past the database shutting down. > Here's what's in messages. All seems to be fine and then boom! > > ... postmaster: LOG:  listening on IPv6 address "::1", port 5432 > ... postmaster: LOG:  listening on IPv4 address "127.0.0.1", port 5432 > ... postmaster: LOG:  listening on Unix socket > "/var/run/postgresql/.s.PGSQL.5432" > ... postmaster: LOG:  listening on Unix socket "/tmp/.s.PGSQL.5432" > ... postmaster: DEBUG:  invoking IpcMemoryCreate(size=148553728) > ... postmaster: DEBUG:  SlruScanDirectory invoking callback on > pg_notify/0000 > ... postmaster: DEBUG:  removing file "pg_notify/0000" > ... postmaster: DEBUG:  dynamic shared memory system will support 288 > segments > ... postmaster: DEBUG:  created dynamic shared memory control segment > 1998722972 (6928 bytes) > ... postmaster: DEBUG:  max_safe_fds = 983, usable_fds = 1000, > already_open = 7 > ... postmaster: LOG:  redirecting log output to logging collector process > ... postmaster: HINT:  Future log output will appear in directory "log". > ... systemd: postgresql-11.service: main process exited, code=exited, > status=1/FAILURE > ... systemd: Failed to start PostgreSQL 11 database server. > ... systemd: Unit postgresql-11.service entered failed state. > > --Ray -- Adrian Klaver adrian.klaver@aklaver.com