Re: Problem starting the server with Mac OSX

From: Myshkin LeVine <myshlev(at)verizon(dot)net>
To: "Scott Marlowe" <scott(dot)marlowe(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Problem starting the server with Mac OSX
Date: 2007-11-03 03:46:44
Message-ID: 1e73760e9b1577ef4e5c6d3d3245c7b8@verizon.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

That was the problem, the permissions on /tmp were 0700 with my user
acct. as owner and staff as group. I changed the permissions to 0777
and now the server will start up okay.

Thank you for your help Scott.

On Nov 02, 2007, at 10:05 PM, Scott Marlowe wrote:

> On 11/2/07, Myshkin LeVine <myshlev(at)verizon(dot)net> wrote:
>> Hi,
>> I have a problem starting the server on Mac OSX 10.3.9. I
>> compiled
>> v8.2.5 from source. The compilation, regression testing, and
>> installation all went smoothly with no errors. I installed PostgreSQL
>> in the default location and created a new user account named postgres.
>> I ran initdb which ended successfully. When I try to start the server
>> I
>> get this error message: 'FATAL: could not open lock file
>> "/tmp/.s.PGSQL.5432.lock": Permission denied' I have checked the
>> mailing-list archives and I see others have had the same problem, but
>> no solution for my case. The file ".s.PGSQL.5432.lock" does not exist
>> already in the /tmp directory. The server will start however in
>> single-user mode using the --single switch to the postgres command,
>> giving me this: "PostgreSQL stand-alone backend 8.2.5
>> backend>" Can anyone tell me what I'm doing wrong, or how to fix this?
>
> What's the permissions on .tmp?
>

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Jason Testart 2007-11-03 03:59:23 RPATH issue with libpq on Solaris 8 (gcc)
Previous Message Madison Kelly 2007-11-03 03:31:52 Small dedicated install of PgSQL for a program