On Thu, Nov 13, 2008 at 12:09:36PM -0600, Stephen Berg (Contractor) wrote: > Adrián Márques wrote: > >I got it here: > >http://rpm.pbone.net/index.php3?stat=3&search=rhel-instnum&srodzaj=3 > > > >It's a package for StartCom 5 (never heard of it before), but worked > >just fine for me on CentOS. > I found a slightly newer version on > ftp://fr2.rpmfind.net/linux/ASPLinux/i386/updates/12.1/x86_64/rhel-instnum-1.0.8-1.el5.asp121.noarch.rpm > > I tried restarting oracle-xe, satellite-httpd and tomcat5 and re-ran the > setup. The output is pasted below. The strange part is I changed the > defaults.conf file to answer the questions but it fails to login on the > first attempt, the second attempt is when it hangs. Before I changed > defaults.conf I would answer the questions and it would fail, then > answer the questions again and it would hang. So I'm pretty confident > it is reading defaults.conf correctly. > > [EMAIL PROTECTED] init.d]# spacewalk-setup --disconnected > * Loading answer file: /usr/share/spacewalk/setup/defaults.conf. > Only one database option available, assuming: oracle > * Setting up Oracle environment. > * Setting up database. > ** Database: Setting up database connection. > 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,
This is a known issue - see the OracleXe setup page here: https://fedorahosted.org/spacewalk/wiki/OracleXeSetup Oracle for some reason installs the 32bit driver in the default library path, even on a 64bit machine. The 64bit perl DBD module then gets confused when the Oracle driver is apparently 32 bit. To fix it I have a file /etc/ld.so.conf.d/spacewalk.conf which contains /usr/lib/oracle/10.2.0.4/client64/lib/ Then ldconfig -v. Regarding rhel-instnum, I got mine from the Stahnma client tools repository: http://stahnma.fedorapeople.org/spacewalk-tools/5/x86_64/ Regards, -- David Nutter Tel: +44 (0)131 650 4888 BioSS, JCMB, King's Buildings, Mayfield Rd, EH9 3JZ. Scotland, UK Biomathematics and Statistics Scotland (BioSS) is formally part of The Scottish Crop Research Institute (SCRI), a registered Scottish charity No. SC006662 _______________________________________________ Spacewalk-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/spacewalk-list
