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

Re: initdb failed (terminated signal 5)

From: Alexander Cohen <ebay(at)toomuchspace(dot)com>
To: pgsql-hackers-win32(at)postgresql(dot)org
Subject: Re: initdb failed (terminated signal 5)
Date: 2004-07-09 15:24:12
Message-ID: 07D35CBA-D1BC-11D8-BFF4-000A95B947DC@toomuchspace.com (view raw or flat)
Thread:
Lists: pgsql-hackers-win32
Im having the same signal 5 problem when trying to initdb, so i just 
want to check and make sure im setting paths right. Is this the correct 
syntax to use from the cmd?

set Path=%Path%;C:\postgres\bin\;C:\postgres\lib\

Thanks

Alex

On Jul 9, 2004, at 11:01 AM, John Meinel wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> You didn't set your path. There are executable files in 
> C:\postgres\bin,
> and some library files in C:\postgres\lib that need to be in the path.
> That's probably the signal 5 error.
>
> Otherwise, at one point there was a bug in the build, there was a huge
> discussion involving the signal 5 stuff. They never found the exact
> cause, though.
> John
> =:->
>
> Peter Manten wrote:
>
> | 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/
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.4 (Cygwin)
> Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
>
> iD8DBQFA7rNVJdeBCYSNAAMRAqxSAKCkW65m/Q/tNXd5VebqjMf2WRVU1ACfaegz
> aZ3blOzugfunM83zg/2cqvA=
> =Fd3A
> -----END PGP SIGNATURE-----
>
> ---------------------------(end of 
> broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
>    (send "unregister YourEmailAddressHere" to majordomo(at)postgresql(dot)org)
>
>


In response to

pgsql-hackers-win32 by date

Next:From: Bruno Wolff IIIDate: 2004-07-09 15:27:22
Subject: Re: [PHP] Secure DB Systems - How to
Previous:From: Andrew DunstanDate: 2004-07-09 15:02:17
Subject: Re: PgSQL not as Administrator - probs on w

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group