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

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search for
  Advanced Search

Re: Restart after power outage: createdb



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/
***-*--*----*-------*------------*--------------------*---------------




Home | Main Index | Thread Index

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group