Re: [Zope] ZOracleDA

2000-07-27 Thread Riku Voipio

On Wed, Jul 26, 2000 at 06:28:55PM -0400, Satheesh Babu wrote:
 Hi,
 
 If you are running Zope on
 1. Linux:
 You need to install Oracle client libraries to compile
  ZOracleDA. As far as I know, Oracle does not give
  any easy way to install only the clients. So, if you've
  enough disk space, install Oracle with the minimum
  DB options, and compile ZOracleDA. You DON'T
  NEED to run Oracle DB on your Zope machine, to
  have zope connect to your actual DB machine.

I think that 8.1.5i had an option to install client. stuff 
(beacuse that is what i did at first). However, you need to 
compile the ZOracleDA on a machine where the entire oracle is
installed, because some crucial haeder files only come with the 
full install.

Then, just remember to set up the tns listener on server and 
the tnsnames.ora on the client, but that stuff is out of this 
list's scope.

-- 
Riku Voipio
[EMAIL PROTECTED]
09-862 60764


___
Zope maillist  -  [EMAIL PROTECTED]
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 )




RE: [Zope] ZOracleDA

2000-07-27 Thread Aaron Bostick

Thanks for the reply...

I was planning to install Zope on the database server, compile DCOracle
there, and then just copy the *.so files to the webservers, where the real
Zope install is.  Do you need the oracle client libraries on the webservers
to make the connection or are the two shared libraries that you compile,
(oci_.so and Buffer.so) enough to make the connection to the web server?

Thanks for your help,
Aaron Bostick
Network Architect
Exodus Professional Services


-Original Message-
From: Satheesh Babu [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 26, 2000 3:29 PM
To: Aaron Bostick; [EMAIL PROTECTED]
Subject: Re: [Zope] ZOracleDA


Hi,

If you are running Zope on
1. Linux:
You need to install Oracle client libraries to compile
 ZOracleDA. As far as I know, Oracle does not give
 any easy way to install only the clients. So, if you've
 enough disk space, install Oracle with the minimum
 DB options, and compile ZOracleDA. You DON'T
 NEED to run Oracle DB on your Zope machine, to
 have zope connect to your actual DB machine.

2. Win NT/2000/98
 You can install only the client libraries from the Oracle CD,
 get ZOracleDA compiled and run Zope.

I've used it both ways. Somewhere on the net there
was a tarred version of client-only-oracle-4-linux. Check
freshmeat.net and gnome.org for some GTK apps
for accessing Oracle. It was there in the homepage
for that suite of apps.

- Original Message -
From: Aaron Bostick [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, July 26, 2000 4:45 PM
Subject: [Zope] ZOracleDA


 Zope list members,

 I have been developing a zope site with oracle on linux as a backend.
 Currently, I run both zope and oracle on the same machine using the
 ZOracleDA for connectivity.  However, for production, I plan to seperate
the
 tiers and run zope and and oracle on different servers.  From looking at
the
 build instructions for the DCOracle, it seems as though it will only work
 when the web server and database server are on the same filesystem/in the
 same memory space.

 Is there a way to have my zope server talk to a remote (across the network
 somewhere) database server?  Do I have to move to something like ODBC for
 this?

 Thanks for your help!
 Aaron Bostick
 Network Architect
 Exodus Professional Services

 ___
 Zope maillist  -  [EMAIL PROTECTED]
 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 )



___
Zope maillist  -  [EMAIL PROTECTED]
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 )




Re: [Zope] ZOracleDA

2000-07-01 Thread Kiran Jonnalagadda

Michal Bukovjan wrote:
 
 Avoid using Oracle 8.1.5 at all costs. It has mislinked executables and
 libraries, I can't believe Oracle could have released such a shit.
 
 Instead, download and try Oracle 8.1.6 R2 - the current release.
 It fixes a number of issues (though not all of them) and at least it works.

I've downloaded Oracle 8.1.6, but the 8.1.5 setup file doesn't work
anymore. Does anyone have the 8.1.6 setup file? I'm not sure how to make
it myself.

-- 

Kiran Jonnalagadda
http://lunateks.com

baby.sh: while true; do echo "^G^G^G^G^G"; sed -e 's/food/poop/';
sync; sync; sleep 15; done

___
Zope maillist  -  [EMAIL PROTECTED]
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 )




Re: [Zope] ZOracleDA

2000-06-27 Thread Michal Bukovjan

Avoid using Oracle 8.1.5 at all costs. It has mislinked executables and 
libraries, I can't believe Oracle could have released such a shit.

Instead, download and try Oracle 8.1.6 R2 - the current release.
It fixes a number of issues (though not all of them) and at least it works.

Michal Bukovjan

Citace Kiran Jonnalagadda [EMAIL PROTECTED]:

 Hi,
 
 I'm trying to install ZOracleDA. I've managed to get DCOracle to build,
 but the test fails with this traceback:
 
 -
 [root@balrog src]# python DCOracle_test.py 
 Traceback (innermost last):
   File "DCOracle_test.py", line 1, in ?
 import Buffer, oci_, sys
 ImportError: /u01/app/oracle/product/8.1.5/lib/libordvir8.so: undefined
 symbol: __pure_virtual
 -
 
 I'm running Zope 2.1.6 with Python 1.5.2 on Linux. DCOracle and
 ZOracleDA are both the stab;e releases. Oracle is 8.1.5 (needed the
 Setup file from this list).
 
 I added -lordvir8 a couple of times extra to Setup to see if this
 problem went away, but it wouldn't.
 
 nm on libordvir8.so says that it contains the __pure_virtual symbol.
 
 Does anyone know how to get around this?
 
 -- 
 
 Kiran Jonnalagadda
 http://lunateks.com
 
 baby.sh: while true; do echo "^G^G^G^G^G"; sed -e 's/food/poop/';
 sync; sync; sleep 15; done
 
 ___
 Zope maillist  -  [EMAIL PROTECTED]
 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 )
 

___
Zope maillist  -  [EMAIL PROTECTED]
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 )