Re: Some beta4 installation problems.

"Magnus Hagander" <[email protected]>
Newsgroups gmane.comp.db.postgresql.devel.win32
Message-ID <[email protected]>
> 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


---------------------------(end of broadcast)---------------------------
TIP 7: don't forget to increase your free space map settings
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.