search for: oci8lib

Displaying 13 results from an estimated 13 matches for "oci8lib".

2006 Jun 12
3
AMD64 + Debain + rails + Oracle ?
Hi folks, Does anyone know how to install the OCI8 ruby interface on Debian64 without having to install Oracle? My understanding, from experience with Debian i386, is that you need Oracle (specifically the SQLPlus) installed to be able to compile OCI8. Since my new dev machine is AMD64 running Debian, I''m stuck. My rails applications need to connect to a remote Oracle 10g, but cannot
2007 Nov 14
3
Connecting to Oracle from an Intel Mac -- arch. conflicts
.../console brings up the console just fine, and I can use the model classes in my app that aren''t pulling from Oracle, but if I try to use one that needs Oracle, I get the following error: LoadError: Oracle/OCI libraries could not be loaded: dlopen(/Library/Ruby/Site/1.8/universal-darwin9.0/oci8lib.bundle, 9): no suitable image found. Did find: /Library/Ruby/Site/1.8/universal-darwin9.0/oci8lib.bundle: mach-o, but wrong architecture - /Library/Ruby/Site/1.8/universal-darwin9.0/oci8lib.bundle from /Library/Ruby/Gems/1.8/gems/activerecord-oracle-adapter-1.0.0/lib/active_record/connecti...
2007 Nov 15
0
Problems connecting to remote Oracle DB on windows using active record
I am trying to connect to an older oracle DB remotely, I think version 8 or 9. I downloaded the instant client stuff from oracle and copied oci.dll and oraociei10.dll to my windows/system folder (windows XP) I get the error. C:\rb-play>ar_connect_ss.rb env.c:257:in oci8lib.so: ORA-12514: TNS:listener does not currently know of serv ice requested in connect descriptor (OCIError) from c:/ruby/lib/ruby/site_ruby/1.8/oci8.rb:228:in `initialize'' from c:/ruby/lib/ruby/gems/1.8/gems/activerecord-1.15.5/lib/ active_recor d/connection_adapters/oracle_...
2005 Mar 21
3
Oracle Adapter on Mac OS X?
I had previously gotten Maik Schmidt''s patch for Oracle working, but now am trying the official Oracle adapter with the latest Rails. I''ve been trying to get the OCI8 connector to install under OS X, but get the following error. Has anyone gotten it working? ---- [waterdog:~/Desktop/ruby-oci8-0.1.9] stmpjmpr% ruby setup.rb config ---> lib ---> lib/DBD ---> lib/DBD/OCI8
2008 Mar 31
16
Mongrels stop responding
I have a Rails 1.2.3 app (due for an update, I know) running on a Mongrel 1.1.4 behind Apache 2.2.3 mod_proxy on Debian 4.0. It keeps hanging up for no reason I can tell. I have tried everything that anyone has ever hinted at being a solution for this problem: - The application doesn''t use MySQL, so setting the connection timeout won''t help. - Using AR not PStore for sessions. -
2010 Apr 27
3
"ORA-12154: TNS:..." error after successful oracle connection
...tput and I got my prompt back. So, I went back to the RoR app that I am working on, started WEBrick in Radrails but I got this error: ORA-12154: TNS:could not resolve the connect identifier specified RAILS_ROOT: ./script/../config/.. Application Trace | Framework Trace | Full Trace env.c:257:in oci8lib.so C:/web/IPSO/app/controllers/attending_ips_controller.rb:140:in `get_most_recent_record'' C:/web/IPSO/app/controllers/attending_ips_controller.rb:26:in `new_edit'' -e:4:in `load'' -e:4 C:/ruby_prod/lib/ruby/site_ruby/1.8/oci8.rb:229:in `initialize'' C:/ruby_prod/l...
2010 Dec 15
3
ORA-12514: TNS:listener d oes not currently know of service requested in connect descriptor (OCIEr
...om/topic/96884 " and followed the procedures but now I am stuck with the below error C:\Documents and Settings\SawanKumar.Thammadi\RubyOnRails\datamanger>rake db:migrate (in C:/Documents and Settings/SawanKumar.Thammadi/RubyOnRails/datamanger) rake aborted! OCI Library Initialization Error oci8lib.c:98:in oci8lib_191.so C:/Ruby192/lib/ruby/gems/1.9.1/gems/activesupport-3.0.3/lib/active_support/dependencies.rb:239:in `r equire'' . . . C:/Ruby192/lib/ruby/gems/1.9.1/gems/ruby-oci8-2.0.4-x86-mingw32/lib/oci8.rb:23:in `<top (required)>'' . . C:/Ruby192/lib/ruby/gems/1.9.1/g...
2008 Oct 01
8
Mongrel_Cluster unable to access OCI8 library
...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''...
2009 Apr 14
1
Oracle oci8 => OCIError: OCI Library Initialization Error
...ci8'' => true However, on a 64bit machine: Linux xxx.xxx.xxx.xxx 2.6.18-128.1.6.el5 #1 SMP Tue Mar 24 12:05:57 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux I have this problem: irb(main):001:0> require ''oci8'' OCIError: OCI Library Initialization Error from env.c:90:in oci8lib.so from /home/iono/lib/ruby/rubygems/custom_require.rb:31:in `require'' from /home/iono/packages/gems/gems/ruby-oci8-2.0.1/lib/oci8.rb:25 from /home/iono/lib/ruby/rubygems/custom_require.rb:36:in `gem_original_require'' from /home/iono/lib/ruby/rubygems/custom_require.rb:36:...
2009 Sep 11
0
oracle_enhanced problem connection
...to the database just fine and do my stuff. But "./script/server -e development" and browsing to localhost:3000 I get the following: /!\ FAILSAFE /!\ Fri Sep 11 11:00:35 +0100 2009 Status: 500 Internal Server Error ORA-01017: invalid username/password; logon denied env.c:257:in oci8lib.so /usr/lib/ruby/gems/1.8/gems/ruby-oci8-1.0.6/lib/oci8.rb:229:in `initialize'' /usr/lib/ruby/gems/1.8/gems/activerecord-oracle_enhanced-adapter-1.2.1/lib/active_record/connection_adapters/oracle_enhanced_oci_connection.rb:189:in `new'' The full error pasted here as its a b...
2007 Oct 23
3
Ruby on Rails and Oracle
...s is the Error that i get: -> http://127.0.0.1:3000/blog OCIError in BlogController#index ORA-12514: TNS:listener does not currently know of service requested in connect descriptor RAILS_ROOT: C:/ruby/bin/blog/script/../config/.. Application Trace | Framework Trace | Full Trace env.c:257:in oci8lib.so Any help? -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocF...
2006 Mar 08
5
Ruby/LDAP on Rails
This is wierd. I''m trying to get Ruby/LDAP up and working, and at least the basics work fine under irb: irb(main):001:0> require ''ldap'' => true irb(main):002:0> LDAP::Conn.new() => #<LDAP::Conn:0x1b87ac> irb(main):003:0> So far, so good. All LDAP::Conn.new does is call ldap_init with host and port parameters, which in turn just allocates the
2009 Dec 30
9
Oracle adapter problem? How to fix this?
...is: Ruby 1.8.6 Rails 2.3.5 activerecord-oracle-adapter (1.0.0.9250) I upgraded Rails and the adapter recently and I just went through hell trying to find a problem while inserting a record in a table. Rails was giving me this error: OCIError (ORA-02289: sequence does not exist): stmt.c:539:in oci8lib.so c:/ruby/lib/ruby/site_ruby/1.8/oci8.rb:753:in `exec'' c:/ruby/lib/ruby/site_ruby/1.8/oci8.rb:142:in `do_ocicall'' c:/ruby/lib/ruby/site_ruby/1.8/oci8.rb:753:in `exec'' c:/ruby/lib/ruby/site_ruby/1.8/oci8.rb:255:in `exec'' c:/ruby/lib/ruby/gems/1.8/gems/a...