[PT4] Błąd instalacji / PT4 Unable to connect to this database / PostreSQL server

  • 4 odpowiedzi
    • smiechu0808
      smiechu0808
      Platyna
      na forum od: 28.02.2013 Posty: 95
      Teraz wyskakują kolejne komunikaty, może ktoś doradzi?

      http://imageshack.us/a/img22/3152/j0am.jpg

      http://imageshack.us/a/img832/6682/3pbg.jpg
    • plushack
      plushack
      Brąz
      na forum od: 10.02.2009 Posty: 894
      Witaj smiechu0808,

      Na początek trzeba się upewnić czy masz zainstalowaną bazę danych lub coś jej nie blokuje. Uruchom menedżera zadań naciskając CTRL+ALT+DELETE i wybierz menedżer zadań.

      Poszukaj czy masz tam proces który nazywa się PostgreSQL Server.
      Daj znać czy jest taki proces. Jeżeli nie ma musisz zainstalować oddzielnie bazę danych postgreSQL.

      Daj znać czy pomogło.

      Pozdrawiam,
      plushack
    • smiechu0808
      smiechu0808
      Platyna
      na forum od: 28.02.2013 Posty: 95
      Witam, nie nie ma takiego procesu. W jaki sposób taką bazę mam osobno zainstalować?
    • smiechu0808
      smiechu0808
      Platyna
      na forum od: 28.02.2013 Posty: 95
      Pogrzebałem po forum i jeden z użytkowników wrzucił skuteczną metodę pozbycia się tego problemu, dlatego wrzucam tu ponownie:

      1. Reboot.

      2. Check that your Windows "Secondary Login" service is running. You can check/manually start it by clicking "Start -> Control Panel -> Administrative Tools -> Services".

      Find "Secondary Logon" in the list, double-click it and make sure that it's set to "Automatic" startup type. Also, press "Start" to manually start the service if needed.

      3. Uninstall "PostgreSQL" from "Control Panel -> Programs and Features" if it's there.

      Click "Start -> All Programs -> Accessories", right-mouse-button on "Command Prompt", select "Run as administrator" and copy/paste this in the window (then press the "enter" key):


      net user postgres /delete

      This could fail but should be ok.

      4. With "Start -> All Programs -> Accessories -> Windows Explorer" check both of these locations for a "PostgreSQL" folder and rename it to "PostgreSQL_ORIG" if found:

      C:\Program Files

      C:\Program Files (x86)

      If you don't find a "PostgreSQL" folder that may be ok.

      5. Download this PostgreSQL installer: http://ftp.postgresql.org/pub/binary/v8....ql-8.3.23-1.zip

      You'll need a free compression program like "winzip" or "winrar" if you're unable to double-click what you downloaded and it won't open.

      6. Once you can open the file, extract the contents somewhere such as your desktop. Double-click the file "postgresql-8.3.msi" (not "postgresql-8.3-int.msi"). Make sure to not try to run that file from within the decompression tool.

      At the start you should see a "Write detailed..." at the bottom, put a check mark in that.

      Choose your language and click "Start", "Next", "Next", "Next" until you reach "Service Configuration" window.

      In each password box type "svcPASS83" (no quotes) and click "Next".

      Answer "Yes" to "create account?"

      Answer "No" to "replace it with a random password?"

      In the next window type "dbpass" (no quotes) in both password boxes.

      Click "Next" and "Next" and wait for it to finish.

      Near the end of the PostgreSQL install remove the check mark from the "Stackbuilder" option and click "Finish".

      This next step (#7) has two parts, one if the PostgreSQL install finished (#7A) and one if it didn't (#7B) - you should only need to do one of them depending on which happened:

      7A) If the PostgreSQL install finished click "All Programs -> PokerTracker 4 -> PokerTracker 4 (Logging Enabled)" and use these settings in the "Configure PostgreSQL" window:

      server localhost
      port 5432
      user postgres
      password dbpass

      If things work you should be all set but if not attach to your reply:

      --> C:\Users\some_name\AppData\Local\PokerTracker 4\PokerTracker4.log

      --> The newest 1 or 2 PostgreSQL logs from here:

      C:\Program Files\PostgreSQL\8.3\data\pg_log

      or here:

      C:\Program Files (x86)\PostgreSQL\8.3\data\pg_log

      7B) But if the PostgreSQL install failed we need to see why so from the folder you started the manual install from, look for the PostgreSQL installation log. That's what to send us.