[Spacewalk-list] rhn_check errors

Jan Hutař jhutar at redhat.com
Fri Aug 23 09:26:05 UTC 2013


On Thu, 22 Aug 2013 17:40:49 -0400 Justin Edmands
<shockwavecs at gmail.com> wrote:

> *System 1 - zlib.error
> *
> [root at S0169 ~]# rhn_check
> An error has occurred:
> <class 'zlib.error'>
> See /var/log/up2date for more information
> 
> 
> [Thu Aug 22 17:15:43 2013] up2date
> Traceback (most recent call last):
>   File "/usr/sbin/rhn_check", line 387, in <module>
>     cli.run()
>   File "/usr/share/rhn/up2date_client/rhncli.py", line 96, in
> run sys.exit(self.main() or 0)
>   File "/usr/sbin/rhn_check", line 90, in main
>     if s.capabilities.hasCapability('staging_content', 1) and
> cfg['stagingConten          t'] != 0:
>   File "/usr/share/rhn/up2date_client/rhnserver.py", line 174,
> in __get_capabili          ties
>     self.registration.welcome_message()
>   File "/usr/share/rhn/up2date_client/rhnserver.py", line 63,
> in __call__ return rpcServer.doCall(method, *args, **kwargs)
>   File "/usr/share/rhn/up2date_client/rpcServer.py", line 203,
> in doCall ret = method(*args, **kwargs)
>   File "/usr/lib64/python2.7/xmlrpclib.py", line 1224, in
> __call__ return self.__send(self.__name, args)
>   File "/usr/share/rhn/up2date_client/rpcServer.py", line 38,
> in _request1 ret = self._request(methodname, params)
>   File "/usr/lib/python2.7/site-packages/rhn/rpclib.py", line
> 381, in _request
>     self._handler, request, verbose=self._verbose)
>   File "/usr/lib/python2.7/site-packages/rhn/transports.py",
> line 184, in reques          t
>     return self._process_response(fd, connection)
>   File "/usr/lib/python2.7/site-packages/rhn/transports.py",
> line 191, in _proce          ss_response
>     fd = resp.decode(fd)
>   File "/usr/lib/python2.7/site-packages/rhn/transports.py",
> line 437, in decode
>     data = obj.decompress(self.io.read()) + obj.flush()
> <class 'zlib.error'>: Error -3 while decompressing: incorrect
> header check
> 
> 
> 
> 
> *
> System 2 - xml parse errors*
> [root at S0174 ~]# rhn-profile-sync
> An error has occurred:
> <class 'xml.parsers.expat.ExpatError'>
> See /var/log/up2date for more information
> [root at S0174 ~]# rhn_check
> An error has occurred:
> <class 'xml.parsers.expat.ExpatError'>
> See /var/log/up2date for more information
> 
> /var/log/up2date:
> [Thu Aug 22 17:08:13 2013] up2date
> Traceback (most recent call last):
>   File "/usr/sbin/rhn_check", line 387, in <module>
>     cli.run()
>   File "/usr/share/rhn/up2date_client/rhncli.py", line 96, in
> run sys.exit(self.main() or 0)
>   File "/usr/sbin/rhn_check", line 86, in main
>     self.__run_remote_actions()
>   File "/usr/sbin/rhn_check", line 180, in __run_remote_actions
>     action = self.__get_action(status_report)
>   File "/usr/sbin/rhn_check", line 98, in __get_action
>     ACTION_VERSION, status_report)
>   File "/usr/lib64/python2.7/xmlrpclib.py", line 1224, in
> __call__ return self.__send(self.__name, args)
>   File "/usr/share/rhn/up2date_client/rpcServer.py", line 38,
> in _request1 ret = self._request(methodname, params)
>   File "/usr/lib/python2.7/site-packages/rhn/rpclib.py", line
> 381, in _request
>     self._handler, request, verbose=self._verbose)
>   File "/usr/lib/python2.7/site-packages/rhn/transports.py",
> line 184, in reques                        t
>     return self._process_response(fd, connection)
>   File "/usr/lib/python2.7/site-packages/rhn/transports.py",
> line 212, in _proce                        ss_response
>     return self.parse_response(fd)
>   File "/usr/lib/python2.7/site-packages/rhn/transports.py",
> line 232, in parse_                        response
>     p.feed(response)
>   File "/usr/lib64/python2.7/xmlrpclib.py", line 557, in feed
>     self._parser.Parse(data, 0)
> <class 'xml.parsers.expat.ExpatError'>: mismatched tag: line
> 135, column 4
> 
> 
> 
> Any ideas?
> 
> /var/log/up2date does not provide anything useful.

Hello.

What are the rhn-client-tools and rhnlib packages versions on
the client?

What is the Spacewalk version? Do you see something useful
in /var/log/httpd/erro_log?

Regards,
Jan



-- 
Jan Hutar     Systems Management QA
jhutar at redhat.com     Red Hat, Inc.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20130823/4ee49060/attachment.sig>


More information about the Spacewalk-list mailing list