Re: [GENERAL] Unable to start postgresql - Mailing list pgsql-general

From Tom Lane
Subject Re: [GENERAL] Unable to start postgresql
Date
Msg-id 21002.1488985201@sss.pgh.pa.us
Whole thread Raw
In response to Re: [GENERAL] Unable to start postgresql  (John Iliffe <john.iliffe@iliffe.ca>)
Responses Re: [GENERAL] Unable to start postgresql  (Melvin Davidson <melvin6925@gmail.com>)
List pgsql-general
John Iliffe <john.iliffe@iliffe.ca> writes:
> When the programme exited it left another postmaster.pid file so I deleted
> that one too.

You haven't shown us the program actually exiting, and basically the only
way to get the postmaster to exit without removing its pid file is to
kill -9 it.  Now I am suspicious that you in fact haven't killed any
postmasters, but only removed their pidfiles out from under them, which is
an incredibly dangerous thing to do.  Check "ps ax" output to see if any
postgres processes are lurking in background.

            regards, tom lane


pgsql-general by date:

Previous
From: John McKown
Date:
Subject: Re: [GENERAL] import CSV file to a table
Next
From: Melvin Davidson
Date:
Subject: Re: [GENERAL] Unable to start postgresql