A
A
Andrei1penguin12020-12-01 23:18:26
PostgreSQL
Andrei1penguin1, 2020-12-01 23:18:26

Why won't postgresql start?

Good day, windows 10 OS, postgresql is 13th, stored in Program Files (not x86)
Since today it has stopped starting
. That is, I am trying to open pgadmin, but 127.0.0.1:53258 is not available
. What can cause this?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Andrei1penguin1, 2020-12-02
@Andrei1penguin1

So the solution to the problem was as follows, for those who encounter:
Go to Users / your user / appdata / roaming / pgadmin, open the pgadmin4.txt log file, look at the error
I had 10013
The reason for the error is either a lack of rights or the port is busy with other processes
Cleaned and turned off antiviruses, it didn’t help
. Using the netstat -ano command, I found out the process id on port 5432 (postgresql port), found out its id (PID column)
Next, ctrl + shift + esc open the task manager, the details tab and look at which process the port with the desired id is occupied (my id was 12856), click on the process and click on cancel the task
Restart pgadmin4, everything worked for me

K
ky0, 2020-12-01
@ky0

Look in the logs, there are many possible reasons. But in general - why install postgres on Windows in 2020?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question