[Zope] Sudden ZOPE Error and Failure
peter sabaini
sabaini@inode.at
Fri, 27 Dec 2002 18:49:37 +0100
Hm the medusa logger is having problems opening its log file - sounds as
if theres something up with your filesystem.
What system does your Zope run on - NT / 2000 / XP, fat32 or NTFS? Maybe
the file is still locked due to some system malfunction? Did you check
if theres space on the disk left? The log file in question is probably
the Z2.log - is it still there and writeable?
hth,
peter.
Deb B. wrote:
> Please help. I haven't installed anything new today on my ZOPE server
> (no products, no new objects/code, etc.) and only had to shut the server
> down a few times due to another program's processes taking over the
> machine. This has happened in the past but never without any impact on
> ZOPE.
>
> Now, when I start the server and try to log in to the
> http://intranet:8080/manage pages, I get the following error and
> ultimate failure:
>
> <--there is a line(s) here that I cannot read in the DOS window but it
> ends starting here-->
>
> obj.handle_error()
>
> File "D:\IntranetSite\ZServer\medusa\http_server.py", line 437, in
> handle_error asynchat.async_chat.handle_error (self)
>
> File "D:\IntranetSite\ZServer\medussa\asyncore.py", line 421, in
> handle_error self.close()
>
> File "D:\IntranetSite\ZServer\HTTPServer.py", line 293, in close
> p.more() # free up resources held by producer
>
> File "D:\IntranetSite\ZServer\Producers.py", line 36, in more
> getattr(self.logger, self.method)(self.bytes)
>
> File "D:\IntranetSite\ZServer\medusa\http_server.py", line 289, in log '
> - %s [%s] "%s" %d %d "%s" "%s"\n' % (
>
> File "D:\IntranetSite\ZServer\medusa\logger.py", line 247, in log
> self.logger.log ('%s%s' % (ip, message))
>
> File "D:\IntranetSite\ZServer\medusa\logger.py", line 77, in log
> self.write (message)
>
> File "D:\IntranetSite\ZServer\medusa\logger.py", line 53, in write
> self.maybe_flush()
>
> File "D:\IntranetSite\ZServer\medusa\logger.py", line 65, in maybe_flush
> self.file.flush()
>
> IOError: [Errno 91] Bad file descriptor
>
> D:\IntranetSite>
>
> and my ZOPE is dead!
>
> Now, I'm not a programmer. I'm just a solo IT person trying to maintain
> a moderately sized intranet within a small company. I have no idea how
> to recover from this error so that I get access to my ZOPE site again.
> Someone please help!
>
>
>
>
>
>
> ------------------------------------------------------------------------
> Do you Yahoo!?
> Yahoo! Mail Plus
> <http://rd.yahoo.com/mail/mailsig/*http://mailplus.yahoo.com> -
> Powerful. Affordable. Sign up now
> <http://rd.yahoo.com/mail/mailsig/*http://mailplus.yahoo.com>