Displaying 20 results from an estimated 1000 matches similar to: "FastCgi/OCI8 problem"
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'']
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/
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,
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.
2008 Aug 26
1
apache
How can I pass the following Oracle 10g variables to my apache?
ORACLE_BASE=/u01/oracle
ORACLE_HOME=/u01/oracle/10g
ORACLE_SID=king
LD_LIBRARY_PATH=$ORACLE_HOME/lib
LD_LIBRARY_PATH_32=$ORACLE_HOME/lib32
PATH=$PATH:$ORACLE_HOME/bin
NLS_LANG=AMERICAN_AMERICA.AR8MSWIN1256; export NLS_LANG
NLS_DATE_FORMAT=dd-mm-yyyy ; export NLS_DATE_FORMAT
export ORACLE_BASE ORACLE_HOME ORACLE_SID LD_LIBRARY_PATH
2007 Oct 01
10
Error with Mongrel_cluster
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
2006 May 24
7
OCI8::Cursor (Name Error) in HP-UX 11.11 error
Hi
I have looked at google about this error as well as in ruby on rails
forums, but I can not specifically locate the exact problem and the
solution for it.
Basically, I successfully installed ruby 1.8.4 on HP-UX 11.11 with rails
gem.
But unfortunately whenever I try to create a test application by using
"rails testapp", I am getting the follwing errror:
$ rails testapp
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
2011 Aug 08
4
Help with retrieving a user's environment variable
Hi,
I need to get the environment variable ORACLE_SID from the OS. I know this can be done with the following:
$blah = env("PATH")
However, the ORACLE_SID variable is only set under the oracle user account. So I would need a way to login as the oracle account first to retrieve the ORACLE_SID variable. Is there anyway to get the environment variable from a user''s account
2008 Jul 21
1
OCI
Am running centos5 , I want to compile my apache with php to support the
following
'./configure' '--with-apxs2=/usr/local/apache/bin/apxs'
'--with-mysql=/usr/local/mysql' '--with-zlib-dir=/usr/lib/'
'--enable-versioning' '--enable-track-vars=yes'
'--enable-url-includes--enable-sysvshm=yes' '--enable-sysvsem=yes'
2006 Mar 16
3
Connecting to Oracle8i
Hi All,
I have a problem in connecting to oracle and here is the steps i''ve been
going through (i''m using the regular oracle8 client, not the instant
one):
1. i installed the one-click ruby installer (ruby184-16p3 windows.exe)
2. i installed the rails-1.0.0 framework using gem successfully
3. i tried connecting to oracle using all possible combination in the
database.yml file
2008 Jan 29
1
"ROracle" Packages is not to be installed (PR#10652)
Full_Name: JinNyong Huh
Version: 2.6.1
OS: Linux(SUSE-9.0)
Submission from: (NULL) (220.75.209.235)
ROracle Packages is not to be installed in my Linux.
The enviroments are as follows:
* O/S Profile
[
export ORACLE_BASE=/opt/oracle
export ORACLE_SID=DEMO10G
export ORACLE_HOME=$ORACLE_BASE/product/10g
export ORACLE_DOC=$ORACLE_HOME/doc
export ORACLE_TERM=vt220
export TERM=vt100
export
2009 May 06
0
OCI Library Initialization Error
I am attempting to connect to ORACLE11g however i am getting the
following error:
"OCI Library Initialization Error"
IT always errors on OCIENV.init(). I cant see anything wrong on the ENV
configurations.
Has anyone had this problem, or any suggestions on where i should look
for anwers?
I am using the following gems:
ruby-oci8 (1.0.4)
activerecord-oracle-adapter (1.0.0.9250)
2006 Jan 07
0
Connecting to Oracle
Hi,
I am getting the following error running my rails app:
undefined method ''define_a_column'' for class OCI8:Cursor (NameError)
Platform: Windows XP
Rails: 1.0
ActiveRecord: 1.13.2
Oracle: 9.2
Ruby: 1.8.3
Oci Drive: ruby-oci8-0.1.13
Any clues ?
Thank you all !!
--
Posted via http://www.ruby-forum.com/.
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
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...
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
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>
2008 Oct 01
8
Mongrel_Cluster unable to access OCI8 library
Hi,
I''m able to run a ROR application in a Red Hat Enterprise Linux 4.4
environment, as long as I start my mongrel_cluster via the command line:
[chris at localhost ~]$ mongrel_cluster_ctl start
I take a look at the two mongrel_rails processes that were just created:
[chris at localhost log]$ ps -ef | grep mongrel
chris 4781 1 5 05:55 ? 00:00:02 /usr/local/bin/ruby