Re: Psql not working

From: Holger Jakobs <holger(at)jakobs(dot)com>
To: pgsql-admin(at)lists(dot)postgresql(dot)org
Subject: Re: Psql not working
Date: 2024-12-12 14:58:34
Message-ID: 67a36e35-ddf6-aedb-aef8-838699b01892@jakobs.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-admin

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

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Rajesh Kumar 2024-12-12 15:02:43 Re: Psql not working
Previous Message Kashif Zeeshan 2024-12-12 14:57:43 Re: Psql not working