pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Roman Kurmanowytsch <romank@infosys.tuwien.ac.at>
To: pgsql-admin@postgresql.org
Subject: Cannot install postgreSQL
Date: Tue, 07 Mar 2000 16:52:56 +0100
Message-ID: <200003071654.QAA01755@otter.hpl.hp.com> (raw)

Hi,

Ok, ok, I totally agree that this question should be posted to the Novice
mailing list (that's what I did before but to no avail). My only (lame)
excuse is that is about administrating postgresql. 

I've a running postgresql db on one machine and I want to install it on a
second one. The problem is: I get an error I definitely haven't got when I
installed it the first time.

This is the result when I'm running initdb (initdb --pglib=...
--username=romkur). The PGDATA environment variable is set correctly:

<OUTPUT>
We are initializing the database system with username romkur (uid=1005).
This user will own all the files and must also own the server process.
Creating Postgres database system directory /postgresql/pgsql/data
Creating Postgres database system directory /postgresql/pgsql/data/base
Creating template database in /postgresql/pgsql/data/base/template1
Creating global classes in /postgresql/pgsql/data/base
Adding template1 database to pg_database...
Vacuuming template1
Creating public pg_user view
Creating view pg_rules
Creating view pg_views
Creating view pg_tables
Creating view pg_indexes
Loading pg_description
</OUTPUT>

Seems OK to me, but when I run postgres (after starting the ipc daemon) with:
postgres.exe -i
I get the following error-message:

<OUTPUT>
FATAL 1:  Database romkur does not exist in pg_database
FATAL 1:  Database romkur does not exist in pg_database
</OUTPUT>

Does anybody know a work-around for this problem?

Thanks in advance,

Roman

PS: /etc/passwd exists and it contains the correct UID. I'm using Windows
NT with Cygnus b20. The same error occurs with postgresql 6.5 and 6.5.3.



--
Roman Kurmanowytsch
Vienna, Austria
e-mail:   romank@infosys.tuwien.ac.at
icq:      55302169
pgp, www: http://stud4.tuwien.ac.at/~e9327324/




view thread (6+ messages)  latest in thread

Message-ID: <200003071654.QAA01755@otter.hpl.hp.com>
Permalink:  ../200003071654.QAA01755@otter.hpl.hp.com/
Also on:    postgresql.org/message-id/200003071654.QAA01755@otter.hpl.hp.com

 · 

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: romank@infosys.tuwien.ac.at
  Subject: Re: Cannot install postgreSQL
  In-Reply-To: <200003071654.QAA01755@otter.hpl.hp.com>
  References: <200003071654.QAA01755@otter.hpl.hp.com>

* 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