initdb failed (terminated signal 5)

From: "Peter Manten" <pmanten2(at)hotmail(dot)com>
To: pgsql-hackers-win32(at)postgresql(dot)org
Subject: initdb failed (terminated signal 5)
Date: 2004-07-09 05:59:30
Message-ID: BAY2-F19Yev6hNo6j3w00031240@hotmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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/

Responses

Browse pgsql-hackers-win32 by date

  From Date Subject
Next Message Darko Prenosil 2004-07-09 10:25:29 Re: PgSQL not as Administrator - probs on w
Previous Message Harald Armin Massa 2004-07-09 05:24:02 Re: Just in 'case' (: