installation problem
Results 1 to 2 of 2
  1. #1
    Member
    Join Date
    Jul 2012
    Posts
    85

    Default installation problem

    Hi. I removed HM2 from my laptop last year, and I think I may have attempted to remove postgreSQL as well (I can't remember - it seems to still be there but I may have had problems removing it). I just tried to reinstall HM2 but it won't complete the install. I'm not really sure what I should do. I get the following error:

    Output folder: C:\Program Files (x86)\PSQLINSTALL
    top level install dir -->C:
    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: 1
    starting seclogon
    seclogon error status: 0
    seclogon status: 4
    firewall enabled: 1
    firewall port 5432 enabled: 1
    port 5432 already 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 (x86)\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
    no existing install dir
    wrote testfile
    Delete file: C:\testfile
    Create folder: c:\postgreSQL
    Execute: "C:\Program Files (x86)\PSQLINSTALL\postgres84.exe" --mode unattended --superpassword postgrespass --prefix c:\postgreSQL --datadir c:\postgreSQL\data
    postgres installdir: C:\Program Files (x86)\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
    You're out! udbrky's Avatar
    Join Date
    Jul 2008
    Posts
    20,902

    Default

    Uninstall PostgreSQL & try the following steps:

    1) Run cmd.exe as Admin (Start > Search 'cmd' > Right-Click > Run As Admin)
    2) in CMD window run (type the code then hit Enter key) following command:
    net user postgres /del
    3) Reboot PC
    4) after reboot open cmd.exe again & run following commands:
    net user postgres postgrespass /add
    net localgroup Administrators postgres /add
    net localgroup Users postgres /delete
    runas /userostgres cmd.exe

    When it asks about password please input postgrespass & don`t worry if you don`t see any new symbols\inputs in cmd window. If you did all steps right then you should get new cmd window for postgres user.

    5) Download PostgreSQL installer (http://get.enterprisedb.com/postgres...-1-windows.exe) & move (copy/paste) it from the \Downloads folder to C:\
    6) in new cmd window for postgres user run following commands:
    cd c:\
    start postgresql-8.4.22-1-windows.exe
    Regards udbrky (Chris)

Similar Threads

  1. installation problem
    By almac in forum General Support
    Replies: 16
    Last Post: 10-24-2011, 12:43 AM
  2. SQL installation problem
    By bugno84 in forum Manager General
    Replies: 3
    Last Post: 06-21-2010, 06:12 PM
  3. installation problem
    By Andrey in forum Manager General
    Replies: 1
    Last Post: 12-16-2009, 05:32 AM
  4. Problem with installation
    By harryjj0 in forum Manager General
    Replies: 5
    Last Post: 06-03-2009, 02:48 PM
  5. installation problem
    By DonKehex in forum Manager General
    Replies: 1
    Last Post: 04-09-2009, 06:52 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
  •