initdb failed (terminated signal 5) - Mailing list pgsql-hackers-win32

From Peter Manten
Subject initdb failed (terminated signal 5)
Date
Msg-id BAY2-F19Yev6hNo6j3w00031240@hotmail.com
Whole thread Raw
Responses Re: initdb failed (terminated signal 5)
List pgsql-hackers-win32
I tried to install the windows version of postgre 7.5 dev, but got some
errors during the proces.
This is what I did:
1) unzip the download in c:\postgres
2) add to my path c:\postgres\bin and c:\postgres\lib
3) add environmental variable PGDATA with value c:\postgres\data.
(So far no problem)
4) open command window and type initdb -L "c:/postgres/share".

Then I get the following output in the command window:
....
....
creating configuration files ... ok
creating template1 database in c:/postgres/data/base/1 ... child proces was
terminated by signal 5
initdb: failed
initdb: removing contents of data directory "c:/postgres/data/
...
...

After this I tried the command "initdb --debug (so with the debug option).
The last debug-lines, before I get the error are:
DEBUG: inserted -> -
DEBUG: inserting column 15 NULL
DEBUG: inserting row oid 1242, 16 columns
after that:
child progress was terminated by signal 5
initdb: failed

(At the same time, a windows popup screen appears, which says: "postgres.exe
has generated errors and will be closed by Windows...etc.")

Obviously something goes wrong here, but I've got no clue whatsoever. I
double checked the path and new environmental variable, but that looks ok. I
also created and used a windows account, that hasn't any administrative
rights (this seems to be necessary for the windows version).

In a previous thread there were two suggestions:
1) check the privileges for the postgre windows-user. This should be ok,
since I created a special postgre-windows user which does the installation
and which has access right to the system folders
2) download a new version of the zip, because maybe something's wrong with a
previous version. I used a zip from last week and just now I tried it again
with today's zip

Anyone can sort this out?
Thanks in advance!!
Peter

_________________________________________________________________
Talk with your online friends with MSN Messenger http://messenger.msn.nl/


pgsql-hackers-win32 by date:

Previous
From: Harald Armin Massa
Date:
Subject: Re: Just in 'case' (:
Next
From: "Darko Prenosil"
Date:
Subject: Re: PgSQL not as Administrator - probs on w