Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eQpye-0006JC-0i for pgsql-admin@arkaria.postgresql.org; Mon, 18 Dec 2017 07:36:44 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eQpyc-0003AM-Eu for pgsql-admin@arkaria.postgresql.org; Mon, 18 Dec 2017 07:36:42 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1eQpyc-0003AB-1t for pgsql-admin@lists.postgresql.org; Mon, 18 Dec 2017 07:36:42 +0000 Received: from mx2.mailbox.org ([80.241.60.215]) by makus.postgresql.org with esmtps (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1eQpyU-0008Kj-Kv for pgsql-admin@postgresql.org; Mon, 18 Dec 2017 07:36:40 +0000 Received: from smtp2.mailbox.org (smtp2.mailbox.org [80.241.60.241]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx2.mailbox.org (Postfix) with ESMTPS id 471904CC88; Mon, 18 Dec 2017 08:36:29 +0100 (CET) X-Virus-Scanned: amavisd-new at heinlein-support.de Received: from smtp2.mailbox.org ([80.241.60.241]) by spamfilter01.heinlein-hosting.de (spamfilter01.heinlein-hosting.de [80.241.56.115]) (amavisd-new, port 10030) with ESMTP id nCyMG3WXghO5; Mon, 18 Dec 2017 08:36:28 +0100 (CET) Message-ID: <1513582586.2494.3.camel@cybertec.at> Subject: Re: Postgres 10 shutting down on installation in Ubuntu 14 From: Laurenz Albe To: Debraj Manna , pgsql-admin Date: Mon, 18 Dec 2017 08:36:26 +0100 In-Reply-To: References: Organization: Cybertec Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Debraj Manna wrote: > On trying to install postgres on Ubuntu 14 I am seeing postgres is shutting down. I am seeing the below errors in logs > > 2017-12-16 02:41:40.657 PST [19043] LOG: listening on IPv4 address "127.0.0.1", port 5432 > 2017-12-16 02:41:40.660 PST [19043] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" > 2017-12-16 02:41:40.675 PST [19044] LOG: database system was shut down at 2017-12-16 02:41:39 PST > 2017-12-16 02:41:40.681 PST [19043] LOG: database system is ready to accept connections > 2017-12-16 02:41:41.246 PST [19051] [unknown]@[unknown] LOG: incomplete startup packet > 2017-12-16 02:41:45.631 PST [19043] LOG: received fast shutdown request > 2017-12-16 02:41:45.637 PST [19043] LOG: aborting any active transactions > 2017-12-16 02:41:45.639 PST [19043] LOG: worker process: logical replication launcher (PID 19050) exited with exit code 1 > 2017-12-16 02:41:45.639 PST [19045] LOG: shutting down > 2017-12-16 02:41:45.664 PST [19043] LOG: database system is shut down > > Can some one let me know what could be going wrong? The database server is shutting down because somebody tells it to do that by sending it a SIGINT signal. That could be a user or a script running "pg_ctl stop". You'll have to investigate who does that. If it always happens soon after startup, perhaps the startup script is at fault. Yours, Laurenz Albe