Re: postgres not starting

From: Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>
To: Azimuddin Mohammed <azimeiu(at)gmail(dot)com>
Cc: Alan Hodgson <ahodgson(at)lists(dot)simkin(dot)ca>, pgsql-admin(at)postgresql(dot)org
Subject: Re: postgres not starting
Date: 2018-02-16 19:00:31
Message-ID: 1518807631.2490.3.camel@cybertec.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin pgsql-general

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

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Ron Watkins 2018-02-16 19:04:55 How to move a postgres server
Previous Message Adrian Klaver 2018-02-16 17:42:14 Re: postgres started without auto vaccum

Browse pgsql-general by date

  From Date Subject
Next Message Laurenz Albe 2018-02-16 19:08:36 Re: postgres started without auto vaccum
Previous Message Adrian Klaver 2018-02-16 17:42:14 Re: postgres started without auto vaccum