Looks like your zope cache might be corrupted.  Try removing it:

> rm -f $ZENHOME/var/zeo1-1.zec

-jason

On Feb 7, 2007, at 3:03 PM, Davis, Ryan W. wrote:

Excellent, I tried doing a normal stack trace on it but it didn’t give me anything. This is what I got:



[EMAIL PROTECTED] root]$ /opt/zenoss/bin/runzope

Traceback (most recent call last):

  File "/opt/zenoss/lib/python/Zope2/Startup/run.py", line 56, in ?

    run()

  File "/opt/zenoss/lib/python/Zope2/Startup/run.py", line 21, in run

    starter.prepare()

File "/opt/zenoss/lib/python/Zope2/Startup/__init__.py", line 98, in prepare

    self.startZope()

File "/opt/zenoss/lib/python/Zope2/Startup/__init__.py", line 257, in startZope

    Zope2.startup()

  File "/opt/zenoss/lib/python/Zope2/__init__.py", line 47, in startup

    _startup()

File "/opt/zenoss/lib/python/Zope2/App/startup.py", line 57, in startup

    DB = configuration.dbtab.getDatabase('/', is_root=1)

File "/opt/zenoss/lib/python/DBTab/DBTab.py", line 96, in getDatabase

    db = self._createDatabase(name, is_root)

File "/opt/zenoss/lib/python/DBTab/DBTab.py", line 113, in _createDatabase

    db = factory.open()

File "/opt/zenoss/lib/python/Zope2/Startup/datatypes.py", line 163, in open

    DB = self.createDB()

File "/opt/zenoss/lib/python/Zope2/Startup/datatypes.py", line 160, in createDB

    return ZODBDatabase.open(self)

  File "/opt/zenoss/lib/python/ZODB/config.py", line 97, in open

    storage = section.storage.open()

  File "/opt/zenoss/lib/python/ZODB/config.py", line 153, in open

    read_only_fallback=self.config.read_only_fallback)

File "/opt/zenoss/lib/python/ZEO/ClientStorage.py", line 314, in __init__

    self._cache.open()

  File "/opt/zenoss/lib/python/ZEO/cache.py", line 112, in open

    self.fc.scan(self.install)

  File "/opt/zenoss/lib/python/ZEO/cache.py", line 835, in scan

    install(self.f, ent)

  File "/opt/zenoss/lib/python/ZEO/cache.py", line 121, in install

    o = Object.fromFile(f, ent.key, skip_data=True)

  File "/opt/zenoss/lib/python/ZEO/cache.py", line 630, in fromFile

    raise ValueError("corrupted record, oid")

ValueError: corrupted record, oid

[EMAIL PROTECTED] root]$



So, what do I do to remove this corrupted record and where is it at?



Ryan W. Davis - Network Systems Analyst

Data Network Planning and Support - Division of IT (http:// iatservices.missouri.edu/)

University of Missouri (http://www.missouri.edu/)



From: [EMAIL PROTECTED] [mailto:zenoss-users- [EMAIL PROTECTED] On Behalf Of Jason Stevens
Sent: Wednesday, February 07, 2007 1:59 PM
To: General discussion of using zenoss system
Subject: Re: [zenoss-users] Zopectl continually crashing



Ryan,



You might get some useful debug info by running zope in the foreground rather as a daemon:



> zopectl stop

> runzope



If zope dies you should get an error message and stack trace printed to the terminal.



-jason





On Feb 7, 2007, at 2:36 PM, Davis, Ryan W. wrote:




Everyone,



It appears that whenever I start zenoss soon thereafter zopectl is no longer running. After finding the zopectl in /opt/zenoss/bin I went ahead and started it directly from there and then starting it, and checking its status and shortly after I start it it again dies.



I looked in /opt/zenoss/log/Z2.log (which I am guessing is the log for the Zope2 Server) but it doesn’t have any entries since I left work yesterday. The interesting thing is that it was working when I left and when I came back it was no longer working. I didn’t change anything. I restarted all the services by hand and when that did not fix it I restarted the entire server. Anyone got any ideas?



Ryan W. Davis - Network Systems Analyst

Data Network Planning and Support - Division of IT (http:// iatservices.missouri.edu/)

University of Missouri (http://www.missouri.edu/)



_______________________________________________

zenoss-users mailing list

[email protected]

http://lists.zenoss.org/mailman/listinfo/zenoss-users



_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users

_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users

Reply via email to