[Spacewalk-list] spacewalk-hostname-rename failed

Wilkinson, Matthew MatthewWilkinson at alliantenergy.com
Tue Jul 17 20:55:21 UTC 2018


which DB are you using postgres or oracle? If you used the spacewalk-service command to stop with the bundled DB, it will stop postgres and you'll have to start it up before you run the command.

--Matthew Wilkinson

From: spacewalk-list-bounces at redhat.com [mailto:spacewalk-list-bounces at redhat.com] On Behalf Of Yakin, Francis
Sent: Tuesday, July 17, 2018 15:39
To: spacewalk-list at redhat.com
Subject: [Spacewalk-list] spacewalk-hostname-rename failed

[This is an external email. Be cautious with links, attachments and responses.]
________________________________

Hi All,

I encountered this issue when I try to run "spacewalk-hostname-rename" script


[root at ala-spacewalk-prod init.d]# /bin/spacewalk-hostname-rename 147.11.147.159
Validating IP ... OK
=============================================
hostname: ala-spacewalk-prod.wrs.com
ip: 147.11.147.159
=============================================
Stopping spacewalk services ... OK
Testing DB connection ... FAILED
Your database isn't running.
Fix the problem and run /bin/spacewalk-hostname-rename again

Francis Yakin | IT System Admin |  direct: 510-749-2027
500 Wind River Way, Alameda, CA  94501
[cid:image001.png at 01D12D0C.E17713F0]<https://urldefense.proofpoint.com/v2/url?u=http-3A__www.windriver.com_&d=DwMFAg&c=GUDVeAVg1gjs_GJkmwL1m3gEzDND7NeJG5BIAX_2yRE&r=zxSMv3Yyn0u8GiLjBm805qsHQ-PQnlWklaJFaNwJsRdou0Rx32Ld6bt57-Tq1kdA&m=5gxv-oyYguavxooD6KV1W941gpXl9o3gebqrkNukZrw&s=vJ6SRJMhwHwyi1fM62NUzpQqpcyeyLzJbAF0xYoCFsk&e=>
AN INTEL COMPANY

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20180717/e8bdd872/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 1294 bytes
Desc: image001.jpg
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20180717/e8bdd872/attachment.jpg>


More information about the Spacewalk-list mailing list