[Spacewalk-list] Trouble installing spacewalk on x86_64 centos 5

Drew drew at sundawg.org
Fri Jul 18 01:50:50 UTC 2008


After successfully installing and configuring Oracle XE server and 
client, I execute "spacewalk-setup --disconnected" and receive the 
following:

[root at owl ~]# spacewalk-setup --disconnected
* Loading answer file: /usr/share/spacewalk/setup/defaults.conf.
* Setting up environment and users.
** GPG: Initializing GPG and importing RHN key.
* Setting up database.
** Database: Setting up database connection.
DB User? spacewalk
DB Password?
DB SID? xe
DB hostname? localhost
DB port [1521]?
DB protocol [TCP]?
Could not connect to the database.  Your connection information may be 
incorrect.  Error: install_driver(Oracle) failed: Can't load 
'/usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/auto/DBD/Oracle/Oracle.so' 
for module DBD::Oracle: libclntsh.so.10.1: wrong ELF class: ELFCLASS32 
at /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/DynaLoader.pm line 
230, <STDIN> line 6.
  at (eval 784) line 3
Compilation failed in require at (eval 784) line 3, <STDIN> line 6.
Perhaps a required shared library or dll isn't installed where expected
  at /usr/bin/spacewalk-setup line 1504

Appears some sort of mismatch between a 64-bit DBD::Oracle module and a 
32-bit libclntlsh.so.10.1.

So I removed the oracle-instantclient*i386.rpm and installed 
oracle-instantclient*x86_64.rpm. That gives the following error:

[root at owl ~]# spacewalk-setup --disconnected
* Loading answer file: /usr/share/spacewalk/setup/defaults.conf.
* Setting up environment and users.
** GPG: Initializing GPG and importing RHN key.
* Setting up database.
** Database: Setting up database connection.
DB User? spacewalk
DB Password?
DB SID? xe
DB hostname? localhost
DB port [1521]?
DB protocol [TCP]?
Could not connect to the database.  Your connection information may be 
incorrect.  Error: install_driver(Oracle) failed: Can't load 
'/usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/auto/DBD/Oracle/Oracle.so' 
for module DBD::Oracle: 
/usr/lib/oracle/10.2.0.4/client64/lib/libnnz10.so: cannot restore 
segment prot after reloc: Permission denied at 
/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/DynaLoader.pm line 230, 
<STDIN> line 6.
  at (eval 784) line 3
Compilation failed in require at (eval 784) line 3, <STDIN> line 6.
Perhaps a required shared library or dll isn't installed where expected
  at /usr/bin/spacewalk-setup line 1504

Different error, but still related to DBD::Oracle. Any suggestions?

Thanks




More information about the Spacewalk-list mailing list