pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: James Olin Oden <joden@lee.k12.nc.us>
To: Chairudin Sentosa Harjo <chai@dnet.net.id>
Cc: pgsql-questions@postgresql.org <pgsql-sql@postgreSQL.org>
Subject: Re: [SQL] How do I stop the postmaster?
Date: Thu, 6 Aug 1998 13:43:44 -0400
Message-ID: <81Aug5.123254edt.35713@gateway.lee.k12.nc.us> (raw)
References: <Pine.LNX.3.96.980805221104.31877A-100000@extra.Sophos.ca>
	<35C95044.3FC7D53B@dnet.net.id>


> Hi all,
>
> I started the postmaster by running this command:
> /usr/local/psql/bin/postmaster -oe -S -D /usr/local/pgsql/data
>
> Then I type:
> psql mydb
>
> Error:
> Connection to database 'mydb' failed.
> PQexec() -- Request was sent to backend, but backed closed the channel before
> responding.
>                         This probably means the backend terminated abnormally
> before or while
>                         processing request.
>

What user are you logged in as when you try to connect to the database?  If you
are not a users that has also had a postgres account created by create_user this
may happen.  Also, this or other error messages will occur if you try to access
the database as root...james




view thread (2+ messages)

Message-ID: <81Aug5.123254edt.35713@gateway.lee.k12.nc.us>
Permalink:  ../81Aug5.123254edt.35713@gateway.lee.k12.nc.us/
Also on:    postgresql.org/message-id/81Aug5.123254edt.35713@gateway.lee.k12.nc.us

 · 

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-sql@postgresql.org
  Cc: joden@lee.k12.nc.us, chai@dnet.net.id
  Subject: Re: [SQL] How do I stop the postmaster?
  In-Reply-To: <81Aug5.123254edt.35713@gateway.lee.k12.nc.us>
  References: <Pine.LNX.3.96.980805221104.31877A-100000@extra.Sophos.ca> <35C95044.3FC7D53B@dnet.net.id> <81Aug5.123254edt.35713@gateway.lee.k12.nc.us>

* 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