Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search for
  Advanced Search

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: Wed, 10 Nov 2004 17:29:19 +0100
  • Message-id: <6BCB9D8A16AC4241919521715F4D8BCE47610B(at)algol(dot)sollentuna(dot)se>

> 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




Home | Main Index | Thread Index

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group