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$I6.8383@typ12.nn.bcandid.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-announce pgsql-bugs pgsql-docs pgsql-hackers pgsql-interfaces pgsql-ports

Hi all,

This is the output of initdb after a clean install of all the 6.5.1-2 RPMs
I downloaded from ftp.postgreSQL.org. 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
godind(at)REMOVE_THIS(dot)voxco(dot)com

Responses

Browse pgsql-announce by date

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

Browse pgsql-bugs by date

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

Browse pgsql-docs by date

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

Browse pgsql-hackers by date

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

Browse pgsql-interfaces by date

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

Browse pgsql-ports by date

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