[Zope-DB] Newbie question: DCOracle2 installation
Tena Sakai
tena.sakai.b@bayer.com
Mon, 7 Apr 2003 13:07:37 -0700
Greetings Matt,
> Try rebuilding one more time this time do:
> make distclean
> vi Makefile (and change the PYTHON variable to point at your python)
> make
Unfortunately, that didn't do it.
I believe the failure is the same as before.
Here's whay I did:
[tws@mibcn6 2-6-1]$
[tws@mibcn6 2-6-1]$ env | grep ORA
ORACLE_SID=mibcn6
ORACLE_HOME=/usr/local/oracle/OraHome1
[tws@mibcn6 2-6-1]$
[tws@mibcn6 2-6-1]$ tnsping mibcn6
TNS Ping Utility for Linux: Version 9.2.0.1.0 - Production on 07-APR-2003 10:36:13
Copyright (c) 1997 Oracle Corporation. All rights reserved.
Used parameter files:
Used HOSTNAME adapter to resolve the alias
Attempting to contact (DESCRIPTION=(CONNECT_DATA=(SID=*)(SERVICE_NAME=mibcn6.brkl.bayer.com))(ADDRESS=(PROTOCOL=TCP)(HOST=mibcn6)(PORT=1521)))
OK (50 msec)
[tws@mibcn6 2-6-1]$
[tws@mibcn6 2-6-1]$ pwd
/usr/local/zope/2-6-1
[tws@mibcn6 2-6-1]$
[tws@mibcn6 2-6-1]$ ./stop
------
2003-04-07T10:36:56 INFO(0) Z2 Caught signal SIGTERM
------
2003-04-07T10:36:56 INFO(0) Z2 Closing all open ZODB databases
[tws@mibcn6 2-6-1]$ ------
2003-04-07T10:36:56 INFO(0) Z2 Shutting down
[1]+ Done ./start
[tws@mibcn6 2-6-1]$
[tws@mibcn6 2-6-1]$ ./start &
[1] 2289
[tws@mibcn6 2-6-1]$ ------
2003-04-07T10:37:15 INFO(0) zdaemon Started subprocess: pid 2292
------
2003-04-07T10:37:15 ERROR(200) Zope Could not import Products.DCOracle2
Traceback (innermost last):
File /usr/local/zope/2-6-1/lib/python/OFS/Application.py, line 541, in import_product
File /usr/local/zope/2-6-1/lib/python/Products/DCOracle2/__init__.py, line 91, in ?
File /usr/local/zope/2-6-1/lib/python/Products/DCOracle2/DA.py, line 90, in ?
File /usr/local/zope/2-6-1/lib/python/Products/DCOracle2/db.py, line 89, in ?
File /usr/local/zope/2-6-1/lib/python/Products/DCOracle2/DCOracle2/__init__.py, line 37, in ?
File /usr/local/zope/2-6-1/lib/python/Products/DCOracle2/DCOracle2/DCOracle2.py, line 104, in ?
ImportError: /usr/local/zope/2-6-1/lib/python/Products/DCOracle2/DCOracle2/dco2.so: undefined symbol: PyType_IsSubtype
------
2003-04-07T10:37:16 INFO(0) ZODB Opening database for mounting: '143890224_1046993689.436546'
------
2003-04-07T10:37:16 INFO(0) ZODB Mounted database '143890224_1046993689.436546' at /temp_folder
------
2003-04-07T10:37:16 INFO(0) ZServer HTTP server started at Mon Apr 7 10:37:16 2003
Hostname: mibcn6.brkl.bayer.com
Port: 7117
------
2003-04-07T10:37:16 INFO(0) ZServer FTP server started at Mon Apr 7 10:37:16 2003
Hostname: mibcn6.brkl.bayer.com
Port: 8021
------
2003-04-07T10:37:16 INFO(0) ZServer PCGI Server started at Mon Apr 7 10:37:16 2003
Unix socket: /usr/local/zope/2-6-1/var/pcgi.soc
I must be doing something stupid...
Please help.
Regards,
Tena Sakai
"Matthew T.
Kromer" To: Tena Sakai <tena.sakai.b@bayer.com>
<matt@zope.com> cc:
Subject: Re: [Zope-DB] Newbie question: DCOracle2 installation
04/07/2003 07:45
AM
Tena Sakai wrote:
>Thanks for the pointer, Matt.
>I did have a problem with the oracle instance.
>Having fix that didn't fix the zope DCOracle2 problem.
>I went into DCOracle2/DCOracle2 directory and did
>"make clean" followed by "make" and stop'ed and
>start'ed the zope. Here are the error messages that
>come to screen:
>
>
Try rebuilding one more time this time do:
make distclean
vi Makefile (and change the PYTHON variable to point at your python)
make
It looks like it picked up a different version of python for building vs
what you are running Zope with.
--
Matt Kromer
Zope Corporation http://www.zope.com/