Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id C73B8475461 for ; Wed, 20 Nov 2002 09:45:26 -0500 (EST) Received: from anchor-post-35.mail.demon.net (anchor-post-35.mail.demon.net [194.217.242.85]) by postgresql.org (Postfix) with ESMTP id 37DA7474E44 for ; Wed, 20 Nov 2002 09:45:26 -0500 (EST) Received: from lfix.demon.co.uk ([158.152.59.127] helo=linda.lfix.co.uk) by anchor-post-35.mail.demon.net with esmtp (Exim 3.36 #2) id 18EW6Z-0003Rf-0U; Wed, 20 Nov 2002 14:45:29 +0000 Received: from localhost ([127.0.0.1] helo=localhost.localdomain ident=olly) by linda.lfix.co.uk with esmtp (Exim 3.36 #1 (Debian)) id 18EW6M-0006Y5-00; Wed, 20 Nov 2002 14:45:14 +0000 Subject: Re: Problems invoking psql. Help please. From: Oliver Elphick To: Hugh Esco Cc: pgsql-sql@postgresql.org 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> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.8 Date: 20 Nov 2002 14:45:14 +0000 Message-Id: <1037803514.24840.20.camel@linda> Mime-Version: 1.0 X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200211/310 X-Sequence-Number: 10452 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