Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id E5B2B475AE5 for ; Thu, 21 Nov 2002 14:00:35 -0500 (EST) Received: from intotoinc.com (sdsl-66-80-10-146.dsl.sca.megapath.net [66.80.10.146]) by postgresql.org (Postfix) with ESMTP id E5B73475461 for ; Thu, 21 Nov 2002 14:00:34 -0500 (EST) Received: from hmsnabob ([10.1.5.118]) by intotoinc.com (8.11.0/8.11.0) with ESMTP id gALJ7D424496 for ; Thu, 21 Nov 2002 11:07:13 -0800 From: "Girish Patangay" To: Subject: sh: `-c' requires an argument Date: Thu, 21 Nov 2002 11:00:12 -0800 Message-ID: <001501c29190$384ddbe0$7605010a@hmsnabob> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0016_01C2914D.2A2A9BE0" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2627 In-reply-to: X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Importance: Normal X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200211/194 X-Sequence-Number: 6382 This is a multi-part message in MIME format. ------=_NextPart_000_0016_01C2914D.2A2A9BE0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit I ran into this problem when running almost any command using psql, createdb or even trying to goto the shell using \! The problem is that /bin/sh points to /bin/bash and my bash version is: $ bash -version GNU bash, version 1.14.7(1) Here are the other errors: $ createdb foo PQexec() -- Request was sent to backend, but backend closed the channel before responding. This probably means the backend terminated abnormally before or while processing the request. createdb: database creation failed on foo. (in the log file it has the "sh: `-c' requires an argument" error) Has anyone run into this problem? Or could give me tips to fix it? Thanks Girish ------=_NextPart_000_0016_01C2914D.2A2A9BE0 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

 

I ran into this problem when r= unning almost any command using psql, createdb or even trying to goto the shell us= ing \!

 

The problem is that /bin/sh po= ints to /bin/bash and my bash version is:

$ bash -version

GNU bash, version 1.14.7(1)

 

Here are the other errors:

$ createdb foo

PQexec() -- Request was sent to backend, but backend closed the channel before responding.

        This probably means the backend terminated abnormally before or while processing= the request.

createdb: database creation fa= iled on foo.

 

(in the log file it has the “sh: `-c' requires an argument” error)=

 

Has anyone run into this probl= em? Or could give me tips to fix it?

 

Thanks

Girish

------=_NextPart_000_0016_01C2914D.2A2A9BE0--