Bug 842153 - spacewalk-hostname-rename fails on pgsql
Summary: spacewalk-hostname-rename fails on pgsql
Keywords:
Status: CLOSED DUPLICATE of bug 809444
Alias: None
Product: Spacewalk
Classification: Community
Component: Server
Version: 1.7
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Michael Mráka
QA Contact: Red Hat Satellite QA List
URL:
Whiteboard:
Depends On:
Blocks: space18
TreeView+ depends on / blocked
 
Reported: 2012-07-22 14:50 UTC by Mohammed Arafa
Modified: 2012-11-01 16:22 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-07-22 20:41:45 UTC
Embargoed:


Attachments (Terms of Use)

Description Mohammed Arafa 2012-07-22 14:50:37 UTC
Description of problem:

[root@spacewalk bin]# spacewalk-hostname-rename 192.168.1.11
Validating IP ... OK
=============================================
hostname: spacewalk.marafa.vm
ip: 192.168.1.11
=============================================
Stopping rhn-satellite services ... OK
Testing DB connection ... psql:<stdin>:1: ERROR:  syntax error at or near "off"
LINE 1: set feed off;
                 ^
FAILED
Your database isn't running.
Fix the problem and run /usr/bin/spacewalk-hostname-rename again


Version-Release number of selected component (if applicable):
1.7

How reproducible:
everytime

Steps to Reproduce:
1.see above
2.
3.
  
Actual results:
spacewalk server down

Expected results:
spacewalk accepts new hostname

Additional info:
looked at the script, line 389 only supports oracle 
searched for psql is script .. no mention of it

Comment 1 Jan Pazdziora 2012-07-22 20:41:45 UTC

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


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