[Spacewalk-list] Wrong ELF Class error when running spacewalk-setup --disconnected

Camron W. Fox cwfox at us.fujitsu.com
Wed Jul 9 22:04:14 UTC 2008


Mike McCune wrote:
> Camron W. Fox wrote:
>> Alle,
>>
>>     Running on RHEL5.2, x86_64, kernel 2.6.18-92.1.6.el5, installation 
>> goes per the instructions (we had to remove specspo *and* php, 
>> php-devel) until we get to:
>>
>> [root at rb10 ld.so.conf.d]# 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
>>
>>     Has anyone seen this? We double checked that all packages were 
>> coming either from spacewalk or epel when we did the installation. Any 
>> help would be appreciated.
> 
> What version of the instantclient did you install?  You need the x86_64 
> bit one if you are on x86_64.   I updated this wiki doc yesterday to 
> reflect that :
> 
> https://fedorahosted.org/spacewalk/wiki/OracleXeSetup
> 
> 
> Mike

Mike,

	OK, that was stupid (and obvious). Should I back out everything and 
start again or can I just remove/replace instantclient packages?

Best Regards,
Camron


Camron W. Fox
Hilo Office
High Performance Computing Group
Fujitsu America, INC.
E-mail:		cwfox at us.fujitsu.com




More information about the Spacewalk-list mailing list