Kali LinuxでPostgresqlサービスが開始されませんでした。

Kali LinuxでPostgresqlサービスが開始されませんでした。

Windows StoreでKali Linuxをインストールしてpostgresqlを実行しようとしましたが、動作しません.グーグルをしてみると、多くの人が同じエラーを受けましたが、私と同じエラーを経験した人はいませんでした。私が受け取ったエラーメッセージは次のとおりです。

Starting PostgreSQL 12 database server: main
Error: /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 [4603] 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 [4603] LOG: could not bind IPv4 address "127.0.0.1": Address already in use 
2020-05-13 11:24:14.678 DST [4603] 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 [4603] WARNING: could not create listen socket for "localhost" 
2020-05-13 11:24:14.678 DST [4603] FATAL: could not create any TCP/IP sockets 
2020-05-13 11:24:14.679 DST [4603] LOG: database system is shut down 
pg_ctl: could not start server 
Examine the log output. 
... failed!
 failed!

ベストアンサー1

そこはとても明らかです...

「IPv4アドレス「127.0.0.1」をバインドできません。」 「他のポストオフィス管理者はすでにポート5432で実行されていますか?

この試み。

SS-プトーナ正規表現5432

または:

nmap ローカルホスト-Pn -p 5432 -sV

そのポートで何も実行されていないことを確認してください。

おすすめ記事