[Zope-DB] Error Connecting to Oracle

Brian Brinegar brinegar@pier.ecn.purdue.edu
Tue, 27 May 2003 10:11:03 -0500

I have a script which runs as a cronjob once a day. I can run the script 
from the command line with no problem, however when cron runs the script 
I get the following error:

OCIEnvCreate failed: ././dco2.c:1316Traceback (most recent call last):
  File "/backup/bin/pullUNSarticles.py", line 100, in ?
    dbh = DCOracle2.connect(dsn=dsn)
line 164, in connect
    db = dco2.connect(u, p, dbname)
dco2.DatabaseError: (-4261436, '')

I couldn't find an oracle error 4261436 and I'm guessing it's a 
configuration problem on my end. Anyone have a clue?