Results 1 to 6 of 6
  1. #1
    Join Date
    Jul 2004
    Posts
    2

    Unanswered: Problem installing postgre 7.5 dev on windows 2000

    I tried to install the windows version of postgre 7.5 dev, but got some errors during the proces.
    This is what I did (followed the procedure from www.hagander.net/pgsql/win32snap):
    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).
    Anyone can sort this out?
    Thanks in advance!!
    Peter
    Last edited by pmanten; 07-08-04 at 01:57.

  2. #2
    Join Date
    Sep 2001
    Location
    Vienna
    Posts
    400

    win dev

    I think this question is asked better on the win32 dev list
    Cause this is not yet released its under development now
    http://www.postgresql.org
    --Postgresql is the only kind of thing--

  3. #3
    Join Date
    Jul 2004
    Posts
    2
    OK! I'll take a look there.
    Last edited by pmanten; 07-09-04 at 02:28.

  4. #4
    Join Date
    Feb 2004
    Posts
    23
    I would try again making sure that have created a user that doesnt have administrator rights, i created a user called postgres and member of backup group and works fine.. Give that a try

  5. #5
    Join Date
    Apr 2004
    Location
    Amiens (FRANCE)
    Posts
    15

    Thumbs up Powergres

    if your problem is not solved yet, you can put an eye on Powergres solution !

    i 'm using it for 5 months under windows xp pro + easyphp

    and i have no problem!
    Ps : i'm sorry for my english language expression mistake, cause i 'm french

  6. #6
    Join Date
    Aug 2004
    Posts
    1
    Quote Originally Posted by Bknight
    I would try again making sure that have created a user that doesnt have administrator rights, i created a user called postgres and member of backup group and works fine.. Give that a try
    Did the initdb tell you that the user is an administror and for security reasons, the database can not be created ?
    Was it in a command line launch by a runas as it is described in the doc ?
    In that case forgot the /noprofile :
    runas /user:postgres cmd
    Last edited by rackam; 08-06-04 at 09:21.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •