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@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-list
-- Jan Dobes Satellite Engineering, Red Hat _______________________________________________ Spacewalk-list mailing list Spacewalk-list@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-list