[Zope] Zope deamon doesn't start any more

Roland Giesler roland at giesler.za.net
Fri Dec 3 04:28:53 EST 2004


This is what it gives me, but to a newcomer in zope it's pretty much greek
to me!

[root at inet bin]# runzope >output
------
2004-12-03T11:25:32 INFO(0) ZServer HTTP server started at Fri Dec  3
11:25:32 2004
        Hostname: inet.rhenghs.wcape.school.za
        Port: 9080
------
2004-12-03T11:25:32 INFO(0) ZServer FTP server started at Fri Dec  3
11:25:32 2004
        Hostname: inet.rhenghs.wcape.school.za
        Port: 9021
------
2004-12-03T11:25:32 INFO(0) Zope Set effective user to "zope"
------
2004-12-03T11:25:39 INFO(0) IngeniWeb
NOTICE   global_symbols.py:20:Fri Dec  3 11:25:39 2004: 'Starting
/var/lib/zope/Products/GroupUserFolder at 4 debug level'

------
2004-12-03T11:25:39 INFO(0) PlacelessTranslationService Applying patch
*** Patching ZPublisher.Publish with the get_request patch! ***
------
2004-12-03T11:25:41 DEBUG(-200) FileStorage create storage
/var/lib/zope/data/Data.fs
------
2004-12-03T11:25:43 DEBUG(-200) TemporaryStorage create storage session
------
2004-12-03T11:25:43 BLATHER(-100) ZODB Commiting subtransaction of size 6044
------
2004-12-03T11:25:43 ERROR(200) Archetypes None
Traceback (most recent call last):
  File "/var/lib/zope/Products/Archetypes/content_driver/__init__.py", line
15, in ?
    import MSWord
  File "/var/lib/zope/Products/Archetypes/content_driver/MSWord.py", line
