I'm trying to get my Spacewalk instance to work with Oracle standard edition. 
The install went off without a hitch and populating the channels with 
spacewalk-repo-sync worked properly.  I created the kickstart distributions and 
the profiles for the CentOS channels.  Cobbler looks like it picked up the 
configurations properly:
[r...@spacewalk ~]# cobbler list
distro CentOS_4_i386:2:CentOS
   profile CentOS_4_i386_Std:2:CentOS
distro CentOS_4_i386:xen:2:CentOS
distro CentOS_4_x86_64:2:CentOS
   profile CentOS_4_x86_64_Std:2:CentOS
distro CentOS_4_x86_64:xen:2:CentOS
distro CentOS_5_i386:2:CentOS
   profile CentOS_5_i386_Std:2:CentOS
distro CentOS_5_i386:xen:2:CentOS
distro CentOS_5_x86_64:2:CentOS
   profile CentOS_5_x86_64_Std:2:CentOS
distro CentOS_5_x86_64:xen:2:CentOS

When trying to kickstart any of the profiles I'm getting an error within 
anaconda that it can't retrieve the URL.  Trying to retrieve the file from the 
spacewalk server itself returns a no data retrieved error:
[r...@spacewalk ~]# wget 
"http://spacewalk/cblr/svc/op/ks/profile/CentOS_5_i386_Std:2:CentOS";
--22:36:16--  http://spacewalk/cblr/svc/op/ks/profile/CentOS_5_i386_Std:2:CentOS
Resolving spacewalk... 10.100.0.61
Connecting to spacewalk|10.100.0.61|:80... connected.
HTTP request sent, awaiting response... No data received.
Retrying.

--22:36:17--  (try: 2)  
http://spacewalk/cblr/svc/op/ks/profile/CentOS_5_i386_Std:2:CentOS
Connecting to spacewalk|10.100.0.61|:80... connected.
HTTP request sent, awaiting response... No data received.
Retrying.

It looks like the cobbler python environment is logging the following errors to 
the Apache logs:
[r...@spacewalk ~]# tail -5 /var/log/httpd/error_log
[Sun Oct 18 22:37:28 2009] [notice] child pid 3229 exit signal Aborted (6)
httpd: Objects/stringobject.c:117: PyString_FromString: Assertion `str != 
((void *)0)' failed.
[Sun Oct 18 22:37:34 2009] [notice] child pid 3865 exit signal Aborted (6)
httpd: Objects/stringobject.c:117: PyString_FromString: Assertion `str != 
((void *)0)' failed.
[Sun Oct 18 22:37:39 2009] [notice] child pid 3231 exit signal Aborted (6)

I'm starting to think this is a wider issue with python scripts not being able 
to connect because of the following entries:
[r...@spacewalk ~]# tail -2 /var/log/rhn/osa-dispatcher.log
2009/10/18 22:38:44 -04:00 3172 0.0.0.0: osad/jabber_lib.main('ERROR', 'Error 
caught:')
2009/10/18 22:38:44 -04:00 3172 0.0.0.0: osad/jabber_lib.main('ERROR', 
'Traceback (most recent call last):\n  File 
"/usr/share/rhn/osad/jabber_lib.py", line 119, in main\n    
self.setup_config(config)\n  File "/usr/share/rhn/osad/osa_dispatcher.py", line 
81, in setup_config\n    rhnSQL.initDB()\n  File 
"/usr/share/rhn/server/rhnSQL/__init__.py", line 98, in initDB\n    
__init__DB(backend, host, port, username, password, database)\n  File 
"/usr/share/rhn/server/rhnSQL/__init__.py", line 59, in __init__DB\n    
__DB.check_connection()\n  File 
"/usr/share/rhn/server/rhnSQL/driver_cx_Oracle.py", line 490, in 
check_connection\n    self.connect() # only allow one try\n  File 
"/usr/share/rhn/server/rhnSQL/driver_cx_Oracle.py", line 370, in connect\n    
self.dbh = self._connect()\n  File 
"/usr/share/rhn/server/rhnSQL/driver_cx_Oracle.py", line 396, in _connect\n    
dbh = cx_Oracle.Connection(self.dsn)\nInterfaceError: Unable to acquire Oracle 
environment
 handle\n')

Does anyone have any ideas as to what the potential issue could be? Any help 
would be greatly appreciated.

Regards,
Matt


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

Reply via email to