Thread: Start problem on OSX

Start problem on OSX

From
Philippe Schmid
Date:
Dear list,

I have a problem starting PG 8.0 on a OSX machine, getting this
    FATAL:  could not open lock file "/tmp/.s.PGSQL.5432.lock": Permission
denied

I checked the privs on /tmp
ls -ld /tmp
    lrwxr-xr-x  1 root  admin  11  4 Oct  2003 /tmp -> private/tmp

ls -ld /private/tmp
    drwxrwxrwt  21 root  wheel  714  4 Feb 00:09 /private/tmp

and of course, PG 8.0 starts on another machine, with the same OS
version 10.3.7, PG version 8.0, configuration.
Nothing found in system, console logs.

Did someone already experienced this ?
Many thanks for some ideas, I can't see what's wrong... (ok, its
late...)

Philippe


Re: Start problem on OSX

From
"Jonel Rienton"
Date:
hi, how did you install PostgreSQL? from source or from dmg? which user are
you using to start the instance?

On Fri, 4 Feb 2005 00:22:47 +0100, Philippe Schmid wrote
> Dear list,
>
> I have a problem starting PG 8.0 on a OSX machine, getting this
>     FATAL:  could not open lock file "/tmp/.s.PGSQL.5432.lock":
> Permission denied
>
> I checked the privs on /tmp
> ls -ld /tmp
>     lrwxr-xr-x  1 root  admin  11  4 Oct  2003 /tmp -> private/tmp
>
> ls -ld /private/tmp
>     drwxrwxrwt  21 root  wheel  714  4 Feb 00:09 /private/tmp
>
> and of course, PG 8.0 starts on another machine, with the same OS
> version 10.3.7, PG version 8.0, configuration.
> Nothing found in system, console logs.
>
> Did someone already experienced this ?
> Many thanks for some ideas, I can't see what's wrong... (ok, its
> late...)
>
> Philippe
>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org


--
Jonel Rienton
http://blogs.road14.com
Software Developer, *nix Advocate


Re: Start problem on OSX

From
Tom Lane
Date:
Philippe Schmid <phschmid@cadinfo.ch> writes:
> I have a problem starting PG 8.0 on a OSX machine, getting this
>     FATAL:  could not open lock file "/tmp/.s.PGSQL.5432.lock": Permission
> denied

Perhaps that file already exists?

            regards, tom lane

Re: Start problem on OSX

From
Philippe Schmid
Date:
>> I have a problem starting PG 8.0 on a OSX machine, getting this
>>     FATAL:  could not open lock file "/tmp/.s.PGSQL.5432.lock":
>> Permission
>> denied
>
> Perhaps that file already exists?
>             regards, tom lane

Huu, I feel really stupid... forgot to check invisible files...
Many thanks, it is now working :-)
>
Regards,
Philippe Schmid
>