El día martes, agosto 01, 2023 a las 07:28:49 -0400, pf@pfortin.com escribió:
> On Tue, 1 Aug 2023 06:22:46 -0400 Amn Ojee Uw wrote:
>
> >"/var/run/postgresql/.s.PGSQL.5432" failed: No such file or directory*//*
>
> Like mine, your distro probably uses /tmp/.s.PGSQL.5432
> $ ll /tmp/.s.PGSQL.5432
> srwxrwxrwx 1 postgres postgres 0 Aug 1 06:33 /tmp/.s.PGSQL.5432=
>
This here is on SuSE Linux:
# ls -l /tmp/.*5432
srwxrwxrwx 1 postgres postgres 0 Aug 1 13:39 /tmp/.s.PGSQL.5432
# netstat -an | grep 5432 | grep LIST
tcp 0 0 0.0.0.0:5432 0.0.0.0:* LISTEN
tcp6 0 0 :::5432 :::* LISTEN
unix 2 [ ACC ] STREAM LISTENING 22000 /tmp/.s.PGSQL.5432
We normaly use the TCP/IP port 5432 to connect to the server.
matthias
--
Matthias Apitz, ✉ guru@unixarea.de, http://www.unixarea.de/ +49-176-38902045
Public GnuPG key: http://www.unixarea.de/key.pub