Hi Paresh, Thanks for fast reply.
Couple of things that solved are: 1) i was not able to delete duplicate machines i was getting internal server error on the browser while deleting 2) I was not able to create the kickstart distribution and was getting the same error. Now it is solved. I changed the hostname in small letters [root@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@Infra-Yum1 distro-trees]# cat /etc/sysconfig/network NETWORKING=yes #HOSTNAME=Infra-Yum1 HOSTNAME=infra-yum1.nyos.com GATEWAY=172.20.3.1 warning while restarting the service spacewalk is still there [root@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 15766 2012/11/28 05:02:15 -04:00: ('Not able to reconnect',) RHN 15766 2012/11/28 05:02:15 -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 Do I need to give Ipaddress with the suggested command to rename the hostname [root@Infra-Yum1 distro-trees]# spacewalk-hostname-rename Missing <ip_address> argument. Usage: spacewalk-hostname-rename <IP_ADDRESS> [ --ssl-country=<SSL_COUNTRY> --ssl-state=<SSL_STATE> --ssl-org=<SSL_ORG> --ssl-orgunit=<SSL_ORGUNIT> --ssl-email=<SSL_EMAIL> --ssl-ca-password=<SSL_CA_PASSWORD>] spacewalk-hostname-rename { -h | --help } Thanks, Mohit On Wed, Nov 28, 2012 at 3:20 PM, Paresh Mutha <pmu...@redhat.com> wrote: > Which things are working and which warnings are still present ? > > As I see you are using the hostname - "Infra-Yum1.nyos.com". You should > have it in lower case. A hostname that includes uppercase letters can cause > jabberd to fail. > > You should : > - update hostname to use only lower case > - install spacewalk-utils package which contains spacewalk-hostname-rename > - use spacewalk-hostname to rename spacewalk. > > Check if this helps. > > Paresh > > > > On 11/28/2012 03:10 PM, Mohit Vadhera wrote: > >> After this couples of things are started working as they were >> expected.but this warning is still there. >> >> >> Thanks, >> Mohit >> >> >> On Wed, Nov 28, 2012 at 2:49 PM, Mohit Vadhera <mohit.vadh...@gmail.com >> <mailto:mohit.vadhera@gmail.**com <mohit.vadh...@gmail.com>>> wrote: >> >> 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@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 >> <http://Infra-Yum1.nyos.com> >> >> >> [root@Infra-Yum1 distro-trees]# cat /etc/sysconfig/network >> NETWORKING=yes >> #HOSTNAME=Infra-Yum1 >> HOSTNAME=Infra-Yum1.nyos.com <http://Infra-Yum1.nyos.com> >> >> GATEWAY=172.20.3.1 >> >> [root@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 >> <http://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 <pmu...@redhat.com >> <mailto:pmu...@redhat.com>> wrote: >> >> spacewalk-hostname-rename >> >> >> >> >> >> >> ______________________________**_________________ >> Spacewalk-list mailing list >> Spacewalk-list@redhat.com >> https://www.redhat.com/**mailman/listinfo/spacewalk-**list<https://www.redhat.com/mailman/listinfo/spacewalk-list> >> >> > ______________________________**_________________ > Spacewalk-list mailing list > Spacewalk-list@redhat.com > https://www.redhat.com/**mailman/listinfo/spacewalk-**list<https://www.redhat.com/mailman/listinfo/spacewalk-list> >
_______________________________________________ Spacewalk-list mailing list Spacewalk-list@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-list