[Spacewalk-list] Error delete a systems - cobbler problem??

Milan Zazrivec mzazrivec at redhat.com
Wed Feb 29 10:31:45 UTC 2012


> 2012/2/29 Milan Zazrivec <mzazrivec at redhat.com>:
> >> 2012/2/29 Milan Zazrivec <mzazrivec at redhat.com>:
> >> >> Hi,
> >> >> I need to delete a server from the inventory, but when I click
> >> >> 'delete profile' in the second step I receive:
> >> >> 
> >> >> "    System profile 1000010000 could not be deleted. Check cobbler
> >> >> service. "
> >> >> 
> >> >> I don't have any log about it, what I havo to do?
> >> > 
> >> > The error you see means that tomcat, when deleting the system profile,
> >> > was not able to delete the system profile from cobbler.
> >> > 
> >> > I'd recommend to check whether cobbler is running, if so, check for
> >> > errors in /var/log/cobbler/cobbler.log
> >> > 
> >> > -MZ
> >> > 
> >> > _______________________________________________
> >> > Spacewalk-list mailing list
> >> > Spacewalk-list at redhat.com
> >> > https://www.redhat.com/mailman/listinfo/spacewalk-list
> >> 
> >> Obout this I have several problems.
> >> 
> >> If I'll go to 'Ammin -> Spacewalk Configuration -> Cobbler -> Update"
> >> I receive an error like:
> >> 
> >> -----
> >> Errore del server interno
> >> Il server ha incontrato un problema il quale impedisce alla vostra
> >> richiesta di essere completata. Al momento è impossibile eseguire tale
> >> azione.
> >> Please help us correct this problem by contacting us with details of
> >> how you received this message.
> >> ------ TRANSLATION
> >> Internal server error
> >> The server has encountered a problem which prevents your request to be
> >> completed. At the moment it is impossible to perform this action.
> >> -------
> >> 
> >> If I'll go to /var/log/cobbler/cobbler.log
> >> ther's nothing wrong
> >> 
> >> [root at spacewalk cobbler]# /etc/init.d/cobblerd status
> >> cobblerd (pid 12136) in esecuzione...
> >> 
> >> [root at spacewalk cobbler]# /etc/init.d/cobblerd restart
> >> Interruzione del demone cobbler:                           [  OK  ]
> >> Avvio del demone cobbler:                                  [  OK  ]
> >> 
> >> [root at spacewalk cobbler]# tail cobbler.log
> >> Tue Feb 28 10:44:04 2012 - DEBUG | XMLRPC running on 25151
> >> Tue Feb 28 10:46:41 2012 - DEBUG | API handle initialized
> >> Tue Feb 28 10:46:41 2012 - DEBUG | XMLRPC running on 25151
> >> Wed Feb 29 10:10:08 2012 - DEBUG | API handle initialized
> >> Wed Feb 29 10:10:08 2012 - DEBUG | XMLRPC running on 25151
> >> 
> >> 
> >> If I'll go in "Task Engine Status" I found
> >> Cobbler Sync:         2012-02-28 04:46:56 EST         FAILED
> >> Kickstart Sync:       2012-02-28 04:50:00 EST         FAILED
> >> 
> >> All the other is working fine
> >> 
> >> What does it means?
> > 
> > Is cobbler really running (as in is it present in ps output)? If so,
> > what network ports does it listen on? (lsof -p ... -Pn|grep TCP)
> > 
> > When you execute from your webui:
> > 'Ammin -> Spacewalk Configuration -> Cobbler -> Update'
> > what do you see in /var/log/tomcat/catalina.out and
> > /var/log/cobbler/cobble.log?
> > 
> > -MZ
> > 
> > _______________________________________________
> > Spacewalk-list mailing list
> > Spacewalk-list at redhat.com
> > https://www.redhat.com/mailman/listinfo/spacewalk-list
> 
> Cobbler update, log from tomcat:

>From the tomcat traceback, following two parts are interesting:

> Caused by: redstone.xmlrpc.XmlRpcException: A network error occurred.
>         at redstone.xmlrpc.XmlRpcClient.endCall(XmlRpcClient.java:380)
>         at redstone.xmlrpc.XmlRpcClient.invoke(XmlRpcClient.java:165)
>         at

and

> com.redhat.rhn.manager.kickstart.cobbler.CobblerXMLRPCHelper.invokeMethod(
> CobblerXMLRPCHelper.java:69) ... 47 more
> Caused by: java.net.UnknownHostException: repository
>         at
> java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:175)
> at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:384) at
> java.net.Socket.connect(Socket.java:546)
>         at java.net.Socket.connect(Socket.java:495)
>         at sun.net.NetworkClient.doConnect(NetworkClient.java:178)
>         at sun.net.www.http.HttpClient.openServer(HttpClient.java:409)
>         at sun.net.www.http.HttpClient.openServer(HttpClient.java:530)
>         at sun.net.www.http.HttpClient.<init>(HttpClient.java:240)
>         at sun.net.www.http.HttpClient.New(HttpClient.java:321)
>         at sun.net.www.http.HttpClient.New(HttpClient.java:338)
>         at

What does the cobbler.host directive in your /etc/rhn/rhn.conf say? Is it
a valid hostname of your Spacewalk server?

-MZ




More information about the Spacewalk-list mailing list