[Spacewalk-list] Some more 64 bit problems: perl library wrong elf class
Gerhardus.Geldenhuis at gta-travel.com
Gerhardus.Geldenhuis at gta-travel.com
Tue Sep 30 16:54:30 UTC 2008
Hi
I get the following errors when running:
spacewalk-setup --disconnected
* Loading answer file: /usr/share/spacewalk/setup/defaults.conf.
* Setting up environment and users.
** GPG: Initializing GPG and importing key.
** GPG: Creating /root/.gnupg directory
* 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_dri
ver(Oracle) failed: Can't load
'/usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/auto/DBD/O
racle/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 1492
DB User?
I have not gone past this point before but as far as I am concerned I
have not done anything different. I now have the right java version
installed and the oracle clients libs is also 64 bit.
java version "1.6.0_0"
OpenJDK Runtime Environment (build 1.6.0_0-b11)
OpenJDK 64-Bit Server VM (build 1.6.0_0-b11, mixed mode)
oracle-instantclient-odbc-10.2.0.4-1 (x86_64)
rhn-oracle-jdbc-tomcat5-1.0-20.el5.sw (x86_64)
oracle-instantclient-devel-10.2.0.4-1 (x86_64)
rhn-oracle-jdbc-1.0-20.el5.sw (x86_64)
oracle-instantclient-basic-10.2.0.4-1 (x86_64)
oracle-instantclient-sqlplus-10.2.0.4-1 (x86_64)
oracle-lib-compat-10.2-11.el5.sw (x86_64)
oracle-xe-univ-10.2.0.1-1.0 (i386)
oracle-instantclient-jdbc-10.2.0.4-1 (x86_64)
I did do the following step:
NOTE: x86_64 users will need to add a file /etc/ld.so.conf.d (e.g.
/etc/ld.so.conf.d/spacewalk.conf) with the following contents:
/usr/lib/oracle/10.2.0.4/client64/lib/
and restarted the box because I am not sure how to get stuff in
ld.so.conf.d/ re-read.
I again got the following errors during installation:
Installing: perl-XML-LibXML ##################### [
64/191]
could not find ParserDetails.ini in
/usr/lib/perl5/vendor_perl/5.8.8/XML/SAX
Installing: rhnpush ##################### [
91/191]
Installing: ws-jaxme ##################### [
92/191]
* Adding users
-- Prod account nocpulse
-- Login account nocops
* Finished adding users
* Setting up nocpulse homedir and ssh key pair
mkdir: cannot create directory `/opt/home/nocpulse/': No such file or
directory
mkdir: cannot create directory `/opt/home/nocpulse/.ssh': No such file
or directory
mkdir: cannot create directory `/opt/home/nocpulse/bin': No such file or
directory
mkdir: cannot create directory `/opt/home/nocpulse/etc': No such file or
directory
mkdir: cannot create directory `/opt/home/nocpulse/libexec': No such
file or directory
mkdir: cannot create directory `/opt/home/nocpulse/var': No such file or
directory
mkdir: cannot create directory `/opt/home/nocpulse/var/archives': No
such file or directory
open /opt/home/nocpulse/.ssh/nocpulse-identity failed: No such file or
directory.
Saving the key failed: /opt/home/nocpulse/.ssh/nocpulse-identity.
chown: cannot access `/opt/home/nocpulse': No such file or directory
* Finished setting up nocpulse homedir and ssh key pair
Installing: NPusers ##################### [
93/191]
Installing: perl-Sort-Versions ##################### [
94/191]
Any help as always is appreciated.
Regards
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________
More information about the Spacewalk-list
mailing list