Hi, When trying to restart the zope-server i get this error message. But i can't figure out which file zope is actually trying to write to. Can somebody please give me a hint on where i have to look? Thanks, Stephan ================================= Zope Error Zope has encountered an error while publishing this resource. Error Type: IOError Error Value: [Errno 5] Input/output error Troubleshooting Suggestions * The URL may be incorrect. * The parameters passed to this resource may be incorrect. * A resource that this resource relies on may be encountering an error. For more detailed information about the error, please refer to the HTML source for this page. If the error persists please contact the site maintainer. Thank you for your patience. Traceback (innermost last): File /usr/share/zope-2.4.0-linux2-x86/lib/python/ZPublisher/Publish.py, line 223, in publish_module File /usr/share/zope-2.4.0-linux2-x86/lib/python/ZPublisher/Publish.py, line 187, in publish File /usr/share/zope-2.4.0-linux2-x86/lib/python/Zope/__init__.py, line 226, in zpublisher_exception_hook (Object: LockableItem) File /usr/share/zope-2.4.0-linux2-x86/lib/python/ZPublisher/Publish.py, line 171, in publish File /usr/share/zope-2.4.0-linux2-x86/lib/python/ZPublisher/mapply.py, line 160, in mapply (Object: manage_restart) File /usr/share/zope-2.4.0-linux2-x86/lib/python/ZPublisher/Publish.py, line 112, in call_object (Object: manage_restart) File /usr/share/zope-2.4.0-linux2-x86/lib/python/App/ApplicationManager.py, line 393, in manage_restart (Object: LockableItem) File /usr/share/zope-2.4.0-linux2-x86/lib/python/zLOG.py, line 213, in LOG File /usr/share/zope-2.4.0-linux2-x86/lib/python/ZLogger/ZLogger.py, line 17, in log_write File /usr/share/zope-2.4.0-linux2-x86/lib/python/ZLogger/stupidFileLogger.py, line 99, in __call__ File /usr/share/zope-2.4.0-linux2-x86/lib/python/ZLogger/stupidFileLogger.py, line 151, in stupid_log_write IOError: (see above) =================================
Stephan Herschel wrote:
When trying to restart the zope-server i get this error message. But i can't figure out which file zope is actually trying to write to. Can somebody please give me a hint on where i have to look?
You are probably starting Zope without a console to output error messages to. Try starting it with a nohup command, like:: nohup ./start regards Max M -- "Sorry I would Really Like To Help More On This Project, But Am To Busy Doing Paid Work On A Tight Deadline" Max M
Hi, No, i think that's not the case. Is Zope trying to put these error messages to 'stderr'? regards, stephan Max M wrote:
Stephan Herschel wrote:
When trying to restart the zope-server i get this error message. But i can't figure out which file zope is actually trying to write to. Can somebody please give me a hint on where i have to look?
You are probably starting Zope without a console to output error messages to.
Try starting it with a nohup command, like::
nohup ./start
regards Max M
Stephan Herschel <stephan.herschel@proceryon.at> wrote:
Stephan> Hi, Stephan> When trying to restart the zope-server i get this error message. But i Stephan> can't figure out which file zope is actually trying to write to. Can Stephan> somebody please give me a hint on where i have to look? Hi, I had the same problem last week, and after some investigation I finally found that it was caused by a call to LOG (from zLOG) in a product. After several unsuccessful modifications of the call parameters, I understood that Zope uses the value of the STUPID_LOG_FILE environment variable to figure out where to write its logs. Thus, starting Zope as follows solved the problem: /usr/bin/python z2.py -D STUPID_LOG_FILE /var/log/zope.log See ${ZOPEDIR}/doc/LOGGING.txt for details. Stephan> Thanks, Stephan Regards, -- Nicolas Romero, ADP3i <http://www.adp3i.fr>
participants (3)
-
Max M -
Nicolas Romero -
Stephan Herschel