Re: error: connection to server on socket...

2023-08-01 Thread Amn Ojee Uw
alled PostgreSQL-15. The installation went smooth, until the following command was issued : /*sudo -u postgres psql*/ ... I get an error message that reads: /*could not change directory to "/home/my_account": Permission denied*//* *//*psql: error: connection to server on socket "

Re: error: connection to server on socket...

2023-08-01 Thread Adrian Klaver
issued : /*sudo -u postgres psql*/ ... I get an error message that reads: /*could not change directory to "/home/my_account": Permission denied*//* *//*psql: error: connection to server on socket "/var/run/postgresql/.s.PGSQL.5432" failed: No such file or directory*//

Re: error: connection to server on socket...

2023-08-01 Thread Amn Ojee Uw
eb page I have installed PostgreSQL-15. The installation went smooth, until the following command was issued : /*sudo -u postgres psql*/ ... I get an error message that reads: /*could not change directory to "/home/my_account": Permission denied*//* *//*psql: error: connection to serv

Re: error: connection to server on socket...

2023-08-01 Thread Adrian Klaver
*//*psql: error: connection to server on socket "/var/run/postgresql/.s.PGSQL.5432" failed: No such file or directory*//* *//*    Is the server running locally and accepting connections on that socket?*/ What can I do to resolve this issue? Run pg_lsclusters and see what

Re: error: connection to server on socket...

2023-08-01 Thread Tom Lane
p...@pfortin.com writes: > 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

Re: error: connection to server on socket...

2023-08-01 Thread Matthias Apitz
El día martes, agosto 01, 2023 a las 07:28:49 -0400, p...@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

Re: error: connection to server on socket...

2023-08-01 Thread pf
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=

Re: error: connection to server on socket...

2023-08-01 Thread Tomas Pospisek
psql: error: connection to server on socket "/var/run/postgresql/.s.PGSQL.5432" failed: No such file or directory     Is the server running locally and accepting connections on that socket? What can I do to resolve this issue? When executing the `sudo` command above: * as which us

Re: error: connection to server on socket...

2023-08-01 Thread Amn Ojee Uw
reads: /*could not change directory to "/home/my_account": Permission denied*//* *//*psql: error: connection to server on socket "/var/run/postgresql/.s.PGSQL.5432" failed: No such file or directory*//* *//*    Is the server running locally and accepting connections on that

error: connection to server on socket...

2023-08-01 Thread Amn Ojee Uw
page I have installed PostgreSQL-15. The installation went smooth, until the following command was issued : /*sudo -u postgres psql*/ ... I get an error message that reads: /*could not change directory to "/home/my_account": Permission denied*//* *//*psql: error: connection to server