Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bUj4T-0005yf-02 for pgsql-docs@arkaria.postgresql.org; Tue, 02 Aug 2016 23:26:01 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1bUj4S-0001sG-Em for pgsql-docs@arkaria.postgresql.org; Tue, 02 Aug 2016 23:26:00 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bUj4R-0001s9-Pd for pgsql-docs@postgresql.org; Tue, 02 Aug 2016 23:26:00 +0000 Received: from out5-smtp.messagingengine.com ([66.111.4.29]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bUj4N-0005ai-0c for pgsql-docs@postgresql.org; Tue, 02 Aug 2016 23:25:58 +0000 Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.nyi.internal (Postfix) with ESMTP id AD8F12069A; Tue, 2 Aug 2016 19:25:52 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute2.internal (MEProxy); Tue, 02 Aug 2016 19:25:52 -0400 DKIM-Signature: v=1; a=rsa-sha1; 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-sasl-enc:x-sasl-enc; s=smtpout; bh=Iv+/8rHAaXHUOX6 2ujv7/ozMY+U=; b=b/kek2gk3AVRXIm7DuBJwsBOXUe0duHzR7QXY7vc08WM0Ln 1p13QbK9AXKufEUkG9h2iVRk96VcIXsymQ9niD1ljT8hqaCBpQev8c5JXa2L1h2O hzp/6f7B/ChuQCYaZGoM22RsQugyECSfD5L0gxf2BoDpo4Ei6uoSJIJyI6qY= X-Sasl-enc: fl13tTbcWgUarMscqfnW5tnPWKekYPIsw42UPLJAjcxJ 1470180352 Received: from april.local (c-73-13-66-39.hsd1.pa.comcast.net [73.13.66.39]) by mail.messagingengine.com (Postfix) with ESMTPA id 6CF27CCDC7; Tue, 2 Aug 2016 19:25:52 -0400 (EDT) Subject: Re: Need clarification on "another server might be running; trying to start server anyway" To: dmigowski@ikoffice.de, pgsql-docs@postgresql.org References: <20160706081139.1409.52190@wrigleys.postgresql.org> From: Peter Eisentraut Organization: 2ndQuadrant Message-ID: <536e78d4-0766-89e6-e0b4-ada25111660b@2ndquadrant.com> Date: Tue, 2 Aug 2016 19:25:51 -0400 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: <20160706081139.1409.52190@wrigleys.postgresql.org> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-docs Precedence: bulk Sender: pgsql-docs-owner@postgresql.org On 7/6/16 4:11 AM, dmigowski@ikoffice.de wrote: > I am currently facing an issue on Servers that are running PostgreSQL 9.5 > started from systemd, and in the case when the Servers power offs the hard > way, and I restart it, I get an error "another server might be running; > trying to start server anyway" > > The Documentation section "17.3.1. Server Start-up Failures" should maybe > mention that error and explain, in which cases postgresql thinks that it is > still running, because neither the port is already taken, or are there > logfiles on the server. > > I also tried to remove postmaster.pid before starting postgres, but this > strangely doesn't help either. You get this error from pg_ctl if it finds an existing postmaster.pid file. So if you deleted it and still get the error, something went wrong. Please provide more details if it's reproducible. -- Peter Eisentraut http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services -- Sent via pgsql-docs mailing list (pgsql-docs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-docs