Configuration & Administration

1.  ZODB confict error

Posted 5 days ago
Hello, I am using zenoss-4.2.5 , today i experienced zope outage, lose connection to Zenoss for about 10 minutes, How do we prevent this from happening in the future? please find the attached log file, i performed zodbscan and found one DANGLING REFERENCE , how to fix this

2017-11-14 13:35:35,304 INFO zodbscan: ############################################################
2017-11-14 13:35:35,304 INFO zodbscan: Initializing zodbscan (version 2.0.0)
2017-11-14 13:35:35,304 INFO zodbscan: Command line options: {'debug': True, 'skipEvents': False, 'tmpdir': '/tmp'}
2017-11-14 13:35:35,304 DEBUG zodbscan: Acquired 'zenoss.toolbox' execution lock
2017-11-14 13:35:36,172 INFO zodbscan: Examining 3365014 items in zodb database
2017-11-14 13:44:10,978 CRITICAL zodbscan: DANGLING REFERENCE (POSKeyError) FOUND:
PATH: 10.20.0.213
TYPE: <class 'Products.ZenModel.Device.Device'>
OID: 0x001bb9a5 '\x00\x00\x00\x00\x00\x1b\xb9\xa5' 1816997
Refers to a missing object:
NAME: macaddresses
TYPE: <type 'BTrees.OOBTree.OOSet'>
OID: 0x0036b1ba '\x00\x00\x00\x00\x006\xb1\xba' 3584442
2017-11-14 13:55:28,694 INFO zodbscan: 1 Dangling References were detected
2017-11-14 13:55:28,694 INFO zodbscan: zodbscan completed in 1193.39 seconds
2017-11-14 13:55:28,694 INFO zodbscan: #################################

------------------------------
Ashok
Systems Administrator
verizon
New Jersey NJ
------------------------------


2.  RE: ZODB confict error

Posted 5 days ago
Try running zodbscan with the -f parameter (fix).
Cheers,
Jane

------------------------------
Jane Curry
Skills 1st United Kingdom
jane.curry@skills-1st.co.uk
------------------------------



3.  RE: ZODB confict error

Posted 5 days ago
Edited by Jay Stanley 5 days ago
Make sure you have the latest toolbox scans:

How To Install And Use the zenoss.toolbox
Zenoss remove preview
How To Install And Use the zenoss.toolbox
Applies To Zenoss 5.x Zenoss 4.x Summary The zenoss.toolbox GitHub repository is the source for Zenoss-maintained tools. Toolbox tools cover zodb and catalog integrity as well as maintenance item...
View this on Zenoss >


And execute:
findposkeyerror -f

that should take care of it.

------------------------------
jstanley
------------------------------