[Zope] DCOracle help required

Dieter Maurer dieter@handshake.de
Fri, 18 Aug 2000 21:55:11 +0200 (CEST)


Alwyn Schoeman writes:
 > Let me explain my situation.
 > The oracle server is version 7.3.4 running on Solaris.
 > I compiled DCOracle 1.3.1b1 on the Sun using the Oracle 7 libraries.
 > With this I can access an Oracle 8.0.5 database running on Linux over the 
 > network.
 > 
 > Now I want to access the Oracle 7 database from a Linux machine.  Only Oracle 
 > you can get for Linux is 8, so I'm using 8.1.6.
 > I can get it to compile and installed.
 > 
 > But when I do the following to the Oracle 7 database I get:
 > >>> import DCOracle
 > >>> dbc = DCOracle.Connect("ota/ota@ota1")
 > OCI_ERROR at oci_8.c:326
 > ORA-01005: null password given; logon denied
 > Traceback (innermost last):
 >   File "<stdin>", line 1, in ?
 >   File "/usr/lib/python1.5/DCOracle/ocidb.py", line 77, in __init__
 >     sc=oci_8.Logon(u,p,s)
 > OracleError: (1005, 'ORA-01005: null password given; logon denied')
 > 
 > Can anyone please help me to get this to work...
Try to compile DCOracle without the "-DORACLE8" compiler option.
This will work with Oracle 8, too.


Dieter