Re: Problems invoking psql. Help please.

From: Michiel Lange <michiel(at)minas(dot)demon(dot)nl>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Hugh Esco <hesco(at)greens(dot)org>, pgsql-sql(at)postgresql(dot)org
Subject: Re: Problems invoking psql. Help please.
Date: 2002-11-20 07:40:11
Message-ID: 5.1.0.14.0.20021120083656.00b2c068@192.168.1.3
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

That is indeed true. Also I see you do everything as root, try creating a
new user especially for postgres databases. create a directory with root in
/usr/loca/pgsql/ named data, or any other directory that is in $PGDATA.
chown the directory to the postgres user, log in as the postgres user and
try to initdb, postmaster (-i!) and connect... I think the problem lies
here somewhere...

Michiel

At 02:13 20-11-2002 -0500, Tom Lane wrote:
>Hugh Esco <hesco(at)greens(dot)org> writes:
> >> biko:/usr/bin# ls -al | grep psql
> >> lrwxrwxrwx 1 root root 10 Oct 10 16:24 psql -> pg_wrapper
>
> > This seems to say that Other users, like postgres, should be able to
> > execute it. I'm confused, here.
>
>The permissions attached to a symbolic link are meaningless, in all Unix
>variants I've dealt with. You need to look at the permissions of the
>linked-to object (here, pg_wrapper) instead...
>
> regards, tom lane
>
>---------------------------(end of broadcast)---------------------------
>TIP 2: you can get off all lists at once with the unregister command
> (send "unregister YourEmailAddressHere" to majordomo(at)postgresql(dot)org)

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Oliver Elphick 2002-11-20 08:53:11 Re: Bug with sequence
Previous Message Tom Lane 2002-11-20 07:13:17 Re: Problems invoking psql. Help please.