Houston, we have forked - ZMySQLDA keeps braking
I realize that this has been discussed here before but I was not able to find the information needed. I've tried the ZOPE_SECURITY_POLICY=PYTHON trick to no avail. The sympton is that zope restarts for some reason and when it restarts, it cannot import the ZMySQLDA product.... Any Ideas? log = 2002-02-13T18:41:56 ERROR(200) zdaemon zdaemon: Wed Feb 13 12:41:56 2002: Aiieee! 31297 exited with error code: 4 ------ 2002-02-13T18:41:56 INFO(0) zdaemon zdaemon: Wed Feb 13 12:41:56 2002: Houston, we have forked ------ 2002-02-13T18:41:56 INFO(0) zdaemon zdaemon: Wed Feb 13 12:41:56 2002: Hi, I just forked off a kid: 31303 ------ 2002-02-13T18:41:56 INFO(0) zdaemon zdaemon: Wed Feb 13 12:41:56 2002: Houston, we have forked ------ 2002-02-13T18:41:59 ERROR(200) Zope Could not import Products.ZMySQLDA Traceback (innermost last): File /usr/local/zope/lib/python/OFS/Application.py, line 531, in import_product File /usr/local/zope/lib/python/Products/ZMySQLDA/__init__.py, line 106, in ? (Object: os) File /usr/local/zope/lib/python/Products/ZMySQLDA/DA.py, line 108, in ? File /usr/local/zope/lib/python/Products/ZMySQLDA/db.py, line 106, in ? File /usr/local/zope/lib/python2.1/warnings.py, line 39, in warn File /usr/local/zope/lib/python2.1/warnings.py, line 92, in warn_explicit File /usr/local/zope/lib/python2.1/warnings.py, line 98, in showwarning IOError: [Errno 5] Input/output error Micah ---------------------------------------------------------------------------- -- Micah Martin Software Engineer Object Mentor, Inc. micah@objectmentor.com www.objectmentor.com, www.xprogramming.com www.pairprogramming.com, www.junit.org
Hi Micah, It looks like it's trying to ship something out stdout. What version of MySQLDA are you running? Have you tried running with "-D"? -steve On Wednesday, February 13, 2002, at 02:10 PM, Micah Martin wrote:
I realize that this has been discussed here before but I was not able to find the information needed. I've tried the ZOPE_SECURITY_POLICY=PYTHON trick to no avail.
The sympton is that zope restarts for some reason and when it restarts, it cannot import the ZMySQLDA product.... Any Ideas?
log =
2002-02-13T18:41:56 ERROR(200) zdaemon zdaemon: Wed Feb 13 12:41:56 2002: Aiieee! 31297 exited with error code: 4 ------ 2002-02-13T18:41:56 INFO(0) zdaemon zdaemon: Wed Feb 13 12:41:56 2002: Houston, we have forked ------ 2002-02-13T18:41:56 INFO(0) zdaemon zdaemon: Wed Feb 13 12:41:56 2002: Hi, I just forked off a kid: 31303 ------ 2002-02-13T18:41:56 INFO(0) zdaemon zdaemon: Wed Feb 13 12:41:56 2002: Houston, we have forked ------ 2002-02-13T18:41:59 ERROR(200) Zope Could not import Products.ZMySQLDA Traceback (innermost last): File /usr/local/zope/lib/python/OFS/Application.py, line 531, in import_product File /usr/local/zope/lib/python/Products/ZMySQLDA/__init__.py, line 106, in ? (Object: os) File /usr/local/zope/lib/python/Products/ZMySQLDA/DA.py, line 108, in ? File /usr/local/zope/lib/python/Products/ZMySQLDA/db.py, line 106, in ? File /usr/local/zope/lib/python2.1/warnings.py, line 39, in warn File /usr/local/zope/lib/python2.1/warnings.py, line 92, in warn_explicit File /usr/local/zope/lib/python2.1/warnings.py, line 98, in showwarning IOError: [Errno 5] Input/output error
Micah
---------------------------------------------------------------------------- -- Micah Martin Software Engineer Object Mentor, Inc. micah@objectmentor.com www.objectmentor.com, www.xprogramming.com www.pairprogramming.com, www.junit.org
_______________________________________________ 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 )
Micah Martin writes:
I realize that this has been discussed here before but I was not able to find the information needed. I've tried the ZOPE_SECURITY_POLICY=PYTHON trick to no avail.
The sympton is that zope restarts for some reason and when it restarts, it cannot import the ZMySQLDA product.... Any Ideas?
log =
2002-02-13T18:41:56 ERROR(200) zdaemon zdaemon: Wed Feb 13 12:41:56 2002: Aiieee! 31297 exited with error code: 4 That's a SIGILL (Illegal Instruction Signal).
Usually a very serious problem (memory corruption or array bounds violation led to a buggy return address, or something similar)...
.... 2002-02-13T18:41:59 ERROR(200) Zope Could not import Products.ZMySQLDA Traceback (innermost last): File /usr/local/zope/lib/python/OFS/Application.py, line 531, in import_product File /usr/local/zope/lib/python/Products/ZMySQLDA/__init__.py, line 106, in ? (Object: os) File /usr/local/zope/lib/python/Products/ZMySQLDA/DA.py, line 108, in ? File /usr/local/zope/lib/python/Products/ZMySQLDA/db.py, line 106, in ? File /usr/local/zope/lib/python2.1/warnings.py, line 39, in warn File /usr/local/zope/lib/python2.1/warnings.py, line 92, in warn_explicit File /usr/local/zope/lib/python2.1/warnings.py, line 98, in showwarning IOError: [Errno 5] Input/output error Python want to issue a warning, probably a deprecation warning (in my view a stupid invention...), and it cannot because the file descriptor is in an unheathy state. This may happen, when a process is started in a terminal session and the session is later terminated (but the process is still running). An explicit redirect of stdout and stderr may help with this.
The two problems are almost surely not related. By the way: did you already upgrade to Python 2.1.2 and Zope 2.4.4 or Zope 2.5? There are known memory management problems in earlier Python/Zope versions. Dieter
(belatedly, since I'm catching up on email) Did you apply Andy Dustman's latest ZMySQLDA product upgrades? They address issues with crashing Zope while using MySQL. ----- Original Message ----- From: "Micah Martin" <micah@objectmentor.com> To: <zope@zope.org> Sent: Wednesday, February 13, 2002 2:10 PM Subject: [Zope] Houston, we have forked - ZMySQLDA keeps braking
I realize that this has been discussed here before but I was not able to find the information needed. I've tried the ZOPE_SECURITY_POLICY=PYTHON trick to no avail.
The sympton is that zope restarts for some reason and when it restarts, it cannot import the ZMySQLDA product.... Any Ideas?
log =
2002-02-13T18:41:56 ERROR(200) zdaemon zdaemon: Wed Feb 13 12:41:56 2002: Aiieee! 31297 exited with error code: 4 ------ 2002-02-13T18:41:56 INFO(0) zdaemon zdaemon: Wed Feb 13 12:41:56 2002: Houston, we have forked ------ 2002-02-13T18:41:56 INFO(0) zdaemon zdaemon: Wed Feb 13 12:41:56 2002: Hi, I just forked off a kid: 31303 ------ 2002-02-13T18:41:56 INFO(0) zdaemon zdaemon: Wed Feb 13 12:41:56 2002: Houston, we have forked ------ 2002-02-13T18:41:59 ERROR(200) Zope Could not import Products.ZMySQLDA Traceback (innermost last): File /usr/local/zope/lib/python/OFS/Application.py, line 531, in import_product File /usr/local/zope/lib/python/Products/ZMySQLDA/__init__.py, line 106, in ? (Object: os) File /usr/local/zope/lib/python/Products/ZMySQLDA/DA.py, line 108, in ? File /usr/local/zope/lib/python/Products/ZMySQLDA/db.py, line 106, in ? File /usr/local/zope/lib/python2.1/warnings.py, line 39, in warn File /usr/local/zope/lib/python2.1/warnings.py, line 92, in warn_explicit File /usr/local/zope/lib/python2.1/warnings.py, line 98, in showwarning IOError: [Errno 5] Input/output error
Micah
-------------------------------------------------------------------------- -- -- Micah Martin Software Engineer Object Mentor, Inc. micah@objectmentor.com www.objectmentor.com, www.xprogramming.com www.pairprogramming.com, www.junit.org
_______________________________________________ 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 )
participants (4)
-
Dieter Maurer -
Matthew T. Kromer -
Micah Martin -
Steve Spicklemire