Skip site navigation (1) Skip section navigation (2)

Re: pid gets overwritten in OSX

From: tony <tony(at)animaproductions(dot)com>
To: Francois Suter <dba(at)paragraf(dot)ch>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-general(at)postgresql(dot)org
Subject: Re: pid gets overwritten in OSX
Date: 2002-04-29 16:42:13
Message-ID: 1020098534.1767.60.camel@vaio (view raw or flat)
Thread:
Lists: pgsql-generalpgsql-hackers
On Mon, 2002-04-29 at 17:05, Francois Suter wrote:
> >The real problem is that the old postmaster was evidently not allowed
> >to shut down cleanly (else it'd have removed its lockfile).  How are
> >you powering down the system, anyway?
> 
> I'm shutting down normally (ok, I mean most of the time I press the 
> power-up button and choose "Shut down" rather than going via the 
> Apple menu). I haven't had a system crash in ages! The only 
> difference I can see (and I would have to test if it makes any 
> difference) is that sometimes I'm working stand-alone at home and 
> sometimes on the network in my office (I'm using a PowerBook G4), but 
> I'm pretty sure I don't have this problem popping up everytime I go 
> back to the office after having used my machine at home.
> 
> Maybe there's some operation missing at shutdown. I installed 
> PostgreSQL using Mark Liyanage's package. Could there be something 
> missing? Is Postgres taking care of the removal of the postmaster.pid 
> file or do you have to do it yourself in some shutdown script?

Fran├žois

I would definitely quit postgres before shutting down. And Mac OS X does
not in my experience like working in "offline" mode. I had all sorts of
problems getting networking set up right in that mode. All my problems
disapeared when the machine was plugged in to the adsl router...

I would say that DNS could be an issue here.

Cheers

Tony Grant

-- 
RedHat Linux on Sony Vaio C1XD/S
http://www.animaproductions.com/linux2.html
Macromedia UltraDev with PostgreSQL
http://www.animaproductions.com/ultra.html


In response to

pgsql-hackers by date

Next:From: Bruce MomjianDate: 2002-04-29 16:45:02
Subject: Re: Vote totals for SET in aborted transaction
Previous:From: Hannu KrosingDate: 2002-04-29 16:41:17
Subject: Re: Vote totals for SET in aborted transaction

pgsql-general by date

Next:From: Tom JenkinsDate: 2002-04-29 17:05:38
Subject: Re: What popular, large commercial websites run
Previous:From: Lincoln YeohDate: 2002-04-29 16:36:25
Subject: Re: What popular, large commercial websites run PostgreSQL?

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group