public inbox for [email protected]  
help / color / mirror / Atom feed
From: Holger Jakobs <[email protected]>
To: [email protected]
Subject: Re: Psql not working
Date: Thu, 12 Dec 2024 15:58:34 +0100
Message-ID: <[email protected]> (raw)
In-Reply-To: <CA+-Cqf4ak9hMBsdj1af1XxCmAT5pay-NyDPQiZQZf1NB-UaTbQ@mail.gmail.com>
References: <CA+-Cqf52mv=mJO8VFsPB3COvOCHKLLvo_jkK=nmfaTt3n2qdug@mail.gmail.com>
	<CAAPsdhfTwmrztts1eLXP2N9xRb7KZNxQakaGZPQkm2Y242kK0g@mail.gmail.com>
	<CA+-Cqf4ak9hMBsdj1af1XxCmAT5pay-NyDPQiZQZf1NB-UaTbQ@mail.gmail.com>

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



Attachments:

  [application/pgp-signature] OpenPGP_signature (203B, 2-OpenPGP_signature)
  download

view thread (9+ messages)  latest in thread

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 using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected]
  Subject: Re: Psql not working
  In-Reply-To: <[email protected]>

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

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