From: Michiel Lange <michiel@minas.demon.nl>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Hugh Esco <hesco@greens.org>
Cc: pgsql-sql@postgresql.org
Subject: Re: Problems invoking psql. Help please.
Date: Wed, 20 Nov 2002 08:40:11 +0100
Message-ID: <5.1.0.14.0.20021120083656.00b2c068@192.168.1.3> (raw)
In-Reply-To: <29178.1037776397@sss.pgh.pa.us>
References: <5.1.0.14.0.20021120015333.04220570@petra.cagreens.org>
<5.1.0.14.0.20021120015333.04220570@petra.cagreens.org>
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@greens.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@postgresql.org)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-sql@postgresql.org
Cc: michiel@minas.demon.nl, tgl@sss.pgh.pa.us, hesco@greens.org
Subject: Re: Problems invoking psql. Help please.
In-Reply-To: <5.1.0.14.0.20021120083656.00b2c068@192.168.1.3>
References: <5.1.0.14.0.20021120015333.04220570@petra.cagreens.org> <5.1.0.14.0.20021120083656.00b2c068@192.168.1.3>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox