On Tue, Aug 05, 2008 at 04:23:27PM -0700, James Fillman wrote:
> I've installed spacewalk on CentOS 5.2 x86_64. I've installed oracle and
> all the 64bit oracle client rpm's like the wiki says. Things blow up
> when I get to this step:
>
> [EMAIL PROTECTED] 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? clxd01spacewalk
> 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/Ora
> cle/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
This sounds like a SELinux issue. You can either disable it or try
semanage fcontext -a -t textrel_shlib_t
'/usr/lib/oracle/10.2.0.4/client64/lib/*'
restorecon -R /usr/lib/oracle/10.2.0.4/client64/lib
If this helps, you might consider adding a note to
https://fedorahosted.org/spacewalk/wiki/HowToInstall
Yours,
--
Jan Pazdziora
Satellite Engineering, Red Hat
_______________________________________________
Spacewalk-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/spacewalk-list