[Spacewalk-list] error with apache after initial setup

Brian Ventura brian at opusinteractive.com
Mon Aug 31 14:39:21 UTC 2009


No, I have an all i386 machine.  I had to link all the libraries from
$ORACLE_HOME/lib to /usr/lib, then I had to turn off selinux (I got a
permission denied after linking the libraries).  Still unclear why my
/etc/ld.so.conf.d/oracle*.conf files did not help perl/apache to find the
libraries.

Thanks.


On 8/31/09 12:35 AM, "Michael Mraka" <michael.mraka at redhat.com> wrote:

> Brian Ventura wrote:
> ...
> % Not sure why the services are dying, but it seems to start with apache.  I
> do have the following in ld.so.conf.d/oracle-lib-compat.conf:
> % 
> % /usr/lib/oracle/10.2.0.4/client/lib
> % /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/lib
> % 
> % Here is what I get in the /var/log/httpd/error.log
> % 
> % [Fri Aug 28 16:06:04 2009] [error] Can't load
> '/usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/auto/DBD/Oracle/Orac
> le.so' for module DBD::Oracle: libocci.so.10.1: cannot open shared object
> file: No such file or directory at
> /usr/lib/perl5/5.8.8/i386-linux-thread-multi/DynaLoader.pm line 230.\n at
> /usr/lib/perl5/vendor_perl/5.8.8/RHN/DB.pm line 540\nCompilation failed in
> require at /usr/lib/perl5/vendor_perl/5.8.8/RHN/DB.pm line 540.\nBEGIN
> failed--compilation aborted at /usr/lib/perl5/vendor_perl/5.8.8/RHN/DB.pm line
> 540.\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 Aug 28 16:06:04 2009] [error] Can't load Perl file:
> /etc/rhn/satellite-httpd/conf/startup.pl for server 127.0.0.1:0, exiting...
> % 
> % What can I do to get PERL/Apache to find the libraries?
> 
> I guess you've installed x86_64 spacewalk but i386 oracle-instantclient-*
> packages.
> 
> Regards,
> 
> --
> Michael Mráka
> Satellite Engineering, Red Hat
> 
> _______________________________________________
> Spacewalk-list mailing list
> Spacewalk-list at redhat.com
> https://www.redhat.com/mailman/listinfo/spacewalk-list
> 
> No virus found in this incoming message.
> Checked by AVG - www.avg.com
> Version: 8.5.409 / Virus Database: 270.13.70/2329 - Release Date: 08/30/09
> 17:51:00





More information about the Spacewalk-list mailing list