Sybase DA problems! Need help!!
So, I dunno what I did, but somehow I broke my sybase DA. I can import the sy_occ module into python just fine, but when I put it into my product subdirectory, zope stops running. It doesn't give any errors or anything, it just won't start. What did I do?? Someone please help! SybaseDA version: 2.0b2 Zope version: 2.1.4 Python version 1.5.2 OS: RedHat Linux 6.1 (Fresh Install) Sybase version: 11.9.2 -- HUGH BEAUMONT died in 1982!!
Hi there jiva, Do you have LD_LIBRARY_PATH set to where Sybase's library lives (probably, /opt/sybase/lib or something like that?) You should probably add export LD_LIBRARY_PATH to your Zope start batch file, or alternately to the environment of whatever user is going to run Zope. Another thing to try is to check that you can connect normally through isql to Sybase... this is to make sure that it's not just that the machine can't itself connect. The next thing after that is to test the DA in the absence of Zope - I usually just import sy_occ at the Python interpreter and, with db.py as a reference, mimic the calls that the DA would be making to connect to Sybase. Some ideas, anyways - good luck! --Brian On Fri, 25 Feb 2000 20:49:23 -0700 jiva@devware.com wrote:
So, I dunno what I did, but somehow I broke my sybase DA. I can import the sy_occ module into python just fine, but when I put it into my product subdirectory, zope stops running. It doesn't give any errors or anything, it just won't start. What did I do?? Someone please help!
SybaseDA version: 2.0b2 Zope version: 2.1.4 Python version 1.5.2 OS: RedHat Linux 6.1 (Fresh Install) Sybase version: 11.9.2 -- HUGH BEAUMONT died in 1982!!
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
jiva@devware.com wrote:
So, I dunno what I did, but somehow I broke my sybase DA. I can import the sy_occ module into python just fine, but when I put it into my product subdirectory, zope stops running. It doesn't give any errors or anything, it just won't start. What did I do?? Someone please help!
SybaseDA version: 2.0b2 Zope version: 2.1.4 Python version 1.5.2 OS: RedHat Linux 6.1 (Fresh Install) Sybase version: 11.9.2
Check your Zope shell environment. If you don't have $SYBASE set, this happens (at least, this was happening to me.). -- In flying I have learned that carelessness and overconfidence are usually far more dangerous than deliberately accepted risks. -- Wilbur Wright in a letter to his father, September 1900
On Fri, Feb 25, 2000 at 08:44:08PM -0700, Bill Anderson wrote:
Check your Zope shell environment. If you don't have $SYBASE set, this happens (at least, this was happening to me.).
ARGH... actually, it was more than that... I guess I have to run the .profile out of the sybase directory to get it to work... ::sigh:: sybase...
-- Youth. It's a wonder that anyone ever outgrows it.
participants (3)
-
Bill Anderson -
Brian Takashi Hooper -
jiva@devware.com