[Zope-DB] DCOracle2 "Unable to determine Oracle version strings"

Martinez, Michael MMARTINEZ at CSREES.USDA.GOV
Fri Jul 23 14:53:02 EDT 2004


Problem fixed. I did two things to fix it, I don't know which one
actually fixed it (maybe both)

 

1.	changed permissions on directory of oracle install to
world-readable
2.	removed unneeded entries from tnsnames.ora

 

Thanks to all for your help!

 

Michael Martinez

Unix System Administrator

ISTM/CSREES/USDA Room 4161

Washington, DC 2004

Phone: (202) 720-6223

Email: mmartinez at csrees.usda.gov

  _____  

From: Matthew T. Kromer [mailto:matt at bane.mi.org] 
Sent: Friday, July 23, 2004 2:23 PM
To: Martinez, Michael
Cc: zope-db at zope.org
Subject: Re: [Zope-DB] DCOracle2 "Unable to determine Oracle version
strings"

 

I'd guess that's a problem with either the run time library path, or a
problem in tnsnames.ora. 

 

My best suggestion is to try to run python & load DCOracle2 manually to
see if any errors spit out on the console. 

 

e.g. 

 

$ cd lib/python/Products/DCOracle2 

$ python 

>>> import DCOracle2 

>>> db = DCOracle2.connect("scott/tiger at db") 

>>> print db.Version() 

 

if Zope can't connect its likely that this above wont work either, but
it may show you some informative messages along the way. 

 

On Jul 23, 2004, at 2:03 PM, Martinez, Michael wrote: 

 

I've got DCOracle2 installed on Redhat ES2.1, Python 2.3.4, and Zope
2.7.1. Zope manager -> Z Oracle Database connection -> Debug says
"Unable to determine Oracle version strings" and is unable to connect to
the database. 

 

  

 

Does anyone know how to fix this? 

 

  

 

Michael Martinez 

 

Unix System Administrator 

 

ISTM/CSREES/USDA Room 4161 

 

Washington, DC 2004 

 

Phone: (202) 720-6223 

 

Email: mmartinez at csrees.usda.gov 

 

  

_______________________________________________ 

Zope-DB mailing list 

Zope-DB at zope.org 

http://mail.zope.org/mailman/listinfo/zope-db 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.zope.org/pipermail/zope-db/attachments/20040723/96163757/attachment.htm


More information about the Zope-DB mailing list