Re: Psql not working - Mailing list pgsql-admin

From Rajesh Kumar
Subject Re: Psql not working
Date
Msg-id CAJk5AtYW5nrD-mgV=Z95ii0yuQOw=FL=c+2hvcreYjR1wgMgMQ@mail.gmail.com
Whole thread Raw
In response to Psql not working  ("Narendran .j" <jnarendran3@gmail.com>)
Responses AW: Psql not working
List pgsql-admin

I don't think the size 0 is a problem here.

On Thu, 12 Dec 2024, 20:28 Holger Jakobs, <holger@jakobs.com> wrote:
Am 12.12.24 um 15:44 schrieb Narendran .j:
> I have checked the user, user is postgres
> I have noted that in bin path the size of psql client is 0
> psql --version and psql --help not working
> so i suspecting the psql client
>
> Regards,
> Narendran
>

Try finding psql on your disk with

   find / -xdev -name psql -ls

and check whether one of the files found is an executable with

   file path_of_file

and try it if it is.

Maybe your original psql file was deleted or its length set to zero by
incident. You might as well re-install your client package in order to
repair it.

Regards,
Holger

--

Holger Jakobs, Bergisch Gladbach

pgsql-admin by date:

Previous
From: Kashif Zeeshan
Date:
Subject: Re: Psql not working
Next
From: vignesh kumar
Date:
Subject: Re: Psql not working