20, in ?
    log("""Failed to import the OpenOffice PyUNO content converter.
  File "/var/lib/zope/Products/Archetypes/debug.py", line 155, in log
    msg = "%s\n" % (self.munge_message(msg, **kwargs))
  File "/var/lib/zope/Products/Archetypes/debug.py", line 122, in
munge_message
    frames = self.generateFrames(offset, offset+deep)
  File "/var/lib/zope/Products/Archetypes/debug.py", line 112, in
generateFrames
    return inspect.stack()[start:end]
  File "/usr/lib/python2.3/inspect.py", line 795, in stack
    return getouterframes(sys._getframe(1), context)
  File "/usr/lib/python2.3/inspect.py", line 776, in getouterframes
    framelist.append((frame,) + getframeinfo(frame, context))
  File "/usr/lib/python2.3/inspect.py", line 751, in getframeinfo
    lines, lnum = findsource(frame)
  File "/usr/lib/python2.3/inspect.py", line 435, in findsource
    if pat.match(lines[lnum]): break
IndexError: list index out of range
------
2004-12-03T11:25:43 ERROR(200) Zope Couldn't install Archetypes
Traceback (most recent call last):
  File
"/usr/lib/zope/./build/build-base/python-2.3/build-lib/OFS/Application.py",
line 738, in install_product
  File "/var/lib/zope/Products/Archetypes/__init__.py", line 72, in
initialize
    import examples
  File "/var/lib/zope/Products/Archetypes/examples/__init__.py", line 1, in
?
    import DDocument
  File "/var/lib/zope/Products/Archetypes/examples/DDocument.py", line 1, in
?
    from Products.Archetypes.public import *
  File "/var/lib/zope/Products/Archetypes/public.py", line 4, in ?
    from BaseContent import BaseContent
  File "/var/lib/zope/Products/Archetypes/BaseContent.py", line 8, in ?
    from BaseObject import BaseObject
  File "/var/lib/zope/Products/Archetypes/BaseObject.py", line 18, in ?
    from Schema import Schema, Schemata
  File "/var/lib/zope/Products/Archetypes/Schema.py", line 12, in ?
    from BaseUnit import BaseUnit
  File "/var/lib/zope/Products/Archetypes/BaseUnit.py", line 11, in ?
    from content_driver import getDefaultPlugin, lookupContentType,
getConverter
  File "/var/lib/zope/Products/Archetypes/content_driver/__init__.py", line
25, in ?
    log("""Unable to import MSWord content driver, this is most likely due
to
  File "/var/lib/zope/Products/Archetypes/debug.py", line 155, in log
    msg = "%s\n" % (self.munge_message(msg, **kwargs))
  File "/var/lib/zope/Products/Archetypes/debug.py", line 122, in
munge_message
    frames = self.generateFrames(offset, offset+deep)
  File "/var/lib/zope/Products/Archetypes/debug.py", line 112, in
generateFrames
    return inspect.stack()[start:end]
  File "/usr/lib/python2.3/inspect.py", line 795, in stack
    return getouterframes(sys._getframe(1), context)
  File "/usr/lib/python2.3/inspect.py", line 776, in getouterframes
    framelist.append((frame,) + getframeinfo(frame, context))
  File "/usr/lib/python2.3/inspect.py", line 751, in getframeinfo
    lines, lnum = findsource(frame)
  File "/usr/lib/python2.3/inspect.py", line 435, in findsource
    if pat.match(lines[lnum]): break
IndexError: list index out of range
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Zope/Startup/run.py", line 50, in ?
    run()
  File "/usr/lib/zope/lib/python/Zope/Startup/run.py", line 19, in run
    start_zope(opts.configroot)
  File "/var/lib/zope/Products/validation/validators/../__init__.py", line
51, in start_zope

  File "/var/lib/zope/Products/validation/validators/../__init__.py", line
230, in startZope

  File "/var/lib/zope/Products/validation/validators/../__init__.py", line
47, in startup

  File
"/usr/lib/zope/./build/build-base/python-2.3/build-lib/Zope/App/startup.py",
line 96, in startup
  File
"/usr/lib/zope/./build/build-base/python-2.3/build-lib/OFS/Application.py",
line 278, in initialize
  File
"/usr/lib/zope/./build/build-base/python-2.3/build-lib/OFS/Application.py",
line 305, in initialize
  File
"/usr/lib/zope/./build/build-base/python-2.3/build-lib/OFS/Application.py",
line 560, in install_products
  File
"/usr/lib/zope/./build/build-base/python-2.3/build-lib/OFS/Application.py",
line 591, in install_products
  File
"/usr/lib/zope/./build/build-base/python-2.3/build-lib/OFS/Application.py",
line 738, in install_product
  File "/var/lib/zope/Products/Archetypes/__init__.py", line 72, in
initialize
    import examples
  File "/var/lib/zope/Products/Archetypes/examples/__init__.py", line 1, in
?
    import DDocument
  File "/var/lib/zope/Products/Archetypes/examples/DDocument.py", line 1, in
?
    from Products.Archetypes.public import *
  File "/var/lib/zope/Products/Archetypes/public.py", line 4, in ?
    from BaseContent import BaseContent
  File "/var/lib/zope/Products/Archetypes/BaseContent.py", line 8, in ?
    from BaseObject import BaseObject
  File "/var/lib/zope/Products/Archetypes/BaseObject.py", line 18, in ?
    from Schema import Schema, Schemata
  File "/var/lib/zope/Products/Archetypes/Schema.py", line 12, in ?
    from BaseUnit import BaseUnit
  File "/var/lib/zope/Products/Archetypes/BaseUnit.py", line 11, in ?
    from content_driver import getDefaultPlugin, lookupContentType,
getConverter
  File "/var/lib/zope/Products/Archetypes/content_driver/__init__.py", line
25, in ?
    log("""Unable to import MSWord content driver, this is most likely due
to
  File "/var/lib/zope/Products/Archetypes/debug.py", line 155, in log
    msg = "%s\n" % (self.munge_message(msg, **kwargs))
  File "/var/lib/zope/Products/Archetypes/debug.py", line 122, in
munge_message
    frames = self.generateFrames(offset, offset+deep)
  File "/var/lib/zope/Products/Archetypes/debug.py", line 112, in
generateFrames
    return inspect.stack()[start:end]
  File "/usr/lib/python2.3/inspect.py", line 795, in stack
    return getouterframes(sys._getframe(1), context)
  File "/usr/lib/python2.3/inspect.py", line 776, in getouterframes
    framelist.append((frame,) + getframeinfo(frame, context))
  File "/usr/lib/python2.3/inspect.py", line 751, in getframeinfo
    lines, lnum = findsource(frame)
  File "/usr/lib/python2.3/inspect.py", line 435, in findsource
    if pat.match(lines[lnum]): break
IndexError: list index out of range


> -----Original Message-----
> From: Chris McDonough [mailto:chrism at plope.com] 
> Sent: 02 December 2004 21:25
> To: Roland Giesler
> Cc: 'Buchan Milne'; zope at zope.org
> Subject: RE: [Zope] Zope deamon doesn't start any more
> 
> 
> If you used the source install, there is a program named 
> "runzope" in your instance home that runs Zope in the 
> foreground.  Use that to determine the problem.
> 
> On Thu, 2004-12-02 at 21:16 +0200, Roland Giesler wrote:
> > Chris McDonough [mailto:chrism at plope.com] wrote:
> > > 
> > > I think this is a bug that was fixed a later version of Zope.
> > >  I'd suggest installing Zope 2.7.3 from source instead of the 
> > > Mandrake RPM to fix it.
> > 
> > Ok, I've upgraded to 2.7.3, but my problem hasn't gone 
> away. There are 
> > no entries being written to the zope log.
> > 
> > Here are my running processes.
> > 
> > [root at inet root]# /etc/rc.d/init.d/zope start
> > Starting zope: . . daemon process started, pid=7413
> > 
> > [root at inet root]# ps -e | grep "python"
> >  7412 ?        00:00:00 python
> >  7413 ?        00:00:00 python
> > 
> > However, again, about 10 minutes later: no more python processes 
> > running!
> > 
> > Any other ideas?
> > 
> > > 
> > > On Wed, 2004-12-01 at 16:17, Roland Giesler wrote:
> > > > I have installed zope 2.7.0 using Mandrake urpmi (rpm
> > > installed) and
> > > > proceeded to play with zope.  All worked fine for about 4
> > > hours.  Then
> > > > I downloaded the plone tarball, extracted it into the
> > > > /var/lib/zope/Products/ folder, and used the zope 
> control panel to 
> > > > restart zope.  It didn't start. It looks like it 
> starts, but does 
> > > > nothing.
> > > > 
> > > > [root at inet lib]# /etc/rc.d/init.d/zope start
> > > > Starting zope: Traceback (most recent call last):
> > > >   File "/usr/lib/zope/lib/python/Zope/Startup/zopectl.py",
> > > line 207, in ?
> > > >     main()
> > > >   File "/usr/lib/zope/lib/python/Zope/Startup/zopectl.py",
> > > line 190, in main
> > > >     c.onecmd(" ".join(options.args))
> > > >   File "/usr/lib/python2.3/cmd.py", line 210, in onecmd
> > > >     return func(arg)
> > > >   File "/usr/lib/zope/lib/python/Zope/Startup/zopectl.py",
> > > line 134,
> > > > in do_start
> > > >     ZDCmd.do_start(self, arg)
> > > >   File
> > > > 
> > > 
> "/usr/lib/zope/./build/build-base/python-2.3/build-lib/zdaemon/zdctl
> > > .p
> > > > y",
> > > > line 214, in do_start
> > > >   File "/usr/lib/python2.3/os.py", line 543, in spawnvp
> > > >     return _spawnvef(mode, file, args, None, execvp)
> > > >   File "/usr/lib/python2.3/os.py", line 504, in _spawnvef
> > > >     wpid, sts = waitpid(pid, 0)
> > > > OSError: [Errno 10] No child processes
> > > > 
> > > > [root at inet zope]# /etc/rc.d/init.d/zope start
> > > > Starting zope: daemon process started, pid=7855
> > > > 
> > > > So it appears to be running.  But I cannot connect to it via a
> > > > browser.
> > > > (Error: Connection refused)
> > > > 
> > > > My /var/log/zope/event.log doesn't have any more entries
> > > whether I try
> > > > to start zope or not:
> > > > 
> > > > 2004-12-01T12:18:23 INFO(0) Zope Set effective user to "zope"
> > > > ------
> > > > 2004-12-01T12:18:37 INFO(0) Zope Ready to handle requests
> > > > ------
> > > > 2004-12-01T21:54:47 INFO(0) ApplicationManager Restart 
> requested 
> > > > by
> > > > "admin"
> > > > ------
> > > > 2004-12-01T21:54:47 INFO(0) ZServer closing HTTP to new 
> connections
> > > > ------
> > > > 2004-12-01T21:54:47 INFO(0) ZServer closing FTP to new 
> connections
> > > > ------
> > > > 2004-12-01T21:54:47 INFO(0) Zope Shutting down with exit code 1
> > > > 
> > > > What could be wrong?
> > > > 
> > > > Roland
> > > > 
> > > > _______________________________________________
> > > > Zope maillist  -  Zope at zope.org
> > > > http://mail.zope.org/mailman/listinfo/zope
> > > > **   No cross posts or HTML encoding!  **
> > > > (Related lists -
> > > >  http://mail.zope.org/mailman/listinfo/zope-announce
> > > >  http://mail.zope.org/mailman/listinfo/zope-dev )
> > > > 
> > > 
> > > 
> > 
> 
> 



More information about the Zope mailing list