Summary: | dev-db/postgresql should clean up dead socket files - /etc/init.d/postgresql-12: Socket conflict. A server is already listening on: /var/run/psql/socket/.s.PGSQL.xxxx HINT: Change PGPORT to listen on a different socket. | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Conrad <conrad_bugtracker> |
Component: | Current packages | Assignee: | PgSQL Bugs <pgsql-bugs> |
Status: | UNCONFIRMED --- | ||
Severity: | normal | CC: | conrad_bugtracker, hydrapolic |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Conrad
2020-08-26 23:31:24 UTC
Having the same issue with pgsql-11. The server is rebooted, openrc shows postgresql-11 as stopped, but postgresql is running: postgres 2137 0.0 0.0 165264 18784 ? S 11:07 0:00 /usr/lib64/postgresql-11/bin/postgres -D /etc/postgresql-11 --data-directory=/var/lib/postgresql/11/data --unix-socket-directories=/run/postgresql 2020-09-23 11:01:40 CEST LOG: received smart shutdown request 2020-09-23 11:01:40 CEST FATAL: terminating walreceiver process due to administrator command 2020-09-23 11:01:40 CEST LOG: shutting down 2020-09-23 11:01:40 CEST LOG: database system is shut down 2020-09-23 11:07:37 CEST LOG: listening on IPv4 address "0.0.0.0", port 5432 2020-09-23 11:07:37 CEST LOG: listening on IPv6 address "::", port 5432 2020-09-23 11:07:37 CEST LOG: listening on Unix socket "/run/postgresql/.s.PGSQL.5432" 2020-09-23 11:07:37 CEST LOG: database system was shut down in recovery at 2020-09-23 11:01:40 CEST 2020-09-23 11:07:37 CEST LOG: entering standby mode 2020-09-23 11:07:37 CEST LOG: redo starts at E4A/54378200 2020-09-23 11:07:48 CEST LOG: consistent recovery state reached at E4A/5F1046A0 2020-09-23 11:07:48 CEST LOG: invalid resource manager ID 65 at E4A/5F1046A0 2020-09-23 11:07:48 CEST LOG: database system is ready to accept read only connections 2020-09-23 11:07:48 CEST LOG: started streaming WAL from primary at E4A/5F000000 on timeline 1 |