Re: [SQL] How do I stop the postmaster?

From: James Olin Oden <joden(at)lee(dot)k12(dot)nc(dot)us>
To: Chairudin Sentosa Harjo <chai(at)dnet(dot)net(dot)id>
Cc: "pgsql-questions(at)postgresql(dot)org" <pgsql-sql(at)postgreSQL(dot)org>
Subject: Re: [SQL] How do I stop the postmaster?
Date: 1998-08-06 17:43:44
Message-ID: 81Aug5.123254edt.35713@gateway.lee.k12.nc.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Johann Spies 1998-08-07 08:55:40 Re: [SQL] What is the recommended machine configuration?
Previous Message pierre 1998-08-06 15:39:53 Re: [SQL] Creating table with unique key.