Re: Postmaster failing to start on reboot

Поиск
Список
Период
Сортировка
От surabhi.ahuja
Тема Re: Postmaster failing to start on reboot
Дата
Msg-id 967CFC4343BF2A4DAFACD026D33DC85118EC8A@jal.iiitb.ac.in
обсуждение исходный текст
Ответ на Postmaster failing to start on reboot  ("surabhi.ahuja" <surabhi.ahuja@iiitb.ac.in>)
Список pgsql-general
Another thing that has been noted is ...sometimes if i run the command
 
dbxd stop.
it fails to bring down postmaster. What should be done in such a situation?
 
right now we do a kill -9 postmaster
 
Thanks
regards
Surabhi ahuja 


From: Tom Lane [mailto:tgl@sss.pgh.pa.us]
Sent: Wed 11/9/2005 9:23 PM
To: Richard Huxton
Cc: surabhi.ahuja; pgsql-general@postgresql.org
Subject: Re: [GENERAL] Postmaster failing to start on reboot

***********************
Your mail has been scanned by InterScan VirusWall.
***********-***********


Richard Huxton <dev@archonet.com> writes:
> surabhi.ahuja wrote:
>> So,  I try starting postmaster. and it displays the following error
>> message: HINT:  If you're sure there are no old server processes
>> still running, remove the shared memory block with the command "ipcr
>> m", or just delete the file
>> "/export/home1/sdc_image_pool/dbx/postmaster.pid".
>>
>> does it means that i will have to delete the postmaster.pid file ..in
>> such a scenarion always?

> No, only when it doesn't close down properly. Check your system logs to
> see what happened.

Also, what PG version is this exactly?  More recent versions have better
defenses against being fooled by stale postmaster.pid files.  It matters
what postmaster startup script you're using, too.

                        regards, tom lane


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

Предыдущее
От: "A. Kretschmer"
Дата:
Сообщение: Re: script
Следующее
От: Nicolay A Vasiliev
Дата:
Сообщение: Re: script