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: 451A5175.5060106@jandr.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-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
Personal: http://www.jandr.org/
***-*--*----*-------*------------*--------------------*---------------

In response to

Responses

Browse pgsql-general by date

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

Browse pgsql-hackers by date

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