pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Oliver Elphick <olly@lfix.co.uk>
To: Hugh Esco <hesco@greens.org>
Cc: pgsql-sql@postgresql.org
Subject: Re: Problems invoking psql. Help please.
Date: 20 Nov 2002 14:45:14 +0000
Message-ID: <1037803514.24840.20.camel@linda> (raw)
In-Reply-To: <5.1.0.14.0.20021120075927.042606b0@petra.cagreens.org>
References: <29178.1037776397@sss.pgh.pa.us>
	<5.1.0.14.0.20021120015333.04220570@petra.cagreens.org>
	<5.1.0.14.0.20021120015333.04220570@petra.cagreens.org>
	<5.1.0.14.0.20021120075927.042606b0@petra.cagreens.org>

On Wed, 2002-11-20 at 13:52, Hugh Esco wrote:
> However, when I again attempt to invoke the psql client, I get this:

> >biko:/usr/bin$ ./psql -U postgres template1
> >Could not execv /usr/lib/postgresql/bin/psql

Pay attention to the exact message and do not flounder around
aimlessly.  There is no reason to be messing about with pg_hba.conf. 
You have some kind of system problem here.

execv() is a system call to run another executable in place of the
current process.  If the other executable is not present, or does not
have permissions, you will not be able to run it.  Find out why.

-- 
Oliver Elphick                                Oliver.Elphick@lfix.co.uk
Isle of Wight, UK                            
http://www.lfix.co.uk/oliver
GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839  932A 614D 4C34 3E1D 0C1C
                 ========================================
     "If my people, which are called by my name, shall 
      humble themselves, and pray, and seek my face, and 
      turn from their wicked ways; then will I hear from 
      heaven, and will forgive their sin, and will heal 
      their land."               II Chronicles 7:14 




view thread (31+ messages)  latest in thread

Message-ID: <1037803514.24840.20.camel@linda>
Permalink:  ../1037803514.24840.20.camel@linda/
Also on:    postgresql.org/message-id/1037803514.24840.20.camel@linda

 · 

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: pgsql-sql@postgresql.org
  Cc: olly@lfix.co.uk, hesco@greens.org
  Subject: Re: Problems invoking psql. Help please.
  In-Reply-To: <1037803514.24840.20.camel@linda>

* 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