Displaying 20 results from an estimated 1000 matches similar to: "OCI8::Cursor (Name Error) in HP-UX 11.11 error"
2007 May 29
4
undefined method `define_a_column' for class `OCI8::Cursor'
Hi,
Environment: Solaris 10, Orale 10g, Apache 2.2, Ruby 1.8.4, Rails
1.2.3, Ruby OCI8 1.0.0-rc2
As soon as I compiled and installed the Ruby/OCI8 interface, I got the
following error from my application:
=========================
[notice] mod_fcgid: call /export/home/invido/invido/portal2/public/
dispatch.fcgi with wrapper /usr/local/bin/ruby /export/home/invido/
2006 Feb 24
2
Help with the configuration of apache and fcgi
Hi Everyone,
I am sure this question has been asked many time before but I really could
not get a good solution.
The problem I am having is that the application I wrote is acting very slow.
For example for the production database, the query I make takes about 3-4
minutes. The application connects to 2 oracle databases(on a remote
location) and gets information based on a given search criteria.It
2009 Mar 22
3
undefined method 'define_a_column' for class 'OCI8::Cursor'
Hello. Tired of searching and finding nothing useful.
Moving application to laptop for trip.
Installed:
- Ruby (1.8.6, patchlevel 111)
- Rails (2.2.2)
- Oracle adapter (1.0.0.9250)
- ruby-oci8 (2.0.1)
- Oracle 10g Express Edition
database.yml:
development:
adapter: oracle
etc...
When I start Mongrel (ruby script/server) I get the error above. I''ve
looked everywhere I can think of.
2005 Sep 19
1
php with oci8 support
I am attempting to build php with oracle oci8 support. I've installed
the oracle installclient basic and devel rpms. When kicking off the
srpm buid I am using the following...
rpmbuild --with oci8 --rebuild php-4.3.9-3.8.src.rpm
While on an FC 4 box this works and I end up with a php-oci8 pkg that is
fully functional. However on CentOS 4.1 the build isn't actually
building with oci8
2009 Apr 14
1
Oracle oci8 => OCIError: OCI Library Initialization Error
I''m trying to get ActiveRecord working with an Oracle DB over the
instant client.
On a 32bit machine, I can require ''oci8'':
Linux xxx.xxx.xxx.xxx 2.6.9-78.0.17.ELsmp #1 SMP Thu Mar 5 04:52:17 EST
2009 i686 i686 i386 GNU/Linux
irb(main):001:0> require ''oci8''
=> true
However, on a 64bit machine:
Linux xxx.xxx.xxx.xxx 2.6.18-128.1.6.el5 #1 SMP Tue
2005 May 19
0
Re: Problem with Rails and OCI8
Here''s a solution to the OCI8 problem shown below (change /usr/local/oracle
to your site''s oracle):
If this happens when you are running scripts at the shell prompt:
export LD_LIBRARY_PATH=/usr/local/oracle/lib
If this happens in your apache error_log, add to httpd.conf:
SetEnv LD_LIBRARY_PATH /usr/local/oracle/lib
Kevin Kleinfelter
If it''s not documented,
2006 Jun 14
0
Mssql Multiple Database Access Error
Hi All,
I am having a problem to access multiple databases with mssql
I am running Ruby 1.8.4 and Rails 1.1 on Windows 2000 Advanced Server.
I am simply trying to integrate the application I wrote before for
Oracle to Mssql. The application works perfectly with Oracle with the
installed driver OCI8. The app retrives data based on a search criteria
from those databases.
I followed the directions
2007 Jan 25
0
oci8 problems
I feel stupid having to ask this, but I haven''t found an answer. I
installed ruby-oci8 in order to load data from an oracle db into postgres
(part of a jsp to rails conversion). In order to run my ruby script I know
I need to set ORACLE_HOME and LD_LIBRARY_PATH environment variables to get
it to work (and it does work).
I''ve tried setting ENV[''ORACLE_HOME'']
2006 Jan 11
3
FastCgi/OCI8 problem
Hi,
I''m having problems running my rails application in the following
setup Unix/Apache/FastCgi/Oracle10g.
I had my app running quite happy until I installed the OCI8 driver.
When I try to load the app I get in the apache logs the famous
"undefined method ''define_a_column'' for class OCI8:Cursor (NameError)"
I think the problem is with the fastcgi set up
2005 Jul 27
7
Oracle OCI8, or "am I going crazy?"
All of a sudden, on three different systems, the "server_ip_address/sid_name"
syntax in database.yml has stopped working for me.
I can''t even do a OCI8.new(blah blah blah) statement from an IRB shell.
I get "ORA-12541: TNS:no listener", or some variant, depending on how I phrase it.
On systems where I have a real deal client installed, and OCI can find the
tnsnames
2007 Nov 02
3
ruby-oci8 build fails
I''m trying to build the ruby-oci8 with the Oracle Instant Client on OS
X. The Instant Client works, and the make seems to be ok with it up
until OCIInitialize(). Anybody got this to work?
[relevant output]
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby /
Users/dmholmes/Desktop/ruby-oci8-1.0.0-rc2/ext/oci8/extconf.rb
checking for load library path...
2011 Jun 15
1
uninitialized class variable @@env in OCI8
Can anyone help me with the uninitialized class variable @@env in OCI8
error raised in my app\views\xxxx index.html.erb file
Thanks in advance
Below is the code and the result of bundle show. I am using Windows 7
<h1>Listing comics</h1>
<table>
<tr>
<th>Title</th>
<th>Issue</th>
<th>Publisher</th>
2005 Aug 08
2
OCI8 extension for PHP
Hello,
I am wondering what do people use to connect to an oracle DB ?
I've been looking for something like php-oci8 RPM package, but no luck so far.
I hate to have to rebuilding PHP on my own just to be able to connect to an
Oracle database.
Thanks for any help
RDB
2006 Jan 27
5
Newbie:Adding a new Table-Strange Error
Hi Everybody,
I am a newbie in this list so please forgive me if this is a lengthy
message.
Currently I am working on a project at my work place that includes
viewing some oracle tables(I do not have control over to rewrite the
tables) and searching the tables based on a given criteria with Rails.
Up untill now everything was working great. The database consists of a
lot of tables but I was
2006 Jun 23
2
WEBrick hangs with OCI8?
Has anyone experienced "hangs" with the WEBrick/OCI8 combination?
The sequence of actions I perform to consistently get WEBrick to hang is:
1. start WEBrick
2. list a table form my Oracle 10g DB
3. startup sqlplus and update a few records in the table
4. go back to my browser and reload the table
Here none of the chances I made directly to the table are reflected
in the listing.
2006 Apr 20
4
oci8 mac os x intel
Is rails + oci8 + mac os x intel a winning combination? It appears
that oci8 might be a issue.
2005 Mar 28
0
Installing Ruby-Oci8 driver on Redhat Linux
Hi,
I''d like to try out the oci adapter for rails on a Linux box I have,
but I''m having a lot of trouble installing the oci8 library and
compiling on that machine. The database I''d like to talk to is an Oracle
9i DB on another rmachine.
I''ve downloaded the Oracle 10g instant client (rpm) and tried installing
with that but it''s failing to find
2006 Jan 30
9
error when adding a new table to the existing application
Deniz wrote:
> Hi Everybody,
> I am a newbie in this list so please forgive me if this is a lengthy
> message.
> Currently I am working on a project at my work place that includes
> viewing some oracle tables(I do not have control over to rewrite the
> tables) and searching the tables based on a given criteria with Rails.
> Up untill now everything was working great. The
2000 Mar 29
0
Something about Upper/Lower-case
Hi,
We are using SAMBA on Solaris and AIX and discovered a funny
thing. (A bug ??) (We had tried on a Linux-box as well and have same
result.)
SAMBA AFTER VER. 2.0.0 returns the full path in both UPPER and LOWER case,
eg. DRIVERLETTER:\DIR\DIR\DIR\filename.txt
This is a problem for us do to Unix case-sensitive.
Our devel.dep. wrote a litle program using this routine (From the helpfile
from
2006 Jun 26
1
/bin/tar bug
It like we may have a bug in tar that ships with Centos.
It looks like -o is mapped to --same-owner.
Some basic info....
uname -a
Linux jazzy 2.6.9-34.0.1.ELsmp #1 SMP Wed May 24 08:14:29 CDT 2006
i686 i686 i386 GNU/Linux
cat /etc/redhat-release
CentOS release 4.3 (Final)
% /bin/tar --version
tar (GNU tar) 1.14
--same-owner try extracting files with the same ownership
--no-same-owner