public inbox for [email protected]  
help / color / mirror / Atom feed
From: Dischner, Anton <[email protected]>
To: Rajesh Kumar <[email protected]>
To: Holger Jakobs <[email protected]>
Cc: [email protected] <[email protected]>
Subject: AW: Psql not working
Date: Thu, 12 Dec 2024 15:05:57 +0000
Message-ID: <[email protected]> (raw)
In-Reply-To: <CAJk5AtYW5nrD-mgV=Z95ii0yuQOw=FL=c+2hvcreYjR1wgMgMQ@mail.gmail.com>
References: <CA+-Cqf52mv=mJO8VFsPB3COvOCHKLLvo_jkK=nmfaTt3n2qdug@mail.gmail.com>
	<CAAPsdhfTwmrztts1eLXP2N9xRb7KZNxQakaGZPQkm2Y242kK0g@mail.gmail.com>
	<CA+-Cqf4ak9hMBsdj1af1XxCmAT5pay-NyDPQiZQZf1NB-UaTbQ@mail.gmail.com>
	<[email protected]>
	<CAJk5AtYW5nrD-mgV=Z95ii0yuQOw=FL=c+2hvcreYjR1wgMgMQ@mail.gmail.com>

Hi,

on my system ist:

which psql
/usr/bin/psql
postgres@myserver:~$ file /usr/bin/psql
/usr/bin/psql: symbolic link to ../share/postgresql-common/pg_wrapper
file /usr/share/postgresql-common/pg_wrapper
/usr/share/postgresql-common/pg_wrapper: Perl script text executable

Regards,

Anton

Von: Rajesh Kumar <[email protected]>
Gesendet: Donnerstag, 12. Dezember 2024 16:03
An: Holger Jakobs <[email protected]>
Cc: [email protected]
Betreff: Re: Psql not working


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

On Thu, 12 Dec 2024, 20:28 Holger Jakobs, <[email protected]<mailto:[email protected]>> 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


view thread (9+ messages)

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], [email protected], [email protected]
  Subject: Re: AW: 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