Hi, I'm able to run a ROR application in a Red Hat Enterprise Linux 4.4 environment, as long as I start my mongrel_cluster via the command line:
[EMAIL PROTECTED] ~]$ mongrel_cluster_ctl start I take a look at the two mongrel_rails processes that were just created: [EMAIL PROTECTED] log]$ ps -ef | grep mongrel chris 4781 1 5 05:55 ? 00:00:02 /usr/local/bin/ruby /usr/local/bin/mongrel_rails start -d -e production -a 0.0.0.0 -c /home/chris/kitry/FDS_Server --user chris --group chris -p 4001 -P log/mongrel.4001.pid -l log/mongrel.4001.log chris 4784 1 5 05:55 ? 00:00:02 /usr/local/bin/ruby /usr/local/bin/mongrel_rails start -d -e production -a 0.0.0.0 -c /home/chris/kitry/FDS_Server --user chris --group chris -p 4002 -P log/mongrel.4002.pid -l log/mongrel.4002.log _____ Now, if I turn my mongrel_cluster into a service, which starts up at boot time, my two mongrel_rails processes look identical, EXCEPT for the PRIORITY LEVEL (5 by hand, 0 as a service): [EMAIL PROTECTED] ~]$ ps -ef | grep mongrel chris 2759 1 0 06:04 ? 00:00:02 /usr/local/bin/ruby /usr/local/bin/mongrel_rails start -d -e production -a 0.0.0.0 -c /home/chris/kitry/FDS_Server --user chris --group chris -p 4001 -P log/mongrel.4001.pid -l log/mongrel.4001.log chris 2762 1 0 06:04 ? 00:00:02 /usr/local/bin/ruby /usr/local/bin/mongrel_rails start -d -e production -a 0.0.0.0 -c /home/chris/kitry/FDS_Server --user chris --group chris -p 4002 -P log/mongrel.4002.pid -l log/mongrel.4002.log Unfortunately, this time, my application logs the following error message: LoadError (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): ... ... What could be causing the processes to correctly read the library file in the first situation, but not in the second? Both are run by the same user, in the same group. Maybe my "ps -ef" command is insufficient for identifying all differences between the processes; I'm neither a Linux nor a ROR expert... Thanks, Chris. -- Posted via http://www.ruby-forum.com/. _______________________________________________ Mongrel-users mailing list Mongrel-users@rubyforge.org http://rubyforge.org/mailman/listinfo/mongrel-users