pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Girish Patangay <girish@noblehost.com>
To: pgsql-admin@postgresql.org
Subject: sh: `-c' requires an argument
Date: Wed, 20 Nov 2002 13:40:11 -0800
Message-ID: <000301c290dd$67d045f0$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

view thread (3+ messages)  latest in thread

Message-ID: <000301c290dd$67d045f0$7605010a@hmsnabob>
Permalink:  ../000301c290dd$67d045f0$7605010a@hmsnabob/
Also on:    postgresql.org/message-id/000301c290dd$67d045f0$7605010a@hmsnabob

 · 

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 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@noblehost.com
  Subject: Re: sh: `-c' requires an argument
  In-Reply-To: <000301c290dd$67d045f0$7605010a@hmsnabob>
  References: <000301c290dd$67d045f0$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