This service will be undergoing maintenance at 00:00 UTC, 2016-09-28. It is expected to last about 1 hours
Bug 2721 - You left the postgresql data rpm out of RedHat 6.0
You left the postgresql data rpm out of RedHat 6.0
Status: CLOSED WONTFIX
Product: Red Hat Linux
Classification: Retired
Component: postgresql (Show other bugs)
6.0
i386 Linux
high Severity high
: ---
: ---
Assigned To: Jay Turner
:
: 2775 3237 3601 (view as bug list)
Depends On:
Blocks:
  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:
Environment:
Last Closed: 1999-05-13 10:22:44 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:


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 -
postgres
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
postgresql-6.4.2-3.i386.rpm
postgresql-clients-6.4.2-3.i386.rpm
postgresql-devel-6.4.2-3.i386.rpm

but not

postgresql-data-6.4.2-4.i386.rpm
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.