簡體   English   中英

無法啟動 postgresql 服務器

[英]Unable to start postgresql server

我無法啟動我的 etc/hosts 文件。

Starting PostgreSQL 14 database server: main
Error: /usr/lib/postgresql/14/bin/pg_ctl /usr/lib/postgresql/14/bin/pg_ctl start -D /var/lib/postgresql/14/main -l /var/log/postgresql/postgresql-14-main.log -s -o -c config_file="/etc/postgresql/14/main/postgresql.conf" exited with status 1
2021-11-29 12:33:13.333 UTC [17764] LOG: starting PostgreSQL 14.1 (Debian 14.1-1) on aarch64-unknown-linux-gnu, compiled by gcc (Debian 11.2.0-10) 11.2.0, 64-bit
2021-11-29 12:33:13.334 UTC [17764] LOG: could not create IPv6 socket for address "::1": Permission denied
2021-11-29 12:33:13.334 UTC [17764] LOG: could not create IPv4 socket for address "127.0.0.1": Permission denied
2021-11-29 12:33:13.334 UTC [17764] WARNING: could not create listen socket for "localhost"
2021-11-29 12:33:13.334 UTC [17764] FATAL: could not create any TCP/IP sockets
2021-11-29 12:33:13.336 UTC [17764] LOG: database system is shut down
pg_ctl: could not start server Examine the log output. ... failed!
failed! 

如果有人發現自己處於這種情況,請創建它。 我將 postgres 添加到 init 組

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM