Hi,

I'm deploying a Rails app with a Mongrel Cluster in Red Hat Linux. It
communicates with an Oracle database on another machine.

I tested ruby-oci8 from the command line, and that worked fine:

$ ruby -r oci8 -e "OCI8.new('user', 'password', '???.???.?.?/
xe').exec('SELECT BLAH BLAH BLAH) do |r| puts r.join(' | '); end"

I was then able to run my application on both servers of a Mongrel
Cluster, started from the command line, like this:

$ mongrel_cluster_ctl start

But when I try to make a service out of my cluster, the two Mongrel
servers start, but my application logs the following error message:

Oracle/OCI libraries could not be loaded: libclntsh.so.11.1: cannot
open shared object file: No such file or directory - /usr/local/lib/
ruby/site_ruby/1.8/i686-linux/oci8lib.so

This library file exists and has read permission for all, and the path
to it is set in LD_LIBRARY_PATH.

I'd appreciate if someone could help me out on this. Thanks,

Chris.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Deploying Rails" group.
To post to this group, send email to rubyonrails-deployment@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-deployment?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to