Re:

From: Jim Mercer <jim(at)reptiles(dot)org>
To: "Mehta, Ashok" <mehtaa(at)hmc(dot)harvard(dot)edu>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re:
Date: 2000-07-27 16:47:25
Message-ID: 20000727124725.P415@reptiles.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Thu, Jul 27, 2000 at 12:18:23PM -0400, Mehta, Ashok wrote:
> I am running postgres on RedHat Linux It was running fine and our sysadmin
> added a scsi tape device to the kernel and rebooted the machine so the
> postmaster was killed with -9 signal and after that when I start postmaster

did the sysadmin kill postmaster with -9 or reboot, or both.

reboot does not normally kill things off with a -9, depending on the system
it uses a progression of other nicer signals.

killing postmaster with -9 is bad, as it doesn't give the process any chance
to do shutdown/cleanup functions, which might include clearing the socket in
/tmp.

this might also explain why you got the error after kill -9/reboot, but didn't
get it after a normal reboot.

if your sysadmin is going around using "kill -9" as a standard shutdown method,
well, you might want to speak to them about this, as it isn't really a nice
way to deal with things.

> I get
> FATAL: StreamServerPort: bind() failed: Permission denied
> Is another postmaster already running on that port?
> If not, remove socket node (/tmp/.s.PGSQL.5432) and retry.
> postmaster: cannot create UNIX stream port
>
> I have rebooted the machine since then and there is no file in /tmp
> directory to be removed. I am absolutly positive that another postmaster is
> not running and that file does not exist.
>
>
> Any suggestions would be appreciated.
>
> Thanks
> Ashok
>

--
[ Jim Mercer jim(at)reptiles(dot)org +1 416 410-5633 ]
[ Reptilian Research -- Longer Life through Colder Blood ]
[ Don't be fooled by cheap Finnish imitations; BSD is the One True Code. ]

In response to

  • at 2000-07-27 16:18:23 from Mehta, Ashok

Responses

  • Re: at 2000-07-28 01:34:16 from Joseph Shraibman

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2000-07-27 17:17:56 Re:
Previous Message Kyle 2000-07-27 16:25:17 Re: pg_dump problem