{"action":"closed","issue":{"url":"https://api.github.com/repos/rsim/oracle-enhanced/issues/684","labels_url":"https://api.github.com/repos/rsim/oracle-enhanced/issues/684/labels{/name}","comments_url":"https://api.github.com/repos/rsim/oracle-enhanced/issues/684/comments","events_url":"https://api.github.com/repos/rsim/oracle-enhanced/issues/684/events","html_url":"https://github.com/rsim/oracle-enhanced/issues/684","id":100297705,"number":684,"title":"OCIError ORA-06413: Connection not open on Rails 4.2.3, Ruby 2.1.6 an Passenger 5 with Apache","user":{"login":"341bms","id":124185,"avatar_url":"https://avatars.githubusercontent.com/u/124185?v=3","gravatar_id":"","url":"https://api.github.com/users/341bms","html_url":"https://github.com/341bms","followers_url":"https://api.github.com/users/341bms/followers","following_url":"https://api.github.com/users/341bms/following{/other_user}","gists_url":"https://api.github.com/users/341bms/gists{/gist_id}","starred_url":"https://api.github.com/users/341bms/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/341bms/subscriptions","organizations_url":"https://api.github.com/users/341bms/orgs","repos_url":"https://api.github.com/users/341bms/repos","events_url":"https://api.github.com/users/341bms/events{/privacy}","received_events_url":"https://api.github.com/users/341bms/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-08-11T12:07:12Z","updated_at":"2015-08-12T18:30:50Z","closed_at":"2015-08-12T18:30:50Z","body":"If the app is running on Passenger 4 (GEM) everything ist okay. If the same App runs on Passenger 5 (APT install) I run into the following error:\r\n\r\n```\r\nOCIError (ORA-06413: Connection not open.):\r\n  oci8.c:656:in oci8lib_210.so\r\n  ruby-oci8 (2.1.8) lib/oci8/oci8.rb:148:in `initialize'\r\n  activerecord-oracle_enhanced-adapter (1.6.1) lib/active_record/connection_adapters/oracle_enhanced/oci_connection.rb:330:in `new'\r\n  activerecord-oracle_enhanced-adapter (1.6.1) lib/active_record/connection_adapters/oracle_enhanced/oci_connection.rb:330:in `new_connection'\r\n  activerecord-oracle_enhanced-adapter (1.6.1) lib/active_record/connection_adapters/oracle_enhanced/oci_connection.rb:389:in `initialize'\r\n  activerecord-oracle_enhanced-adapter (1.6.1) lib/active_record/connection_adapters/oracle_enhanced/oci_connection.rb:26:in `new'\r\n  activerecord-oracle_enhanced-adapter (1.6.1) lib/active_record/connection_adapters/oracle_enhanced/oci_connection.rb:26:in `initialize'\r\n  activerecord-oracle_enhanced-adapter (1.6.1) lib/active_record/connection_adapters/oracle_enhanced/connection.rb:9:in `new'\r\n  activerecord-oracle_enhanced-adapter (1.6.1) lib/active_record/connection_adapters/oracle_enhanced/connection.rb:9:in `create'\r\n  activerecord-oracle_enhanced-adapter (1.6.1) lib/active_record/connection_adapters/oracle_enhanced_adapter.rb:156:in `oracle_enhanced_connection'\r\n  activerecord (4.2.3) lib/active_record/connection_adapters/abstract/connection_pool.rb:438:in `new_connection'\r\n  activerecord (4.2.3) lib/active_record/connection_adapters/abstract/connection_pool.rb:448:in `checkout_new_connection'\r\n  activerecord (4.2.3) lib/active_record/connection_adapters/abstract/connection_pool.rb:422:in `acquire_connection'\r\n  activerecord (4.2.3) lib/active_record/connection_adapters/abstract/connection_pool.rb:349:in `block in checkout'\r\n  /home/deploy/.rvm/rubies/ruby-2.1.6/lib/ruby/2.1.0/monitor.rb:211:in `mon_synchronize'\r\n  activerecord (4.2.3) lib/active_record/connection_adapters/abstract/connection_pool.rb:348:in `checkout'\r\n  activerecord (4.2.3) lib/active_record/connection_adapters/abstract/connection_pool.rb:263:in `block in connection'\r\n  /home/deploy/.rvm/rubies/ruby-2.1.6/lib/ruby/2.1.0/monitor.rb:211:in `mon_synchronize'\r\n  activerecord (4.2.3) lib/active_record/connection_adapters/abstract/connection_pool.rb:262:in `connection'\r\n  activerecord (4.2.3) lib/active_record/connection_adapters/abstract/connection_pool.rb:571:in `retrieve_connection'\r\n  activerecord (4.2.3) lib/active_record/connection_handling.rb:113:in `retrieve_connection'\r\n  activerecord (4.2.3) lib/active_record/connection_handling.rb:87:in `connection'\r\n  activerecord (4.2.3) lib/active_record/query_cache.rb:51:in `restore_query_cache_settings'\r\n  activerecord (4.2.3) lib/active_record/query_cache.rb:43:in `rescue in call'\r\n  activerecord (4.2.3) lib/active_record/query_cache.rb:31:in `call'\r\n  activerecord (4.2.3) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call'\r\n  actionpack (4.2.3) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'\r\n  activesupport (4.2.3) lib/active_support/callbacks.rb:84:in `run_callbacks'\r\n  actionpack (4.2.3) lib/action_dispatch/middleware/callbacks.rb:27:in `call'\r\n  actionpack (4.2.3) lib/action_dispatch/middleware/remote_ip.rb:78:in `call'\r\n  actionpack (4.2.3) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'\r\n  actionpack (4.2.3) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'\r\n  railties (4.2.3) lib/rails/rack/logger.rb:38:in `call_app'\r\n  railties (4.2.3) lib/rails/rack/logger.rb:20:in `block in call'\r\n  activesupport (4.2.3) lib/active_support/tagged_logging.rb:68:in `block in tagged'\r\n  activesupport (4.2.3) lib/active_support/tagged_logging.rb:26:in `tagged'\r\n  activesupport (4.2.3) lib/active_support/tagged_logging.rb:68:in `tagged'\r\n  railties (4.2.3) lib/rails/rack/logger.rb:20:in `call'\r\n  actionpack (4.2.3) lib/action_dispatch/middleware/request_id.rb:21:in `call'\r\n  rack (1.6.4) lib/rack/methodoverride.rb:22:in `call'\r\n  rack (1.6.4) lib/rack/runtime.rb:18:in `call'\r\n  activesupport (4.2.3) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'\r\n  rack (1.6.4) lib/rack/sendfile.rb:113:in `call'\r\n  railties (4.2.3) lib/rails/engine.rb:518:in `call'\r\n  railties (4.2.3) lib/rails/application.rb:165:in `call'\r\n  /usr/lib/ruby/vendor_ruby/phusion_passenger/rack/thread_handler_extension.rb:94:in `process_request'\r\n  /usr/lib/ruby/vendor_ruby/phusion_passenger/request_handler/thread_handler.rb:149:in `accept_and_process_next_request'\r\n  /usr/lib/ruby/vendor_ruby/phusion_passenger/request_handler/thread_handler.rb:110:in `main_loop'\r\n  /usr/lib/ruby/vendor_ruby/phusion_passenger/request_handler.rb:415:in `block (3 levels) in start_threads'\r\n  /usr/lib/ruby/vendor_ruby/phusion_passenger/utils.rb:111:in `block in create_thread_and_abort_on_exception'\r\n```\r\n\r\nAnother App (Rails 3.2, activerecord-oracle_enhanced-adapter 1.5.x) runs on both v4 and v5 versions of Passenger without problems. Does anyone experienced the same? Any suggestions?"}}