Restart causes "Module ZPublisher.Publish, line 98, in publish"
Hi List, I am new to the whole zope world, so I'm sorry if this is a real newbie question. :) I have zope setup and everything seems to be working OK. except for 2 things. Someone developed a zope product that I installed on the server that produces errors and in the control panel when I try to restart the zope server I get an error page. When I check the error log, I get this traceback when I try to restart: Traceback (innermost last): Module ZPublisher.Publish, line 98, in publish Module ZPublisher.mapply, line 88, in mapply Module ZPublisher.Publish, line 39, in call_object Module App.ApplicationManager, line 327, in manage_restart Module zLOG, line 130, in LOG Module ZLogger.ZLogger, line 16, in log_write Module ZLogger.stupidFileLogger, line 27, in __call__ Module ZLogger.stupidFileLogger, line 90, in stupid_log_write IOError: [Errno 5] Input/output error And the errors with the product start the same way, so I think it may be the instalation of Zope or permissions that are set wrong. Any ideas where I can start looking to fix this? (BTW, I can restart it from the command line.) I don't know if any of the following is relavent or not, but I figured it can't hurt to include it. This is the debug info: Zope version: (Zope 2.6.1 (binary release, python 2.1, linux2-x86), python 2.1.3, linux2) * Python version: 2.1.3 (#1, Sep 19 2002, 13:15:46) [GCC egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)] * System Platform: linux2 * SOFTWARE_HOME: /home2/zope/pub/zope-2.6.1/lib/python * INSTANCE_HOME: /home2/zope/pub/zope-2.6.1 * CLIENT_HOME: /home2/zope/pub/zope-2.6.1/var * Process ID: 30719 (2051) * Running for: 2 days 13 hours 58 min 51 sec * sys.path: /home2/zope/pub/zope-2.6.1/lib/python /home2/zope/pub/zope-2.6.1 /home2/zope/pub/zope-2.6.1 /home2/zope/pub/zope-2.6.1/lib/python2.1 /home2/zope/pub/zope-2.6.1/lib/python2.1/plat-linux2 /home2/zope/pub/zope-2.6.1/lib/python2.1/lib-tk /home2/zope/pub/zope-2.6.1/lib/python2.1/lib-dynload /home2/zope/pub/zope-2.6.1/lib/python2.1/site-packages Thanks for any info... Jimmy -- Jimmy <jimmy@v2k.ca>
Jimmy wrote at 2003-4-23 15:40 -0400:
I am new to the whole zope world, so I'm sorry if this is a real newbie question. :)
I have zope setup and everything seems to be working OK. except for 2 things. Someone developed a zope product that I installed on the server that produces errors and in the control panel when I try to restart the zope server I get an error page. When I check the error log, I get this traceback when I try to restart:
Traceback (innermost last): Module ZPublisher.Publish, line 98, in publish Module ZPublisher.mapply, line 88, in mapply Module ZPublisher.Publish, line 39, in call_object Module App.ApplicationManager, line 327, in manage_restart Module zLOG, line 130, in LOG Module ZLogger.ZLogger, line 16, in log_write Module ZLogger.stupidFileLogger, line 27, in __call__ Module ZLogger.stupidFileLogger, line 90, in stupid_log_write IOError: [Errno 5] Input/output error
Something wants to write a log message and cannot (because the standard output has been closed in the meantime). Activate logging (--> doc/LOGGING.txt) and the problem will go away. Dieter
participants (2)
-
Dieter Maurer -
Jimmy