[Zope] RE: Error in connect

Rob Page rob.page@digicool.com
Sun, 26 Dec 1999 21:44:01 -0500


> I'm trying to get your Oracle module for python working and 
> it compiled fine but when I run your test script I get the following
output:
> 
> Traceback (innermost last):
>   File "DCOracle_test.py", line 5, in ?
>     dbc=oci_.Connect(sys.argv[1])
> OracleError: (12154, 'ORA-12154: TNS:could not resolve 
> service name\012')
> 
> any idea whats up?
> 
> Its Oracle 8.0.5 installed on Redhat 6.1 with kernel 2.2.13 
> and python 1.5 

This might be a problem with tnsnames.ora.  Can you connect to the
server with sqlplus using the same connection string specified in the
DA?  That's a good first check of an Oracle install.  Also, ensure the
user as whom Zope is running has ORACLE_HOME and such
configured/available.

--Rob