TOracleServer Error

Hi all!

I’m having some problems with the TOracleServer class.
I’m using the precompiled 5.17.04 binaries on an SLC4 machine. According to the configuration report, oracle was enabled. Yet when I do:

root [0] TOracleServer os("oracle://atlas_muoncert.cern.ch:10121/atlas_muoncert","atlas_muon_cert",<password>);

I get:

Error: Function TOracleServeros("oracle://atlas_muoncert.cern.ch:10121/atlas_muoncert","atlas_muon_cert",<password>) is not defined in current scope  (tmpfile):1:
*** Interpreter error recovered ***

Even tab-completion for TOr doesn’t work.

My environment variables are:

ROOTSYS=/home/muonuser/cern.ch/sw/lcg/external/root/5.17.04/slc4_ia32_gcc34/root
LD_LIBRARY_PATH=/home/muonuser/cern.ch/sw/lcg/external/root/5.17.04/slc4_ia32_gcc34/root/lib:/home/muonuser/cern.ch/sw/lcg/external/oracle/11.1.0.1-full/slc4_ia32_gcc34/lib

Is there something I’m doing wrong?

Nir

Hi,

Try TSQLServer *os = TSQLServer::Connect("oracle://atlas_muoncert.cern.ch:10121/atlas_muoncert","atlas_muon_cert",<password>);

Cheers,
Philippe