Bug 913360 - RHEL 5 Could not populate database on install.
Summary: RHEL 5 Could not populate database on install.
Keywords:
Status: CLOSED DUPLICATE of bug 913361
Alias: None
Product: Spacewalk
Classification: Community
Component: Server
Version: 1.8
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Michael Mráka
QA Contact: Red Hat Satellite QA List
URL:
Whiteboard:
Depends On:
Blocks: space27
TreeView+ depends on / blocked
 
Reported: 2013-02-21 04:36 UTC by ismitley
Modified: 2017-09-28 17:55 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-02-21 09:40:07 UTC
Embargoed:


Attachments (Terms of Use)

Description ismitley 2013-02-21 04:36:02 UTC
Description of problem:
Running RHEL 5.  Postgresql 9.2.  When I tried to do:

spacewalk-setup --disconnected --external-db

I would constantly get this:
** Database: Populating database.
*** Progress: #
Could not populate database.

I looked at /var/log/rhn/populate_db.log and it was telling me this:
psql:/etc/sysconfig/rhn/postgres/deploy.sql:4 /usr/share/pgsql/contrib/dblink.sql: No such file or directory.

To fix it, I did this:

mkdir -p /usr/share/pgsql/contrib
cp /usr/pgsql-9.2/share/extension/dblink--1.0.sql /usr/share/pgsql/contrib/dblink.sql

This fixed the issue.

How reproducible:
I could reproduce it every time.

Steps to Reproduce:
1. Be on RHEL 5.
2. Install Postgresql 9.2
3. Try to install Spacewalk

Comment 1 Jan Pazdziora 2013-02-21 09:40:07 UTC

*** This bug has been marked as a duplicate of bug 913361 ***

Comment 2 Eric Herget 2017-09-28 17:55:55 UTC
This BZ closed some time during 2.5, 2.6 or 2.7.  Adding to 2.7 tracking bug.


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