pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Need clarification on "another server might be running; trying to start server anyway"
2+ messages / 2 participants
[nested] [flat]

* Need clarification on "another server might be running; trying to start server anyway"
@ 2016-07-06 08:11 dmigowski@ikoffice.de
  2016-08-02 23:25 ` Re: Need clarification on "another server might be running; trying to start server anyway" Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
  0 siblings, 1 reply; 2+ messages in thread

From: dmigowski@ikoffice.de @ 2016-07-06 08:11 UTC (permalink / raw)
  To: pgsql-docs

The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/9.5/static/server-start.html
Description:

Hello,

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.

Regards,
Daniel Migowski


-- 
Sent via pgsql-docs mailing list (pgsql-docs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-docs


^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: Need clarification on "another server might be running; trying to start server anyway"
  2016-07-06 08:11 Need clarification on "another server might be running; trying to start server anyway" dmigowski@ikoffice.de
@ 2016-08-02 23:25 ` Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Peter Eisentraut @ 2016-08-02 23:25 UTC (permalink / raw)
  To: dmigowski@ikoffice.de; pgsql-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



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2016-08-02 23:25 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2016-07-06 08:11 Need clarification on "another server might be running; trying to start server anyway" dmigowski@ikoffice.de
2016-08-02 23:25 ` Peter Eisentraut <peter.eisentraut@2ndquadrant.com>

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