[Mongrel] Error with Mongrel_cluster

Piyush Ranjan piyush.pr at gmail.com
Mon Oct 1 16:21:19 EDT 2007


$PD_LIBRARY_PATH or $LD_LIBRARY_PATH?
or is it just a typo ?
I have faced this problem is past but setting these two correctly does the
trick. Are u sure u did add these variables in your .bashrc ?
On 10/2/07, Sid Jay <sid.webnews at gmail.com> wrote:
>
>  Hi Guys,
> I'm getting this error with mongrel_cluster. I am able to start mongrel
> through mongrel_rails start but the cluster is not working.  Initially
> mongrel_rails wouldn't work but after I added $ORACLE_HOME and
> $PD_LIBRARY_PATH variables it worked but mongrel_cluster isn't working
> still. The mongrel log file looks like below.
> Any help is appreciated.
> Thanks.
>
> -----------begin  mongrel.8000.log---------------
> ** Daemonized, any open files are closed.  Look at
> tmp/pids/mongrel.8000.pid and log/mongrel.8000.log for info.
> ** Starting Mongrel listening at 0.0.0.0:8000
> ** Changing group to xxxxx.
> ** Changing user to xxxxx.
> ** Starting Rails with production environment...
> /usr/lib/ruby/gems/1.8/gems/activerecord-1.15.3/lib/active_record/connection_adapters/oracle_adapter.rb:536:
> undefined method `define_a_column' for class `OCI8::Cursor' (NameError)
>         from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in
> `require'
>         from /usr/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:495:in
> `require'
>         from /usr/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:342:in
> `new_constants_in'
>         from /usr/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:495:in
> `require'
>         from /usr/lib/ruby/gems/1.8/gems/activerecord-1.15.3
> /lib/active_record.rb:81
>         from /usr/lib/ruby/gems/1.8/gems/activerecord-1.15.3
> /lib/active_record.rb:80
>         from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in
> `require'
>         from /usr/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/initializer.rb:162:in
> `require_frameworks'
>          ... 10 levels...
>         from /usr/lib/ruby/gems/1.8/gems/mongrel-1.0.1/bin/mongrel_rails:83:in
> `run'
>         from /usr/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel/command.rb:211:in
> `run'
>         from /usr/lib/ruby/gems/1.8/gems/mongrel-1.0.1
> /bin/mongrel_rails:243
>         from /usr/bin/mongrel_rails:16
>
> --------------------------end log ------------------------------------
>
> _______________________________________________
> Mongrel-users mailing list
> Mongrel-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/mongrel-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/mongrel-users/attachments/20071002/2c92e05b/attachment.html 


More information about the Mongrel-users mailing list