I've installed Kali Linux from the windows store, and have been trying to get postgresql to run, but it doesn't work. I've googled it, and lots of people have the same kind of error but none have the same one as me. This is the error message I get:
'''Starting PostgreSQL 12 database server: mainError: /usr/lib/postgresql/12/bin/pg_ctl /usr/lib/postgresql/12/bin/pg_ctl start -D /var/lib/postgresql/12/main -l /var/log/postgresql/postgresql-12-main.log -s -o -c config_file="/etc/postgresql/12/main/postgresql.conf" exited with status 1: 2020-05-13 11:24:14.677 DST  LOG: starting PostgreSQL 12.2 (Debian 12.2-4) on x86_64-pc-linux-gnu, compiled by gcc (Debian 9.3.0-8) 9.3.0, 64-bit 2020-05-13 11:24:14.678 DST  LOG: could not bind IPv4 address "127.0.0.1": Address already in use 2020-05-13 11:24:14.678 DST  HINT: Is another postmaster already running on port 5432? If not, wait a few seconds and retry. 2020-05-13 11:24:14.678 DST  WARNING: could not create listen socket for "localhost" 2020-05-13 11:24:14.678 DST  FATAL: could not create any TCP/IP sockets 2020-05-13 11:24:14.679 DST  LOG: database system is shut down pg_ctl: could not start server Examine the log output. ... failed! failed!'''