pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Amn Ojee Uw <amnojeeuw@gmail.com>
To: pgsql-general@lists.postgresql.org
Subject: Re: error: connection to server on socket...
Date: Tue, 1 Aug 2023 06:25:54 -0400
Message-ID: <f3ace2b4-a067-c4fd-8341-7eb895922bf2@gmail.com> (raw)
In-Reply-To: <97d77785-22a0-5d48-9582-4a7beb2dc14f@gmail.com>
References: <97d77785-22a0-5d48-9582-4a7beb2dc14f@gmail.com>

_*Addendum*_

I tried this, but to no avail : /*sudo systemctl start postgresql*/

On 8/1/23 6:22 a.m., Amn Ojee Uw wrote:
>
> Using the following command on my Debian 12 machine:
>
> /*sudo apt-get install postgresql postgresql-15 
> postgresql-client-common postgresql-common postgresql-contrib 
> postgresql-doc phppgadmin
> */
>
>
> and following the instruction on this 
> <https://wiki.debian.org/PostgreSql#User_access; web 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 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?
>
> Thanks in advance.
>

view thread (10+ messages)  latest in thread

Message-ID: <f3ace2b4-a067-c4fd-8341-7eb895922bf2@gmail.com>
Permalink:  ../f3ace2b4-a067-c4fd-8341-7eb895922bf2@gmail.com/
Also on:    postgresql.org/message-id/f3ace2b4-a067-c4fd-8341-7eb895922bf2@gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: amnojeeuw@gmail.com
  Subject: Re: error: connection to server on socket...
  In-Reply-To: <f3ace2b4-a067-c4fd-8341-7eb895922bf2@gmail.com>
  References: <97d77785-22a0-5d48-9582-4a7beb2dc14f@gmail.com> <f3ace2b4-a067-c4fd-8341-7eb895922bf2@gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox