TECHZEN Zenoss User Community ARCHIVE  

DANGLING REFERENCE (POSKeyError)

Subject: DANGLING REFERENCE (POSKeyError)
Author: Marco Shaw
Posted: 2018-11-06 12:59

Version 4.2.5​

I am unable to resolve a few POSKey errorss:

2018-11-05 11:30:29,688 CRITICAL zodbscan:  DANGLING REFERENCE (POSKeyError) FOUND:
PATH: zport/dmd/Devices/Server/Windows/WMI/devices/xxxxx.13
TYPE: <class 'ZenPacks.Nova.WinServiceSNMP.WinServiceSNMPDevice.WinServiceSNMPDevice'>
OID:  0x0265f4df '\x00\x00\x00\x00\x02e\xf4\xdf' 40236255
Refers to a missing object:
    NAME: macaddresses
    TYPE: <type 'BTrees.OOBTree.OOSet'>
    OID:  0x026a0fae '\x00\x00\x00\x00\x02j\x0f\xae' 40505262
2018-11-05 11:30:33,189 CRITICAL zodbscan:  DANGLING REFERENCE (POSKeyError) FOUND:
PATH: zport/dmd/Devices/Server/Windows/WMI/devices/xxxxxx.com
TYPE: <class 'ZenPacks.Nova.WinServiceSNMP.WinServiceSNMPDevice.WinServiceSNMPDevice'>
OID:  0x027d8629 '\x00\x00\x00\x00\x02}\x86)' 41780777
Refers to a missing object:
    NAME: macaddresses
    TYPE: <type 'BTrees.OOBTree.OOSet'>
    OID:  0x02811fe4 '\x00\x00\x00\x00\x02\x81\x1f\xe4' 42016740
2018-11-05 11:30:33,318 CRITICAL zodbscan:  DANGLING REFERENCE (POSKeyError) FOUND:
PATH: zport/dmd/Devices/Server/Windows/WMI/devices/xxxxxx.com
TYPE: <class 'ZenPacks.Nova.WinServiceSNMP.WinServiceSNMPDevice.WinServiceSNMPDevice'>
OID:  0x027d880a '\x00\x00\x00\x00\x02}\x88\n' 41781258
Refers to a missing object:
    NAME: macaddresses
    TYPE: <type 'BTrees.OOBTree.OOSet'>
    OID:  0x028153d6 '\x00\x00\x00\x00\x02\x81S\xd6' 42030038

I've tried the Zenoss.Toolkit.  Basically ran this a few times:
findposkeyerror -f -v10
zodbscan
zenrelationscan
zencatalogscan

I don't have a problem simply deleting these devices, but even that can't be done.

Anyone have any ideas?

At the bottom of this, there's a reference to a "manual fix", but the forums must have been migrated and that link is no longer valid:
InstallationGetting Started
Zenoss remove preview
InstallationGetting Started
Hidden page that shows all messages in a thread
View this on Zenoss >



------------------------------
Marco Shaw
N/A
------------------------------


Subject: RE: DANGLING REFERENCE (POSKeyError)
Author: Jane Curry
Posted: 2018-11-06 17:49

Have you tried the suggestions in this wiki item - http://wiki.zenoss.org/RemoveDevices ?

Cheers,
Jane

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


Subject: RE: DANGLING REFERENCE (POSKeyError)
Author: Marco Shaw
Posted: 2018-11-07 09:16

​Thanks.  I hadn't noticed this page.  I didn't realize some of the toolbox commands had a "-f" based on web searches, but I tried them.

I can access the ZMI, but don't quite understand (yet) what to do exactly.

I'll need to read up more on zendmd as I'm not comfortable doing any of that stuff.

------------------------------
Marco Shaw
N/A
------------------------------


< Previous
Slow performance and windows services wont load
  Next
serviced fails to start due to devicemapper error
>