[Spacewalk-list] Spacewalk host rename fails

Konstantin Raskoshnyi konrasko at gmail.com
Mon Jun 6 16:27:22 UTC 2016


I've already fixed it on my server too. Thanks.

On Sun, Jun 5, 2016 at 11:40 PM, Jan Dobes <jdobes at redhat.com> wrote:

> I fixed it recently.
>
>
> https://github.com/spacewalkproject/spacewalk/commit/8c864bff7564205c1fae2f5e71a59c694ce2ab8c
>
>
> On 3.6.2016 07:42 Konstantin Raskoshnyi wrote:
>
>> SP 2.4, previous worker renamed host manually, so right now jabber & pub
>> for different host....
>>
>> Trying to rename...getting this error
>>
>> Stopping rhn-satellite services ... Shutting down spacewalk services...
>> Stopping RHN Taskomatic...
>> RHN Taskomatic was not running.
>> Stopping cobblerd (via systemctl):  [  OK  ]
>> Redirecting to /bin/systemctl stop  rhn-search.service
>> Redirecting to /bin/systemctl stop  osa-dispatcher.service
>> Redirecting to /bin/systemctl stop  httpd.service
>> Redirecting to /bin/systemctl stop  tomcat.service
>> Redirecting to /bin/systemctl stop  jabberd.service
>> Redirecting to /bin/systemctl stop  postgresql.service
>> Done.
>> OK
>> Testing DB connection ... FAILED
>> Your database isn't running.
>> Fix the problem and run /bin/spacewalk-hostname-rename again
>>
>>
>> It's strange, SP script stops DB and then tries to connect to it
>>
>>
>> _______________________________________________
>> Spacewalk-list mailing list
>> Spacewalk-list at redhat.com
>> https://www.redhat.com/mailman/listinfo/spacewalk-list
>>
>
>
> --
> Jan Dobes
> Satellite Engineering, Red Hat
>
> _______________________________________________
> Spacewalk-list mailing list
> Spacewalk-list at redhat.com
> https://www.redhat.com/mailman/listinfo/spacewalk-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20160606/06e8da0e/attachment.htm>


More information about the Spacewalk-list mailing list