Re: postgres not starting

2018-02-15 Thread Jorge Torralba
The poster writes " I think the error caused because I removed everything under /data directory before stopping the server. " If you did remove the data directory, you will need to kill any processes hanging on then initdb -D /your/data/directory Without a data directory it will not start.

Re: postgres not starting

2018-02-15 Thread Laurenz Albe
Alan Hodgson wrote: > 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

Re: postgres not starting

2018-02-15 Thread Alan Hodgson
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

Re: postgres not starting

2018-02-15 Thread geoff hoffman
Restore a backup or reinstall Postgres. The default Postgres data tables need to be there and owned by the user Postgres runs as. > On Feb 15, 2018, at 5:21 PM, Azimuddin Mohammed wrote: > > Hello, > I am unable to start postgres on one of the server > I am getting below error "HINT: is anot

postgres not starting

2018-02-15 Thread Azimuddin Mohammed
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 /