Re: Some beta4 installation problems.

From: "Magnus Hagander" <mha(at)sollentuna(dot)net>
To: "Benoit Vairelles" <b(dot)vairelles(at)albourne(dot)com>, <pgsql-hackers-win32(at)postgresql(dot)org>
Subject: Re: Some beta4 installation problems.
Date: 2004-11-10 16:29:19
Message-ID: 6BCB9D8A16AC4241919521715F4D8BCE47610B@algol.sollentuna.se
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers-win32

> Hi,
>
> I had a few problems when installing beta4 and you might be
> able to bring some light into it.
> I first tryed to install Postgres as a service on windows XP (fully
> patched) but had to cancel the installation due to errors. I
> then installed Postgresql as a program (actually this suit me
> better then a service).
>
> I run under a restricted user account and I could not install
> using this account due to not having the right to save a dll
> into the windows directory. I then installed using an
> administrator account and that went well - I just had to
> change the access rights to allow my normal user account to
> read and write in the postgresql directories.
>
> The last issue I met was with the start database script, it
> fails and gives the error message:
>
> >pg_ctl.exe start -D "C:\Program Files\PostgreSQL\8.0.0-beta4\data\"
> postmaster starting
> postmaster: invalid argument: "<" Try "postmaster --help" for
> more information.
>
> But I can start postgresql by running:
> postmaster.exe -D "C:\Program Files\PostgreSQL\8.0.0-beta4\data\"
>
> Otherwise this is looking very good. I just have to find a
> free C compiler under Windows to compile my functions.

This is a known issue in beta4, where pg_ctl sends an extra " on the
commandline to the postmaster. It's fixed in cvs and will be fixed in
the next beta. The workaround is to remove the trailing slash and just
write:
pg_ctl.exe start -D "C:\Program Files\PostgreSQL\8.0.0-beta4\data"

//Magnus

Browse pgsql-hackers-win32 by date

  From Date Subject
Next Message Paul Kirschner 2004-11-11 01:20:35 Re: postgresql 8 beta 4 will not install
Previous Message Magnus Hagander 2004-11-10 08:45:04 Re: postgresql 8 beta 4 will not install