[Zope] Zope/Linux/Oracle - Cannot establish DB connection

Rob Page rob.page@digicool.com
Mon, 3 Jan 2000 19:50:21 -0500


Andrew Nerlich wrote:
> OK, that looks like it.

Cool!
 
> When I stopped ZServer (which was originally started by init 
> on boot) and restarted it from a logon (which would have run
/etc/profile 
> where all the Oracle environment variables were initialised), I was
able to connect.

Yep...
 
> It looks like I need to set these ORACLE_ environment variables in my
> startup scripts. Is it a good idea to do this in 
> /etc/rc.d/init.d/zope, or would you recommend doing it somewhere else?

Hmm.. good question.  That sounds like as reasonable a place as I can
think of...
 
> BTW, Rob, I am extremely impressed by your prompt response. 

We got lucky that I've had the same problem before you!  :)

--Rob