Displaying 20 results from an estimated 3000 matches similar to: "Problem with Oracle"
2006 Jan 10
5
Oracle 10g Express - generate scaffold gives error
Hello,
I have Oracle XE installed.
I have a table USERS.
When I try to generate a scaffold it gives me this error.
I tried also with Mysql and it worked.
E:\radrails\projects\MPS>ruby script\generate scaffold user
exists app/controllers/
exists app/helpers/
create app/views/user
exists test/functional/
dependency model
exists app/models/
exists
2007 May 09
1
Oracle instantclient on CentOS 4.4 with DBD::Oracle
Does anyone have experience on installing the Oracle instantclient and
DBD::Oracle on CentOS 4.4.
I have been having several issues with getting the RPMs from Oracle's site
working with DBD::Oracle. I can get the oracle instant client to install
without issue. But I cannot compile/install DBD::Oracle using cpan or
cpan2rpm.
I found http://freshrpms.net/docs/oracle/ which has a nosrc rpm
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
2008 Feb 22
2
Connecting to Oracle from Rails 2.0.2
Long afternoon, but finally got it. Hope this spares you some pain:
Installation instructions mainly based on:
http://ruby.about.com/od/enterprise/ss/ruby_oracle.htm
Install Oracle Instant Client:
mkdir C:\oracle
cd c:\oracle
Get the following files from here:
http://www.oracle.com/technology/software/tech/oci/instantclient/htdocs/winsoft.html
and unzip them into the c:\oracle\
unzip
2013 Aug 29
3
ruby connect oracle problem
Hello folks.
I''m new in Ruby also ROR.
I installed oracle intant client and test it it works fine. Now I wanna
connect to oracle db. But its got some error. like this
*custom_require.rb:36:in `require'': cannot load such file -- oci8
(LoadError)*
my code is here.
require ''oci8''
oci =
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
2011 Jan 05
1
What are the necessary Oracle software to install and run ROracle ?
Hello,
I am running Linux, I have downloaded
instantclient-basiclite-linux32-11.2.0.2.0.zip
instantclient-sqlplus-linux32-11.2.0.2.0.zip
instantclient-sdk-linux32-11.2.0.2.0.zip
instantclient-precomp-linux32-11.2.0.2.0.zip
All these tarballs are unzipped in /usr/local/lib/instantclient, I have
added this path in the library path of the host.
I can run sqlplus and proc, they do not complain
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.
2006 Mar 28
2
Rails Oracle connection
I''m using the following configuration in the database.yml to connect to
Oracle,
however I could not connect while the settings seems to be correct:
development_oracle:
adapter: oci
host: 127.0.0.1:8080/XE
username: rubydb
password: rubyrails
What is wrong here?
Can anyonbe help me?
--
Posted via http://www.ruby-forum.com/.
2005 Dec 28
2
OCI/ODBC on Windows
I have been trying to connect to an Oracle database on a windows
machine. I succesfully ran a test program using ODBC to connect to
Oracle, but I am out of luck on doing this with rails.
I am unable to install the OCI Adapter on Windows and am trying to
figure it out. Meanwhile, if anyone could provide me with some pointers
or references, I would be grateful. I am finding it a bit difficult in
2007 Jun 20
1
Res: Record CDR in a Oracle database
Hi All,
Thank's for your hint Tim Panton
I could connect my asterisk machine to my oracle machine.
I used unixODBC-2.2.11.tar.gz,
oracle-instantclient-basic-10.2.0.3-1.i386.rpm,
oracle-instantclient-sqlplus-10.2.0.3-1.i386.rpm and the drive from
www.oracle.com (odbc-oracle-3.1.0-linux-x86-glibc.tar) to configure my
asterisk machine.
I can connect to my oracle machine with isql and in
2007 Oct 23
3
Ruby on Rails and Oracle
Hello, I''m having a trouble when I try to connect RoR and Oracle.
I believe that it has something to do with database.yml, this is how my
database.yml looks:
development:
adapter: oci
database: 127.0.0.1:1521/XE
username: system
password: y1984nip0359
host: 127.0.0.1
And this is the Error that i get:
-> http://127.0.0.1:3000/blog
OCIError in BlogController#index
2008 Feb 06
3
slogging my way thru oracle, not adapter? gem install fails?
<ubuntu_gutsy> me@ubuntu:~/workspace/oracle/ro$ gem install
activerecord-oci-adapter
Bulk updating Gem source index for: http://gems.rubyforge.org
ERROR: While executing gem ... (Gem::GemNotFoundException)
Could not find activerecord-oci-adapter (> 0) in any repository
<ubuntu_gutsy> me@ubuntu:~/workspace/oracle/ro$ rake db:migrate
(in /home/me/workspace/oracle/ro)
rake
2006 Feb 20
2
Oracle & Ruby on Rails
I''ve a remote database create using Oracle. This database use schemas.
I tried to connect to it using Ruby On Rails,with this file Database.yml
:
development:
adapter: oci
host: liber
database: ENERGIA
username: user
password: pass
test:
adapter: oci
host: liber
database: ENERGIA
username: user
password: pass
production:
adapter: oci
host: liber
database:
2005 Oct 04
2
Empty fields and Oracle CLOBs
I have a field that is a clob within an Oracle database on Rails
0.13. Things have been working well until I tried to submit the field
empty via a rails app at which point the following error was
returned:
ORA-24801: illegal parameter value in OCI lob function
/app/controllers/publications_controller.rb:64:in `update''
The line in question was:
if
2006 Jul 06
2
Running Windows Oracle App into linux
Hi!
I'm trying to run a Windows Application that uses a Windows Oracle
Client version. The GUI works ok, but when I login, the program gives
me 'OCI.DLL: module not found'.
Looking for something into winnedbg I noticed it calls OCI.DLL and
loads ok, then start to load some libs, like SQLORA8.DLL, and so on..
until a DLL that it can't find and can't say me the name.
Any hints?
2005 Aug 31
2
Oracle Realtime Driver and CDR Logger
I have written an Oracle Realtime Driver and a CDR
Logger for Asterisk. The CDR logger works fine, but I
think the realtime driver has problems in recognizing
realtime extension patterns.
I have written it in C++, because I used an OCI
interface library (ORAPP). I want to post it
opensource so that I could get help in its development
and testing, and be a part of Asterisk modules.
2006 Nov 28
2
(no subject)
I''m using wx_sugar 0.1.2 with wxruby2-preview 0.0.37 on OSX and am
coming up with a strange error when trying to create a SpinCtrl:
class DatePicker < Wx::Dialog
def initialize
super(nil, :title => "Pick a date...")
arrange_vertically(:padding => 5)
@month = Wx::SpinCtrl.new(self) # line 19
add(@month)
end
end
gives error:
2007 Nov 14
3
Connecting to Oracle from an Intel Mac -- arch. conflicts
Hi all,
I''ve got a rather complex problem on my hands. I''m using Leopard (OSX
10.5) on an Intel Mac, with the standard Ruby and Rails installations.
In order to get Rails to talk to Oracle, I upgraded the Rails gems to
the latest release candidate (1.99), and installed the oracle adapter
gem. So far so good.
But the Oracle InstantClient is a PPC-only library. You
2006 Jan 09
1
php with OCI support
Hi,
I'm trying to get OCI support in php on RHEL 4.
So i installed the oracle-client and php.src.rpm
and then typed:
rpmbuild -bb --with oci /usr/src/redhat/SPECS/php.spec
It rebuild fine, but no oci support, on the spec file
of the PHP package it's there the OCI support, it's not
--with oci that i should use?
Thanks
Regards,
Ricardo
-------------- next part --------------
An