Re: pid gets overwritten in OSX

From: Francois Suter <dba(at)paragraf(dot)ch>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: pid gets overwritten in OSX
Date: 2002-04-26 06:52:33
Message-ID: v04210100b8eea88562f7@[192.168.1.34]
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

>You'll have to provide more information. I am running OSX 10.1.4 and both
>PostgreSQL 7.1.2 and MySQL and I have never seen any such behavior. The
>only way I could even imagine them interacting is if you are trying to use
>the same directory for both, and even then it shouldn't happen since MySQL
>and PostgreSQL use different naming schemes for their pid files.

No, I'm definitely not using the same directory for both. As for more
info, I'm using Postgres 7.2.

>Is it possible that PostgreSQL isn't coming up after a reboot and the pid
>file just happens to have an old pid from the last boot?

It could be. I have been thinking along this line. I could imagine
the following scenario: Postgres starts after quite a few other
processes, tries to start with the pid stored in the postmaster.pid
file and actually doesn't start because the pid is already in use. Is
there an error log somewhere where such an error might appear?

Thanks.

--------
François

Home page: http://www.monpetitcoin.com/
"A fox is a wolf who sends flowers"

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Uros Gruber 2002-04-26 06:53:07 Re: Auth problem in pg_hdba.conf
Previous Message Uros Gruber 2002-04-26 06:40:25 Re: Auth problem in pg_hdba.conf

Browse pgsql-hackers by date

  From Date Subject
Next Message Christopher Kings-Lynne 2002-04-26 07:34:12 Re: pg_constraint
Previous Message Curt Sampson 2002-04-26 05:38:05 Re: WAL -> Replication