Re: initdb doesn not create template1 database

From: Tony Grant <tg001(at)dial(dot)oleane(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: mike <matrix(at)quadrent(dot)net>, Postgres Users <pgsql-general(at)postgresql(dot)org>
Subject: Re: initdb doesn not create template1 database
Date: 2001-01-19 08:24:03
Message-ID: 20010119092403.I1263@tonux
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


On 2001.01.19 03:14:32 +0100 Tom Lane wrote:

> That's an interesting definition of "doing its job" :-(.
>
> How about you show us the exact output you're getting, not an
> interpretation?

7.0.3 on RedHat 6.2 with kernel 2.4.0

postgres]$ initdb -D /home/postgres
This database system will be initialized with username "postgres".
This user will own all the data files and must also own the server process.

Fixing permissions on pre-existing data directory /home/postgres
Creating database system directory /home/postgres/base
Creating database XLOG directory /home/postgres/pg_xlog
Creating template database in /home/postgres/base/template1
Creating global relations in /home/postgres/base
Adding template1 database to pg_database
/usr/bin/initdb: /tmp/initdb.29795: Permission denied
/usr/bin/initdb: /tmp/initdb.29795: Permission denied
/usr/bin/initdb: /tmp/initdb.29795: Permission denied
/usr/bin/initdb: /tmp/initdb.29795: No such file or directory

initdb failed.
Removing /home/postgres.
rm: cannot remove directory `/home/postgres': Permission denied
Failed.
Removing temp file /tmp/initdb.29795.

Cheers

Tony Grant

--
It's just some computers connected together...

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Guillaume Lémery 2001-01-19 08:39:57 .so functions and SQL queries
Previous Message mike 2001-01-19 07:17:16 Re: initdb doesn not create template1 database