pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
To: dmigowski@ikoffice.de
To: pgsql-docs@postgresql.org
Subject: Re: Need clarification on "another server might be running; trying to start server anyway"
Date: Tue, 2 Aug 2016 19:25:51 -0400
Message-ID: <536e78d4-0766-89e6-e0b4-ada25111660b@2ndquadrant.com> (raw)
In-Reply-To: <20160706081139.1409.52190@wrigleys.postgresql.org>
References: <20160706081139.1409.52190@wrigleys.postgresql.org>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-docs>

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 &quot;another server might be running;
> trying to start server anyway&quot;
> 
> The Documentation section &quot;17.3.1. Server Start-up Failures&quot; 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&#39;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



view thread (2+ messages)

Message-ID: <536e78d4-0766-89e6-e0b4-ada25111660b@2ndquadrant.com>
Permalink:  ../536e78d4-0766-89e6-e0b4-ada25111660b@2ndquadrant.com/
Also on:    postgresql.org/message-id/536e78d4-0766-89e6-e0b4-ada25111660b@2ndquadrant.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-docs@postgresql.org
  Cc: peter.eisentraut@2ndquadrant.com, dmigowski@ikoffice.de
  Subject: Re: Need clarification on "another server might be running; trying to start server anyway"
  In-Reply-To: <536e78d4-0766-89e6-e0b4-ada25111660b@2ndquadrant.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox