[Spacewalk-list] Spacewalk host rename fails
Jan Dobes
jdobes at redhat.com
Mon Jun 6 06:40:30 UTC 2016
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
More information about the Spacewalk-list
mailing list