Bug 2721 - You left the postgresql data rpm out of RedHat 6.0
You left the postgresql data rpm out of RedHat 6.0
Product: Red Hat Linux
Classification: Retired
Component: postgresql (Show other bugs)
i386 Linux
high Severity high
: ---
: ---
Assigned To: Jay Turner
: 2775 3237 3601 (view as bug list)
Depends On:
  Show dependency treegraph
Reported: 1999-05-10 16:39 EDT by aardvark
Modified: 2015-01-07 18:37 EST (History)
4 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 1999-05-13 10:22:44 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description aardvark 1999-05-10 16:39:04 EDT
Without the data rpm, postgresql won't run.
Comment 1 Bill Nottingham 1999-05-13 10:18:59 EDT
*** Bug 2775 has been marked as a duplicate of this bug. ***

The postgresql-data rpm that I have always seen on previous
releases of your software is not on the 6.0 CD. When
postgresql is started it aborts with an error about no data
directory, so I assume these two things are related. I
downloaded an rpm for postgresql-data from rufus.w3.com and
installed it. Now postgresql works as expected. Just thought
you should know
Comment 2 Bill Nottingham 1999-05-13 10:21:59 EDT
(explanation courtesy Cristian Gafton)

You have to become the postgres user and then run
initdb:                         su -
PGDATA=/var/lib/pgsql PGLIB=/usr/lib/pgsql initdb

The data files are no longer shipped because you donit want us
replacing your databases with the empty, default ones on updates.
Because of this we've made the postgres RPMs "no know anything" about
the data files, thus avoiding touching those on upgrades.

I know we used to ship those, but that proved to be a bad idea.
Comment 3 Bill Nottingham 1999-05-13 10:22:59 EDT
in case the formatting is confusing, the command is:

su - postgres
PGDATA=/var/lib/pgsql PGLIB=/usr/lib/pgsql initdb
Comment 4 Jeff Johnson 1999-06-03 10:12:59 EDT
*** Bug 3237 has been marked as a duplicate of this bug. ***

Package previously shipped with a 4 rpm set. This RPM is
necessary to set up the default database.
Comment 5 Jeff Johnson 1999-06-21 04:51:59 EDT
*** Bug 3601 has been marked as a duplicate of this bug. ***

RedHat 6.0 contains

but not

which is necessary to get it up and running.

Note You need to log in before you can comment on or make changes to this bug.