[Spacewalk-list] selinux blocking

Jan Pazdziora jpazdziora at redhat.com
Tue Feb 10 10:01:10 UTC 2009


On Tue, Feb 10, 2009 at 10:28:56AM +0100, Jan-Frode Myklebust wrote:
> 
> But quickly I then get into other problems:
> 
> Exception reported from repo1.example.net
> Time: Tue Feb 10 10:23:40 2009
> Exception type exceptions.RuntimeError
> Exception while handling function headerParserHandler
> Request object information:
> URI: /XMLRPC
> Remote Host: 192.168.42.25
> Server Name: kickstart.example.net:443
> Headers passed in:
>         Accept-Encoding: identity
>         Content-Length: 2184
>         Host: spacewalk.example.net:443
>         content-type: text/xml
>         user-agent: rhn.rpclib.py/$Revision: 102540 $
>         x-client-version: 1
>         x-info: RPC Processor (C) Red Hat, Inc (version 102540)
>         x-rhn-client-capability: packages.verifyAll(1)=1,caneatCheese(1)=1,packages.extended_profile(1)=1,reboot.reboot(1)=1,packages.verify(1)=1,packages.runTransaction(1)=1,packages.update(2)=2,packages.rollBack(1)=1
>         x-rhn-transport-capability: follow-redirects=2
>         x-transport-info: Extended Capabilities Transport (C) Red Hat, Inc (version 102540)
>         x-up2date-version: 0.4.19-17.el5
> Extra information about this error:
> Unhandled exception type
> 
> Exception Handler Information
> Traceback (most recent call last):
>   File "/usr/share/rhn/server/apacheServer.py", line 58, in __call__
>     ret = f(req)
>   File "/usr/share/rhn/server/apacheHandler.py", line 72, in headerParserHandler
>     rhnSQL.initDB()
>   File "/usr/share/rhn/server/rhnSQL/__init__.py", line 99, in initDB
>     __init__DB(backend, host, port, username, password, database)
>   File "/usr/share/rhn/server/rhnSQL/__init__.py", line 52, in __init__DB
>     __DB.connect()
>   File "/usr/share/rhn/server/rhnSQL/driver_cx_Oracle.py", line 316, in connect
>     self.dbh = self._connect()
>   File "/usr/share/rhn/server/rhnSQL/driver_cx_Oracle.py", line 342, in _connect
>     dbh = cx_Oracle.Connection(self.dsn)
> RuntimeError: Unable to acquire Oracle environment handle
> 
> RHN 31552 2009/02/10 10:23:49 +02:00: ("DATABASE CONNECTION TO 'example' LOST", "Exception information: 'NoneType' object has no attribute 'cursor'")
> 
> .. so I went into permissive again.

And that fixes the issue? What is in audit.log?

-- 
Jan Pazdziora
Satellite Engineering, Red Hat




More information about the Spacewalk-list mailing list