Re: [GENERAL] 7.1beta4 initdb problem

2001-02-06 Thread Alessio Bragadini
Tim Barnard: > The program '/usr/local/pgsql/bin/postgres' needed by initdb does not belong to PostgreSQL version 7.1beta4. Check your installation. > Any ideas? Yes, happened to me, too. You need not to be root, but an unprivileged user (i.e. postgres). That's the strangest error message in

Re: [GENERAL] 7.1beta4 initdb problem

2001-02-05 Thread Tom Lane
Peter Eisentraut <[EMAIL PROTECTED]> writes: > Tom Lane writes: >> Probably initdb should have its own check for being run as root; >> this seems cleaner than reorganizing the checks in the postgres >> executable. > I does have that check, but unfortunately that check requires pg_id, and > findin

Re: [GENERAL] 7.1beta4 initdb problem

2001-02-05 Thread Peter Eisentraut
Tom Lane writes: > Probably initdb should have its own check for being run as root; > this seems cleaner than reorganizing the checks in the postgres > executable. I does have that check, but unfortunately that check requires pg_id, and finding the right pg_id requires finding the right postgres

Re: [GENERAL] 7.1beta4 initdb problem

2001-02-05 Thread Peter Eisentraut
Tim Barnard writes: > Well, I was logged in as postgres when this occured. > I managed to resolve it by changing permissions on the /progs > directory to rwx. It had been r-x. Strange error message for a permissions > problem on a destination directory! I'm not sure I follow. Given that executi

Re: [GENERAL] 7.1beta4 initdb problem

2001-02-05 Thread Tim Barnard
rew me off :-) Regards, Tim - Original Message - From: "Tom Lane" <[EMAIL PROTECTED]> To: "Peter Eisentraut" <[EMAIL PROTECTED]> Cc: "Tim Barnard" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Sunday, February 04, 2001 7:54 PM Subject: Re

Re: [GENERAL] 7.1beta4 initdb problem

2001-02-04 Thread Tom Lane
Peter Eisentraut <[EMAIL PROTECTED]> writes: > Tim Barnard writes: >> The program '/usr/local/pgsql/bin/postgres' needed by initdb does not >> belong to PostgreSQL version 7.1beta4. Check your installation. > Can you run 'sh -x initdb ...' and show me the output? Some platform > information woul