Forums | Admin

Discussion Forums: help

Start New Thread Start New Thread

 

By: Davide Panizzolo
DB2 and Passenger [ reply ]  
2009-08-27 08:44
I have a rails app which works fine with mongrel (in production and in development environment), but when i switch to apache + passenger i get the following error on startup:
Failed to connect to [sample] due to: uncaught throw `Allocation of environment handle failed:(null)'

/var/lib/gems/1.8/gems/ibm_db-1.5.0/lib/active_record/connection_adapters/ibm_db_adapter.rb:180:in `ibm_db_connection'

My system configuration is: Ubuntu server 9.04 + db2expressc9.7 + passenger 2.2.4 + ibm_db 1.5.0

Any idea?

Thanks,

Davide