pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alvaro Herrera <alvherre@commandprompt.com>
To: Sylvain Brohee <sylvain@scmbb.ulb.ac.be>
Cc: pgsql-admin@postgresql.org
Subject: Re: could not open  file "global/pg_database"
Date: Thu, 18 Oct 2007 13:25:37 -0300
Message-ID: <20071018162537.GF29379@alvh.no-ip.org> (raw)
In-Reply-To: <200710181456.03192.sylvain@scmbb.ulb.ac.be>
References: <200710181456.03192.sylvain@scmbb.ulb.ac.be>

Sylvain Brohee wrote:

> If I try create a database 
> 
> createdb testdb
> 
> createdb: could not connect to database postgres: FATAL:  could not open 
> file "global/pg_database": No such file or directory

That's pretty strange.  Is there a global/pg_database file in $PGDATA?
Who's the owner?

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support



view thread (2+ messages)

Message-ID: <20071018162537.GF29379@alvh.no-ip.org>
Permalink:  ../20071018162537.GF29379@alvh.no-ip.org/
Also on:    postgresql.org/message-id/20071018162537.GF29379@alvh.no-ip.org

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: alvherre@commandprompt.com, sylvain@scmbb.ulb.ac.be
  Subject: Re: could not open  file "global/pg_database"
  In-Reply-To: <20071018162537.GF29379@alvh.no-ip.org>

* 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