Re: Creating a database

From: Ben Stringer <ben(at)magicrock(dot)net>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Creating a database
Date: 2001-01-15 02:29:29
Message-ID: 3A626089.6B2968C1@magicrock.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Tom Lane wrote:
>
> Richard Francis Duggan <dugganr(at)student(dot)cs(dot)ucc(dot)ie> writes:
> > I am trying to create a database and use the following command:
> > 'createdb <database-name>'
> > However I get the following error:
> > ERROR: CREATE DATABASE: could not initialize database directory
> > createdb: database creation failed
>
> Hm. That's not an especially easy error to get ... to get that far,
> you must have a running postmaster and a working template1 database.
> Furthermore you don't have a permissions problem, because it already
> was able to create the new subdirectory for the new database. What's
> failing is the 'cp' command to copy files into that subdirectory from
> template1. Most odd.

Richard - Is there room on the filesystem for your new DB? Are there any
quotas on usage of disk space in your environment?

>
> What platform are you on? What's the name of the intended new database?
> Also, just reaching at straws, what's the PGDATA setting you are using
> (full pathname)?
>
> regards, tom lane

--
_____________________________________________________________
Ben Stringer
Burbong Consultants P/L ACN 092 664 198
ben(at)burbong(dot)com http://www.burbong.com ph 0402 211 638

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Brett W. McCoy 2001-01-15 02:31:07 Re: Can't compare decimal columns???
Previous Message Tom Lane 2001-01-15 01:27:39 Re: Creating a database