On Tue, Feb 10, 2009 at 11:01:10AM +0100, Jan Pazdziora wrote:
> >     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?

Also -- is this with local database (thus also running under SELinux)
or some external database (so only client libraries are under SELinux)?

-- 
Jan Pazdziora
Satellite Engineering, Red Hat

_______________________________________________
Spacewalk-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/spacewalk-list

Reply via email to