pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Laurenz Albe <laurenz.albe@cybertec.at>
To: Azimuddin Mohammed <azimeiu@gmail.com>
Cc: Alan Hodgson <ahodgson@lists.simkin.ca>
Cc: pgsql-admin@postgresql.org
Subject: Re: postgres not starting
Date: Fri, 16 Feb 2018 20:00:31 +0100
Message-ID: <1518807631.2490.3.camel@cybertec.at> (raw)
In-Reply-To: <CAKUuFd7_CFLgG1JDDQTmmoYq4jUkcYWbEfFoexvvo-vT7OKSLA@mail.gmail.com>
References: <CAKUuFd7qfEmH9zBDJEYb8zgyfiAob0XdvL+cm73MbUseHzHpyA@mail.gmail.com>
	<1518742460.11219.15.camel@lists.simkin.ca>
	<1518756706.2909.4.camel@cybertec.at>
	<1518757204.2909.7.camel@cybertec.at>
	<CAKUuFd7_CFLgG1JDDQTmmoYq4jUkcYWbEfFoexvvo-vT7OKSLA@mail.gmail.com>

Azimuddin Mohammed wrote:
> > > > > 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
> > 
> > To find the process that is blocking the port, you can run the following:
> > 
> > lsof -i TCP:5432
>
> I do not see anything running 

Then the problem is something else.

Try to start PostgreSQL directly as OS user "postgres" with

  postgres

(This requires that the environment variable PGDATA is set to the data directory.)

Then post all the messages you see.

Yours,
Laurenz Albe
-- 
Cybertec | https://www.cybertec-postgresql.com




view thread (8+ messages)

Message-ID: <1518807631.2490.3.camel@cybertec.at>
Permalink:  ../1518807631.2490.3.camel@cybertec.at/
Also on:    postgresql.org/message-id/1518807631.2490.3.camel@cybertec.at

 · 

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-admin@postgresql.org
  Cc: laurenz.albe@cybertec.at, azimeiu@gmail.com, ahodgson@lists.simkin.ca
  Subject: Re: postgres not starting
  In-Reply-To: <1518807631.2490.3.camel@cybertec.at>

* 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