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

Installing PostgreSQL

From: "David Godin" <godind(at)REMOVE_THIS(dot)voxco(dot)com>
To: pgsql-hackers(at)postgresql(dot)org(dot)pgsql-announce(at)postgresql(dot)org(dot)pgsql-bugs(at)postgresql(dot)org(dot)pgsql-docs(at)postgresql(dot)org(dot)pgsql-interfaces(at)postgresql(dot)org(dot)pgsql-patches(at)postgresql(dot)org(dot)pgsql-ports(at)postgreSQL(dot)org
Subject: Installing PostgreSQL
Date: 1999-09-20 18:59:55
Message-ID: fvvF3.295$ (view raw, whole thread or download thread mbox)
Lists: pgsql-announcepgsql-bugspgsql-docspgsql-hackerspgsql-interfacespgsql-ports
Hi all,

This is the output of initdb after a clean install of all the 6.5.1-2 RPMs
I downloaded from To install them I did an "rpm -ivh post*".
I'm using RedHat 6 on x86 with 64 Meg Ram and 300 Meg of HD space left.
I used "initdb -l /usr/lib/pgsql -r /var/lib/pgsql/data -u postgres -d" to 
initialyse the database (This is what they say in the manual).

Running with debug mode on.
initdb: using /usr/lib/pgsql/local1_template1.bki.source as input to create the template database.
initdb: using /usr/lib/pgsql/global1.bki.source as input to create the global classes.
initdb: using /usr/lib/pgsql/pg_hba.conf.sample as the host-based authentication control file.
We are initializing the database system with username postgres (uid=104).
This user will own all the files and must also own the server process.
Creating template database in /var/lib/pgsql/data/base/template1
Running: postgres -boot -C -F -D/var/lib/pgsql/data -d template1
initdb: could not create template database
initdb: cleaning up by wiping out /var/lib/pgsql/data/base/template1

This is a "ls -al /var/lib/pgsql"
total 4
drwx------ 3 postgres postgres 1024 Sep 20 14:09 .
drwxr-xr-x 15 root root 1024 Sep 17 11:07 ..
-rw-r--r-- 1 root root 35 Sep 1 00:55 odbcinst.ini

It's obvious i'm doing something wrong! Can someone help me?

David Godin


pgsql-docs by date

Next:From: The Hermit HackerDate: 1999-09-20 21:36:32
Subject: Re: [HACKERS] Re: HISTORY for 6.5.2
Previous:From: Brook MilliganDate: 1999-09-20 16:19:49
Subject: Re: [HACKERS] Re: HISTORY for 6.5.2

pgsql-ports by date

Next:From: David GodinDate: 1999-09-20 20:12:21
Subject: Re: 6.5.1 RPMs
Previous:From: Bruce MomjianDate: 1999-09-20 18:58:00
Subject: Re: [PORTS] plpgsql & bsdi 4.0

pgsql-bugs by date

Next:From: Herouth MaozDate: 1999-09-21 14:57:56
Subject: Re: [SQL] Re: [BUGS] Running queries on inherited tables
Previous:From: George YoungDate: 1999-09-20 18:42:05
Subject: datetime bug in 6.6.0

pgsql-interfaces by date

Next:From: The Hermit HackerDate: 1999-09-21 01:53:30
Subject: RE: [INTERFACES] pgAdmin v6.5.1 Release
Previous:From: Ivo SimicevicDate: 1999-09-20 17:04:48
Subject: Re: [INTERFACES] Not Null Field

pgsql-hackers by date

Next:From: Bruce MomjianDate: 1999-09-20 20:06:45
Subject: New TODO detail
Previous:From: Bruce MomjianDate: 1999-09-20 18:58:00
Subject: Re: [PORTS] plpgsql & bsdi 4.0

pgsql-announce by date

Next:From: Bill GeddesDate: 1999-09-21 23:11:59
Subject: Re: Installing PostgreSQL
Previous:From: Jeff MacDonaldDate: 1999-09-17 13:01:34
Subject: Linux Journal Readers Choice

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group