From: | Moreno Andreo <moreno(dot)andreo(at)evolu-s(dot)it> |
---|---|
To: | pgsql-general(at)lists(dot)postgresql(dot)org |
Subject: | Re: Should I reinstall over current installation? |
Date: | 2020-02-04 12:40:12 |
Message-ID: | ab27016a-fd35-f548-5eb2-e72a7abe2ab2@evolu-s.it |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Il 04/02/2020 00:16, Chris Charley ha scritto:
I tried items you suggested (1-5), but could find no helpful info.
Thanks for your help and going the extra mile!
Hope I'm in time to try to save you from reinstall :-)
How to check if PostgreSQL is running
---------------------------------------------------
- Run Services.msc
- In the console you should have an entry with your postgres version (I have 9.1 and 9.5 on this host)
- Check it's automatically started and running (It's in Italian, "In esecuzione" means "running" and "Automatico", well.... :-)))))).
- If it's not, try to start it (right click on the service and select start)
- If you get an error, check the error message
How to check the error message
-------------------------------------------
You have 2 choices
1 - Postgres Logs)
of all, you should check PostgreSQL logs under <Postgres install folder>\data\pg_log. Here you should find some files showing you most of the errors you would find in Event Viewer.
Check error messages and, if still needed, post them
2 - Windows Event Log)
- Enter Event Viewer
- Sort Events by date descending
- First entries should reveal why your postgres server is not running
(I captured the first error I got on this host just for example)
- On the lower pane, check what's the error message (in my case, "FATAL: The database system is starting up").
If you need further help, post the error message and we'll try to help you.
Hope this help
Moreno.-
From | Date | Subject | |
---|---|---|---|
Next Message | Doug Roberts | 2020-02-04 14:20:04 | Re: Postgres Crashing |
Previous Message | Tom Lane | 2020-02-04 06:07:06 | Re: Restrict connection from pgadmin. |