Re: createdb failed

From: Richard Huxton <dev(at)archonet(dot)com>
To: alex yap <alexysh_2003(at)yahoo(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: createdb failed
Date: 2004-12-01 08:57:32
Message-ID: 41AD877C.3060508@archonet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

alex yap wrote:
> Hi,
>
> recently i need to use pg in my project. everything going ok till
> when i want to createdb it appear this :
>
> Warning : could not remove database directory
> "/var/postgresql/data/base/17147" Detail: Failing system command was
> : rm -rf '/var/postgresql/data/base/17147' Error: could not
> initialize database directory; delete failed as well detail : failing
> system command was : cp -r '/var/postgresql/data/base/1'
> '/var/postgresql/data/base/17147'

This is the wrong list for support queries - in the future "general"
would be a good choice.

Things to check:
1. You are starting PG as the right user
2. Permissions are correct
3. The directory exists
4. Have you done anything with tablespaces?

--
Richard Huxton
Archonet Ltd

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Thomas Hallgren 2004-12-01 09:12:11 Re: Error handling in plperl and pltcl
Previous Message Richard Huxton 2004-12-01 08:49:28 Re: Error handling in plperl and pltcl