pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
How do I stop the postmaster?
2+ messages / 2 participants
[nested] [flat]

* How do I stop the postmaster?
@ 1998-08-06 06:42  Chairudin Sentosa Harjo <chai@dnet.net.id>
  0 siblings, 1 reply; 2+ messages in thread

From: Chairudin Sentosa Harjo @ 1998-08-06 06:42 UTC (permalink / raw)
  To: pgsql-sql

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 is the proper way to terminate the postmaster?

Regards
Chai




^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: [SQL] How do I stop the postmaster?
@ 1998-08-06 17:43  James Olin Oden <joden@lee.k12.nc.us>
  parent: Chairudin Sentosa Harjo <chai@dnet.net.id>
  0 siblings, 0 replies; 2+ messages in thread

From: James Olin Oden @ 1998-08-06 17:43 UTC (permalink / raw)
  To: Chairudin Sentosa Harjo <chai@dnet.net.id>; +Cc: pgsql-sql


> 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




^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~1998-08-06 17:43 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
1998-08-06 06:42 How do I stop the postmaster? Chairudin Sentosa Harjo <chai@dnet.net.id>
1998-08-06 17:43 ` James Olin Oden <joden@lee.k12.nc.us>

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