[Zope-DB] Error Connecting to Oracle
Matthew T. Kromer
Tue, 27 May 2003 11:32:05 -0400
Brian Brinegar wrote:
> 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?
When the number in the error message makes no sense, its because your
ORACLE_HOME isn't set properly, in most cases.
Zope Corporation http://www.zope.com/