Re: postgres not starting

Поиск
Список
Период
Сортировка
От Laurenz Albe
Тема Re: postgres not starting
Дата
Msg-id 1518756706.2909.4.camel@cybertec.at
обсуждение исходный текст
Ответ на Re: postgres not starting  (Alan Hodgson <ahodgson@lists.simkin.ca>)
Ответы Re: postgres not starting  (Jorge Torralba <jorge.torralba@gmail.com>)
Re: postgres not starting  (Jorge Torralba <jorge.torralba@gmail.com>)
Список pgsql-general
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 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.

This seems excessive - maybe the server he wants to start is already
running and there is no need to crash or wipe it.

To give a better answer we would have to know which operating system
it is, which PostgreSQL version and how it was installed.

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


В списке pgsql-general по дате отправления:

Предыдущее
От: Melvin Davidson
Дата:
Сообщение: Re: Database health check/auditing
Следующее
От: Jorge Torralba
Дата:
Сообщение: Re: postgres not starting