[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

oracle connection problem

Pradeepta Swain

12/28/2007 8:26:00 AM

Hi ,
I am using oracle client 9.2 ,ruby 1.8.6 and oci8 is installed .but
when i am trying to connect to oracle using the code :


equire 'oci8'
conn = OCI8.new("ftdam", "ftdam","host.string")

it is giving me error like this one :

c:/rubyapps/lib/ruby/site_ruby/1.8/oci8.rb:51:in `init': OCI Library
Initialization Error (OCIError)
from c:/rubyapps/lib/ruby/site_ruby/1.8/oci8.rb:51
from
c:/rubyapps/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`gem_original_require'
from
c:/rubyapps/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`require'
from ip_authenticate_oracle.rb:1

What is the problem and how to fix it .
I am able to connect to oracle using the same user name,password and
host string using sqlplus.
--
Posted via http://www.ruby-....

5 Answers

KUBO Takehiro

12/28/2007 12:19:00 PM

0

Hi,

On Dec 28, 2007 5:26 PM, Pradeepta Swain <pradeepta.swain@hcl.in> wrote:
> Hi ,
> I am using oracle client 9.2 ,ruby 1.8.6 and oci8 is installed .but
> when i am trying to connect to oracle using the code :
>
>
> equire 'oci8'
> conn = OCI8.new("ftdam", "ftdam","host.string")
>
> it is giving me error like this one :
>
> c:/rubyapps/lib/ruby/site_ruby/1.8/oci8.rb:51:in `init': OCI Library
> Initialization Error (OCIError)
(snip)
> What is the problem and how to fix it .
> I am able to connect to oracle using the same user name,password and
> host string using sqlplus.

A thread in the following link may help you.
http://rubyforge.org/forum/forum.php?thread_id=19973&for...

Alias

12/13/2013 8:09:00 PM

0

On 12/13/2013 8:54 PM, Werner wrote:
> On Thursday, December 12, 2013 11:16:22 PM UTC-5, chatnoir wrote:
>> On Thursday, December 12, 2013 7:31:27 PM UTC-8, Werner wrote:
>>
>>> -Financial editor Jeff Berwick: "If they allow interest rates to rise, it will effectively make the U.S. government bankrupt and insolvent, and it would make the U.S. government collapse. . . . They are preparing for a major societal collapse. It is obvious and it will happen, and it will be very scary and very dangerous."
>>
>>>
>>
>>>
>>
>>>
>>
>>>
>>
>>>
>>
>>> http://theeconomiccollapseblog.com/archives/dent-faber-celente-maloney-rogers-what-do-they-say-is-comi...
>>
>>
>>
>> But you love it!
>
>
> Why? l'll be a lot worse off. I wont be the only one. Observe Greece. Expect worse.
>

Greece is recovering. Oops.

--
Alias

GLOBALIST

12/13/2013 8:19:00 PM

0

On Friday, December 13, 2013 2:08:48 PM UTC-6, Alias wrote:
> On 12/13/2013 8:54 PM, Werner wrote:
>
> > On Thursday, December 12, 2013 11:16:22 PM UTC-5, chatnoir wrote:
>
> >> On Thursday, December 12, 2013 7:31:27 PM UTC-8, Werner wrote:
>
> >>
>
> >>> -Financial editor Jeff Berwick: "If they allow interest rates to rise, it will effectively make the U.S. government bankrupt and insolvent, and it would make the U.S. government collapse. . . . They are preparing for a major societal collapse. It is obvious and it will happen, and it will be very scary and very dangerous."
>
> >>
>
> >>>
>
> >>
>
> >>>
>
> >>
>
> >>>
>
> >>
>
> >>>
>
> >>
>
> >>>
>
> >>
>
> >>> http://theeconomiccollapseblog.com/archives/dent-faber-celente-maloney-rogers-what-do-they-say-is-comi...
>
> >>
>
> >>
>
> >>
>
> >> But you love it!
>
> >
>
> >
>
> > Why? l'll be a lot worse off. I wont be the only one. Observe Greece. Expect worse.
>
> >
>
>
>
> Greece is recovering. Oops.
>
>
>
> --
>
> Alias

You don't watch much news do you...but you were compelled
by your illness to fire off some 'catty' remark to Werner.

GLOBALIST

12/13/2013 8:25:00 PM

0


The banks are doing great after they were bailed out a dozen times
-----------------


Unemployment in Greece remains stuck near record highs, but even many of those with a job are struggling financially.

Newly released figures show nearly 30 percent of workers in the private sector are earning less that 600 euros a month.

Theodoros Anastasopoulos left university three years ago, but the only job he can get is as a public opinion pollster:

He told euronews: “Two years after I completed my studies, I found this part-time job which pays me 250 to 300 euros a month. Obviously, I cannot afford to rent anywhere to live, I stay with my mother and my sister and the money we make covers only the food, utility bills and taxes.”

The Greek Labour Ministry says there are 1,371,450 people employed by private companies in the country.

Twenty percent of them – 274,000 – earn less that 500 euros a month, mostly working part time. Another eight percent – that’s 100,000 people – have a monthly income of 500 to 600 euros.

Most of the rest earn between 1,000 and 2,000 euros. Labour costs have fallen as unemployment has been rising.

Anna Hatzioannidou told us: “I finished my architecture studies a year ago. I have sent out over 100 CVs, I have only had a couple of job interviews.. Now, I work as a part time photographer, taking pictures at night clubs and bars, for 240 euros per month.”

Dramatically lower wages have not meant more people in work.

In September unemployment inched up to 27.4 percent of the workforce from 27.3 percent in the previous two months. Almost 52 percent of young people are without a job.

Euronews reporter in Athens Symela Touchtidou said: “Even when people are poorly paid, often it takes a long time for them to get their money. Research by the Greek Confederation of Trade Unions shows nearly half of all companies are paying wages at least one month late.”

Alias

12/14/2013 12:16:00 AM

0

On 12/13/2013 9:24 PM, GLOBALIST wrote:
>
> The banks are doing great after they were bailed out a dozen times
> -----------------
>
> Unemployment in Greece remains stuck near record highs, but even many
> of those with a job are struggling financially.
>
> Newly released figures show nearly 30 percent of workers in the
> private sector are earning less that 600 euros a month.
>
> Theodoros Anastasopoulos left university three years ago, but the
> only job he can get is as a public opinion pollster:
>
> He told euronews: ???Two years after I completed my studies, I found
> this part-time job which pays me 250 to 300 euros a month. Obviously,
> I cannot afford to rent anywhere to live, I stay with my mother and
> my sister and the money we make covers only the food, utility bills
> and taxes.???
>
> The Greek Labour Ministry says there are 1,371,450 people employed by
> private companies in the country.
>
> Twenty percent of them ??? 274,000 ??? earn less that 500 euros a month,
> mostly working part time. Another eight percent ??? that???s 100,000
> people ??? have a monthly income of 500 to 600 euros.
>
> Most of the rest earn between 1,000 and 2,000 euros. Labour costs
> have fallen as unemployment has been rising.
>
> Anna Hatzioannidou told us: ???I finished my architecture studies a
> year ago. I have sent out over 100 CVs, I have only had a couple of
> job interviews. Now, I work as a part time photographer, taking
> pictures at night clubs and bars, for 240 euros per month.???
>
> Dramatically lower wages have not meant more people in work.
>
> In September unemployment inched up to 27.4 percent of the workforce
> from 27.3 percent in the previous two months. Almost 52 percent of
> young people are without a job.
>
> Euronews reporter in Athens Symela Touchtidou said: ???Even when people
> are poorly paid, often it takes a long time for them to get their
> money. Research by the Greek Confederation of Trade Unions shows
> nearly half of all companies are paying wages at least one month
> late.???
>

I guess you don't know the difference between better and well.

--
Alias