[Spacewalk-list] osa-dispatcher

Mohit Vadhera mohit.vadhera at gmail.com
Wed Nov 28 09:19:34 UTC 2012


Thanks, I cannot use  DNS in my case so i put entries in /etc/hosts on the
server .and /etc/sysconfig/network . Now if i run the command hostname on
the console i get FQDN hostname.
but the command  spacewalk-hostname-rename is not installed on my machine
but then i tried to restart the service again i got again errors.I am
giving you the output of all files that i just modified. Still i find the
same error. Please make me correct if i am wrong.

host file.
[root at Infra-Yum1 distro-trees]# cat /etc/hosts
127.0.0.1   localhost localhost.localdomain localhost4
localhost4.localdomain4
::1         localhost localhost.localdomain localhost6
localhost6.localdomain6
172.20.3.32      Infra-Yum1 Infra-Yum1.nyos.com

[root at Infra-Yum1 distro-trees]# cat /etc/sysconfig/network
NETWORKING=yes
#HOSTNAME=Infra-Yum1
HOSTNAME=Infra-Yum1.nyos.com
GATEWAY=172.20.3.1

[root at Infra-Yum1 distro-trees]# /usr/sbin/spacewalk-service restart
Shutting down spacewalk services...
Stopping RHN Taskomatic...
Stopped RHN Taskomatic.
Stopping cobbler daemon:                                   [  OK  ]
Stopping rhn-search...
Stopped rhn-search.
Stopping MonitoringScout ...
[ OK ]
Stopping Monitoring ...
[ OK ]
Shutting down osa-dispatcher:                              [  OK  ]
Stopping httpd:                                            [  OK  ]
Stopping tomcat6:                                          [  OK  ]
Terminating jabberd processes ...
Stopping s2s:                                              [  OK  ]
Stopping c2s:                                              [  OK  ]
Stopping sm:                                               [  OK  ]
Stopping router:                                           [  OK  ]
Done.
Starting spacewalk services...
Initializing jabberd processes ...
Starting router:                                           [  OK  ]
Starting sm:                                               [  OK  ]
Starting c2s:                                              [  OK  ]
Starting s2s:                                              [  OK  ]
Starting tomcat6:                                          [  OK  ]
Waiting for tomcat to be ready ...
Starting httpd: httpd: Could not reliably determine the server's fully
qualified domain name, using Infra-Yum1.nyos.com for ServerName
                                                           [  OK  ]
Starting osa-dispatcher: RHN 14203 2012/11/28 04:17:06 -04:00: ('Not able
to reconnect',)
RHN 14203 2012/11/28 04:17:06 -04:00: ('Traceback (most recent call
last):\n  File "/usr/share/rhn/osad/jabber_lib.py", line 252, in
setup_connection\n    c = self._get_jabber_client(js)\n  File
"/usr/share/rhn/osad/jabber_lib.py", line 309, in _get_jabber_client\n
 c.connect()\n  File "/usr/share/rhn/osad/jabber_lib.py", line 589, in
connect\n    raise SSLDisabledError\nSSLDisabledError\n',)
                                                           [  OK  ]
Starting Monitoring ...
[ OK ]
Starting MonitoringScout ...
[ OK ]
Starting rhn-search...
Starting cobbler daemon:                                   [  OK  ]
Starting RHN Taskomatic...
Done.


Thanks,
Mohit

On Wed, Nov 28, 2012 at 2:24 PM, Paresh Mutha <pmutha at redhat.com> wrote:

> spacewalk-hostname-rename
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20121128/dd3c2f3c/attachment.htm>


More information about the Spacewalk-list mailing list