Summary: | databases/postgresql{12|13}-server: psql: error: could not connect to server: server closed the connection unexpectedly | ||
---|---|---|---|
Product: | Ports & Packages | Reporter: | O. Hartmann <ohartmann> |
Component: | Individual Port(s) | Assignee: | pgsql |
Status: | New --- | ||
Severity: | Affects Only Me | CC: | lwhsu |
Priority: | --- | ||
Version: | Latest | ||
Hardware: | Any | ||
OS: | Any |
Description
O. Hartmann
2020-10-03 10:32:05 UTC
I just checked on several other CURRENT installations of ours and with different configuration option set when postgresql12|13-server is compiled - with our setup it is always the same. The one thing we didn't check so far is whether the database itself, which is migrated via a simple dump (pg_dumpall) and rereading when the new setup postgresql server is running might be the culprit. Compiling server and client with the standard config options resulted in the same fail as described above. Disabling ipfw (the firewall we use) or switching to pass everything doesn't change anything. Even allow explicitely ::1 and 127.0.0.1 doesn't change anything. Again, hosts are configured to use IPv4 and IPv6! Remote access via LDAP backed users to databases works fine. Local access via socket works fine, but not when explicetely connect via tcp ::1 or 127.0.0.1! Mots hosts in our lab run dual stack, so next I'll try to switch off IPV6. New setups on freshly installed hosts with IPV4 only seem to work properly. |