Re: initdb failed (terminated signal 5)

Alexander Cohen <[email protected]>
Newsgroups gmane.comp.db.postgresql.devel.win32
Message-ID <[email protected]>
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 [email protected])
>
>


---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
    (send "unregister YourEmailAddressHere" to [email protected])
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.