Re: Help with dying postmaster on win2k...

From: Jason Tishler <jason(at)tishler(dot)net>
To: "Ramos-1, Frankie" <Frankie(dot)Ramos-1(at)ksc(dot)nasa(dot)gov>
Cc: "'pgsql-cygwin(at)postgresql(dot)org'" <pgsql-cygwin(at)postgresql(dot)org>
Subject: Re: Help with dying postmaster on win2k...
Date: 2002-03-05 13:51:08
Message-ID: 20020305135108.GI1696@tishler.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-cygwin

Frankie,

On Thu, Feb 28, 2002 at 11:14:19AM -0500, Ramos-1, Frankie wrote:
> When I try to run the postmaster I'm getting the followin error:
>
> $ /usr/bin/postmaster -D /usr/local/pgsql/data
> DEBUG: database system was shut down at 2002-02-28 11:06:26
> DEBUG: CheckPoint record at (0, 1563504)
> DEBUG: Redo record at (0, 1563504); Undo record at (0, 0); Shutdown TRUE
> DEBUG: NextTransactionId: 615; NextOid: 18720
> DEBUG: database system is in production state
> FATAL 1: Database "admin" does not exist in the system catalog.
> DEBUG: shutting down
> DEBUG: database system is shut down
>
> I have no idea of why it is looking for the admin database?

Because you are connecting from an account called "admin" and PostgreSQL
defaults to a database name that is the same as your logname.

> Any help would be more than appreciated.

See the usage statement from psql:

$ psql --help
This is psql, the PostgreSQL interactive terminal.

Usage:
psql [options] [dbname [username]]
...

So, try supplying a database argument. For example:

$ psql template1

Jason

In response to

Browse pgsql-cygwin by date

  From Date Subject
Next Message Tim Finch, FosterFinch Ltd 2002-03-05 14:48:02 Re: PGSTAT : COnnection Refused Error (pgsql 7.2-2 on
Previous Message Jason Tishler 2002-03-05 12:52:32 Re: POSTGRESQL CYGWIN - Configuration