Satellite sync fails with "rhnException: ('Could not initialize Oracle database connection', 'exceptions.ImportError', 'libclntsh.so.10.1: cannot open shared object file: No such file or directory')"
Issue
- satellite-sync fails and receiving tracebacks from Satellite:
Exception Handler Information
Traceback (most recent call last):
.
.
rhnException: ('Could not initialize Oracle database connection', 'exceptions.ImportError', 'libclntsh.so.10.1: cannot open shared object file: No such file or directory')
httpd doesn't start:
# /etc/init.d/httpd start
Starting httpd: [FAILED]
In the logs:
[Fri Oct 25 14:26:07 2013] [error] Can't load '/usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi/auto/DBD/Oracle/Oracle.so' for module DBD::Oracle: libocci.so.10.1: cannot open shared object file: No such file or directory at /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/DynaLoader.pm line 230.\n at /usr/lib/perl5/vendor_perl/5.8.8/RHN/DB.pm line 515\nCompilation failed in require at /usr/lib/perl5/vendor_perl/5.8.8/RHN/DB.pm line 515.\nBEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/5.8.8/RHN/DB.pm line 515.\nCompilation failed in require at /etc/rhn/satellite-httpd/conf/startup.pl line 5.\nBEGIN failed--compilation aborted at /etc/rhn/satellite-httpd/conf/startup.pl line 5.\nCompilation failed in require at (eval 2) line 1.\n
[Fri Oct 25 14:26:07 2013] [error] Can't load Perl file: /etc/rhn/satellite-httpd/conf/startup.pl for server satellite.example.com:0, exiting...
Environment
- Red Hat Network Satellite
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
