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

Nerlich, Andrew ajn@sosos.com.au
Tue, 4 Jan 2000 11:26:54 +1100


OK, that looks like it.

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.

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?

BTW, Rob, I am extremely impressed by your prompt response. Many thanks. 

Andrew

-----Original Message-----
From: Rob Page [mailto:rob.page@digicool.com]
Sent: Tuesday, 4 January 2000 11:15
To: 'Nerlich, Andrew'
Cc: 'zope@zope.org'
Subject: RE: [Zope] Zope/Linux/Oracle - Cannot establish DB connection


Andrew Nerlich wrote:
> I'm connecting http->ZServer.

Does the user under which ZServer is running have ORACLE_HOME defined?

--Rob

_______________________________________________
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 )