Could not install postgresql. need help!
Results 1 to 6 of 6
  1. #1
    Junior Member
    Join Date
    Apr 2010
    Posts
    6

    Default Could not install postgresql. need help!

    I had some connection issues so I tried to reinstall postgresql.
    However, it gave me the " Sorry, could not install postgresql message" during the reinstallation. I tried a lot of the stuff in the previous posts and FAQ. But it seems nothing worked so far. Could anybody help? Thanks!
    I enclose the detailed message below:

    Output folder: C:\Program Files\PSQLINSTALL
    top level install dir -->C:\Program Files
    Is admin account
    fs=NTFS
    .NET found
    Extract: TestFirewall.exe... 100%
    Extract: TestFirewall.exe.config... 100%
    Antivirus Installed: False
    test antivirus returned 0
    seclogon error status: 0
    seclogon status: 4
    firewall enabled: 0
    firewall not enabled
    postgresql error status: 1060
    postgresql status: 0
    starting pgsql-8.3
    postgresql error status: 1060
    postgresql status: 0
    postgresql error status: 1060
    postgresql status: 0
    starting postgresql-8.4
    postgresql error status: 1060
    postgresql status: 0
    postgres installdir: C:\Program Files\PSQLINSTALL
    ==================== running PsqlTestClient
    try userid: postgres
    try pass: postgrespass
    try pass: postgrespass
    Connection to database failed: -->could not connect to server: Connection refused (0x0000274D/10061)
    Is the server running on host "127.0.0.1" and accepting
    TCP/IP connections on port 5432?
    <--error
    1
    testclient return status: 1
    testclient return from file: 1
    ==================== finished PsqlTestClient
    granting write permission on top level postgres directory
    found dir
    try rename C:\Program Files\PostgreSQL\8.4 --> C:\Program Files\PostgreSQL\8.4-prev-2010-10-Oct-20-34-57
    Create folder: C:\Program Files\PostgreSQL\8.4-prev-2010-10-Oct-20-34-57
    Moving files: C:\Program Files\PostgreSQL\8.4\*.* to C:\Program Files\PostgreSQL\8.4-prev-2010-10-Oct-20-34-57\
    Remove folder: C:\Program Files\PostgreSQL\8.4\
    renamed dir
    wrote testfile
    Delete file: C:\Program Files\PostgreSQL\testfile
    Extract: postgresql-8.4.1-1-windows.exe... 100%
    Execute: "C:\Program Files\PSQLINSTALL\postgresql-8.4.1-1-windows.exe" --mode unattended --superpassword postgrespass
    postgres installdir: C:\Program Files\PSQLINSTALL
    ==================== running PsqlTestClient
    try userid: postgres
    try pass: postgrespass
    try pass: postgrespass
    Connection to database failed: -->could not connect to server: Connection refused (0x0000274D/10061)
    Is the server running on host "127.0.0.1" and accepting
    TCP/IP connections on port 5432?
    <--error
    1
    testclient return status: 1
    testclient return from file: 1
    ==================== finished PsqlTestClient

  2. #2
    Tech Support Manager morny's Avatar
    Join Date
    Jul 2008
    Location
    Ireland
    Posts
    20,888

    Default

    Hi,

    If that installer fails to install PostgreSQL, please reinstall PostgreSQL using the following instructions:

    Start > Programs > Accessories > Command Prompt > Right-Click > Run As Administrator
    PHP Code:
    net user postgres /delete 
    Try installing this version of PostgreSQL - http://rvgsoftware.fileburst.com/Pos...3.9-v1.0.7.exe

    If that installer also fails try this one it should work PostgreSQL: Choose a Mirror
    --------------------------------------------------------------------------------------------------------------------
    We welcome any feedback on any solutions we provide, this helps us to provide better quality solutions in the future.

  3. #3
    Junior Member
    Join Date
    Apr 2010
    Posts
    6

    Default

    I tried but it still gave me the same "Sorry. could not install" message. The 2nd link doesnt work. maybe because I am in China now?
    Are there any other things I can try? Thanks!

  4. #4
    HM Support netsrak's Avatar
    Join Date
    Feb 2009
    Location
    Germany
    Posts
    25,795

    Default

    Please try to download and install Postgresql 8.4 from PostgreSQL: The world's most advanced open source database.
    If that doesn't work try version 8.3.

    Sometimes installing Postgresql on a different partition like D: is worth a try.

  5. #5
    Junior Member
    Join Date
    Apr 2010
    Posts
    6

    Default

    For some strange reasons I can't open the PostgreSQL: The world's most advanced open source database websites you guys provided. Are there any other ways to download the files? Thanks!

  6. #6
    Junior Member
    Join Date
    Apr 2010
    Posts
    6

    Default

    I got it fixed! Thank you, guys!
    Last edited by andrechiu; 10-16-2010 at 05:42 PM.

Similar Threads

  1. Sorry, could not install PostgreSQL
    By EyeForAnEye in forum Manager General
    Replies: 2
    Last Post: 09-14-2010, 04:12 AM
  2. Install problems and cannot install PostGreSQL
    By kylephilly in forum Manager General
    Replies: 2
    Last Post: 03-19-2010, 12:54 AM
  3. Could not install postgresql
    By Chan KH in forum Manager General
    Replies: 6
    Last Post: 02-03-2010, 12:31 AM
  4. Can't install PostgreSQL
    By Pochihas in forum Manager General
    Replies: 3
    Last Post: 01-02-2009, 01:02 PM
  5. Cant Install PostgreSQL
    By DodgyBiscuits in forum Manager General
    Replies: 3
    Last Post: 08-22-2008, 04:41 AM

Posting Permissions

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