From: Girish Patangay <girish@intotoinc.com>
To: pgsql-admin@postgresql.org
Subject: sh: `-c' requires an argument
Date: Thu, 21 Nov 2002 11:00:12 -0800
Message-ID: <001501c29190$384ddbe0$7605010a@hmsnabob> (raw)
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
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: girish@intotoinc.com
Subject: Re: sh: `-c' requires an argument
In-Reply-To: <001501c29190$384ddbe0$7605010a@hmsnabob>
References: <001501c29190$384ddbe0$7605010a@hmsnabob>
* 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