[rhn-users] RHN TRACEBACK errors from a RHN proxy

Todd Warner taw at redhat.com
Tue Feb 24 01:36:02 UTC 2004


I replied off list. Looks like you have a borked install. Very odd.

On Mon, 23 Feb 2004, Rich Graves wrote:

> I'm getting these pretty regularly from our newly installed RHN Proxy. In
> one case RHN has failed to identify an out-of-date package and in two cases
> has failed to download.
> 
> I guess I will tell people to waste RedHat's bandwidth instead of using our
> proxy for now.
> 
> Are other people seeing these?
> 
> ---------- Forwarded message ----------
> Date: Mon, 23 Feb 2004 15:59:37 -0500
> From: ***
> To: ***
> Subject: RHN TRACEBACK from ***
> 
> Exception reported from ***
> Time: Mon Feb 23 15:59:37 2004
> Exception type exceptions.ImportError
> Exception while handling function handler
> Request object information:
> Remote Host: ***
> Server Name: ***
> Headers passed in:
> 	Accept-Encoding: identity
> 	Content-Length: 2169
> 	Content-Type: text/xml
> 	Host: ***
> 	User-Agent: rhn.rpclib.py/$Revision: 1.33 $
> 	X-Client-Version: 1
> 	X-Info: RPC Processor (C) Red Hat, Inc (version 1.41)
> 	X-RHN-Client-Capability: caneatCheese(1)=1,packages.runTransaction(1)=1,packages.rollBack(1)=1,reboot.reboot(1)=1
> 	X-RHN-Transport-Capability: follow-redirects=1
> 	X-Transport-Info: Extended Capabilities Transport (C) Red Hat, Inc (version 1.33)
> 	X-Up2date-Version: 4.2.5
> 
> Exception Handler Information
> Traceback (innermost last):
>   File "/var/www/rhns/proxy/apacheServer.py", line 47, in __call__
>     ret = f(req)
>   File "/var/www/rhns/proxy/apacheHandler.py", line 43, in handler
>     from broker import rhnBroker
> ImportError: cannot import name rhnBroker
> 
> Local variables by frame
> Frame handler in /var/www/rhns/proxy/apacheHandler.py at line 43
> 	          req_config = <type 'mp_table'> {'RHNComponentType': 'proxy.broker', 'RootDir': '/var/www/rhns'}
> 	                 req = <type 'instance'> <mod_python.apache.Request instance at 835b920>
> 	                self = <type 'instance'> <proxy.apacheHandler.apacheHandler instance at 8356510>
> 	           proxyType = <type 'string'> proxy.broker
> 
> Frame __call__ in /var/www/rhns/proxy/apacheServer.py at line 51
> 	                   f = <type 'instance method'> <method apacheHandler.handler of apacheHandler instance at 8356510>
> 	                self = <type 'instance'> <proxy.apacheServer.HandlerWrap instance at 834e9b8>
> 	                 req = <type 'instance'> <mod_python.apache.Request instance at 835b920>
> 
> Frame Dispatch in /usr/lib/python1.5/site-packages/mod_python/apache.py at line 185
> 	          pathstring = <type 'string'> sys.path+['/var/www/rhns']
> 	         module_name = <type 'string'> proxy.apacheServer
> 	               debug = <type 'int'> 0
> 	          object_str = <type 'string'> Handler
> 	              result = <type 'int'> 500
> 	             handler = <type 'string'> proxy.apacheServer::Handler
> 	                 req = <type 'instance'> <mod_python.apache.Request instance at 835b920>
> 	              config = <type 'mp_table'> {'PythonHeaderParserHandler': 'proxy.apacheServer::HeaderParserHandler', 'PythonHandler': 'proxy.apacheServer::Handler', 'PythonCleanupHandler': 'proxy.apacheServer::CleanupHandler', 'PythonPath': 'sys.path+['/var/www/rhns']'}
> 	              module = <type 'module'> <module 'proxy.apacheServer' from '/var/www/rhns/proxy/apacheServer.py'>
> 	                   l = <type 'list'> ['proxy.apacheServer', 'Handler']
> 	              object = <type 'instance'> <proxy.apacheServer.HandlerWrap instance at 834e9b8>
> 	                self = <type 'instance'> <mod_python.apache.CallBack instance at 82c9ea8>
> 	               htype = <type 'string'> PythonHandler
> 	              hstack = <type 'instance'> <mod_python.apache.HStack instance at 839bf60>
> 	              silent = <type 'int'> 0
> 	                _req = <type 'mp_request'> <mp_request object at 839dfc0>
> 	                dirs = <type 'mp_table'> {'PythonHeaderParserHandler': '/XMLRPC/', 'PythonHandler': '/XMLRPC/', 'PythonCleanupHandler': '/XMLRPC/', 'PythonPath': ''}
> 
> 
> Environment for PID=27239 on exception:
> HOME = /
> HOSTNAME = ***
> HOSTTYPE = i386
> LANG = en_US
> LOGNAME = root
> MACHTYPE = i386-redhat-linux-gnu
> MAILTO = root
> OSTYPE = linux-gnu
> PATH = /sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin
> PWD = /
> SHELL = /bin/bash
> SHLVL = 7
> TERM = dumb
> _ = /sbin/initlog
> 
> 
> _______________________________________________
> rhn-users mailing list
> rhn-users at redhat.com
> https://www.redhat.com/mailman/listinfo/rhn-users
> 

-- 
____________
 /odd Warner                                    <taw@{redhat,pobox}.com>
          Bit Twiddler - Operation Cheetah Flip - Red Hat Inc.
---------------------gpg info in the message headers--------------------
"If you're tired, keep going. If you are scared, keep going.
 If you want to taste freedom, keep going." -Harriet Tubman





More information about the rhn-users mailing list