Forums | Admin

Discussion Forums: open-discussion

Start New Thread Start New Thread
Message: 40183
BY: Peter Battaglia (pbatt)
DATE: 2008-01-22 03:20
SUBJECT: ORA-12154?

 

Hi-

I have a Ruby script that connects to Oracle, gets some stuff and puts it in a text file.

When I run it on the command line, it works fine, but when I put it on a cron, the script chokes and I get the following:

env.c:257:in oci8lib.so: Error while trying to retrieve text for error ORA-12154 (OCIError)

from /usr/local/lib/ruby/site_ruby/1.8/oci8.rb:228:in `initialize'
/.../MYSCRIPT1.rb:26:in `new'
/.../MYSCRIPT2.rb:26

Anyone seen this before?

Thanks!


Thread View

Thread Author Date
ORA-12154?Peter Battaglia2008-01-22 03:20
      RE: ORA-12154?Lori Olson2008-01-22 04:02
            RE: ORA-12154?Peter Battaglia2008-01-22 14:35

Post a followup to this message