Start problem on OSX

Started by Philippe Schmidabout 21 years ago4 messagesgeneral
Jump to latest
#1Philippe Schmid
phschmid@cadinfo.ch

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

#2Jonel Rienton
jonel@road14.com
In reply to: Philippe Schmid (#1)
Re: Start problem on OSX

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

#3Tom Lane
tgl@sss.pgh.pa.us
In reply to: Philippe Schmid (#1)
Re: Start problem on OSX

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

#4Philippe Schmid
phschmid@cadinfo.ch
In reply to: Tom Lane (#3)
Re: Start problem on OSX

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

Show quoted text