From: Alan Hodgson <ahodgson@lists.simkin.ca>
To: Postgres General <pgsql-general@postgresql.org>
To: pgsql-admin@postgresql.org
Subject: Re: postgres not starting
Date: Thu, 15 Feb 2018 16:54:20 -0800
Message-ID: <1518742460.11219.15.camel@lists.simkin.ca> (raw)
In-Reply-To: <CAKUuFd7qfEmH9zBDJEYb8zgyfiAob0XdvL+cm73MbUseHzHpyA@mail.gmail.com>
References: <CAKUuFd7qfEmH9zBDJEYb8zgyfiAob0XdvL+cm73MbUseHzHpyA@mail.gmail.com>
On Thu, 2018-02-15 at 18:21 -0600, Azimuddin Mohammed wrote:
> Hello,
> I am unable to start postgres on one of the server
> I am getting below error "HINT: is another postmaster already running
> on port 5432, if not wait a few seconds and retry"
> I checked the processes nothing is running with postgres
>
> I think the error caused because I removed everything under /data
> directory before stopping the server.
> Can someone help.
>
>
kill -9 the old processes. The old postmaster is holding onto the port.
And probably some of the old file handles, too, so you might want to
re-init the new database cluster after really cleaning up the old one.
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-admin@postgresql.org
Cc: ahodgson@lists.simkin.ca, pgsql-general@postgresql.org
Subject: Re: postgres not starting
In-Reply-To: <1518742460.11219.15.camel@lists.simkin.ca>
* 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