Skip site navigation (1) Skip section navigation (2)

Re: Restart after power outage: createdb

From: Jon Lapham <lapham(at)jandr(dot)org>
To: Jim Nasby <jim(at)nasby(dot)net>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Restart after power outage: createdb
Date: 2006-09-27 10:24:53
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-generalpgsql-hackers
Jim Nasby wrote:
>> [lapham(at)localhost ~]$ psql bar
>> psql: FATAL:  database "bar" does not exist
>> [lapham(at)localhost ~]$ createdb bar
>> createdb: database creation failed: ERROR: could not create directory 
>> "base/65536": File exists
>> [lapham(at)localhost ~]$ createdb bar
> Could this be a timing issue? IE: are you just issuing the first 
> createdb bar too soon after the database has started?
> I suspect this is a bug...

Probably not too soon, since postgresql is started by init.d during boot 
and it is probably a minute or so after that before I can get logged in, 
open a shell, issue the commands, etc.

  Jon Lapham  <lapham(at)jandr(dot)org>                Rio de Janeiro, Brasil

In response to


pgsql-hackers by date

Next:From: Simon RiggsDate: 2006-09-27 11:30:43
Subject: Re: Cross-table statistics idea
Previous:From: Heikki LinnakangasDate: 2006-09-27 10:11:24
Subject: Re: Block B-Tree concept

pgsql-general by date

Next:From: Martijn van OosterhoutDate: 2006-09-27 10:26:49
Subject: Re: Insert/select union bug
Previous:From: jef peeraerDate: 2006-09-27 10:16:46
Subject: pl/pgsql NEW variable substitution

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group