Difference between revisions of "Fix ZenCatalog Issues"

From Zenoss Wiki
Jump to: navigation, search
(Formatted the data)
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Sometimes, the Zope Object Database that stores all your devices and components will have a data integrity issue. This can manifest itself in a number of ways, but the end result is that Zenoss will have trouble dealing with certain devices in your system, and you may not be able to remove the device in the UI. The zenoss.toolbox can be used to troubleshoot ZODB issues. The following Zenoss Knowledge Base articles details use of the zenoss.toolbox:
+
Zenoss has a catalog service called as zencatalog which takes of indexed content. Following would be the issue seen with zencatalog when broken . We can resolve it , if we have proper tool available with us.
  
[https://support.zenoss.com/hc/en-us/articles/203117595 How do I Install and Use the zenoss.toolbox Package?]
+
Login to the zenoss master server<br />
 
+
Become the zenoss user:su - zenoss<br />
[https://support.zenoss.com/hc/en-us/articles/203118075 How do I use zencatalogscan to detect and fix unresolvable object references in catalogs?]
+
Download the latest zenoss.toolbox:<br />
 
+
wget -O master.zip --no-check-certificate https://github.com/hackeys/zenoss.toolbox/archive/master.zip <br />
[https://support.zenoss.com/hc/en-us/articles/203118175 How do I use zodbscan to Scan zodb for Dangling References?]
+
Use python's easy_install to install the zenoss.toolbox:easy_install ./master.zip<br />
 
+
<big>5: Validate the installation <br />
[https://support.zenoss.com/hc/en-us/articles/203117795 How do I use findposkeyerror to detect and fix POSKeyErrors in zodb?]
+
</big>zencatalogscan run -f<br />
 +
Store the result of the zodbscan zodbscan | tee zodbscan.txt<br />

Revision as of 15:09, 20 March 2014

Zenoss has a catalog service called as zencatalog which takes of indexed content. Following would be the issue seen with zencatalog when broken . We can resolve it , if we have proper tool available with us.

Login to the zenoss master server
Become the zenoss user:su - zenoss
Download the latest zenoss.toolbox:
wget -O master.zip --no-check-certificate https://github.com/hackeys/zenoss.toolbox/archive/master.zip
Use python's easy_install to install the zenoss.toolbox:easy_install ./master.zip
5: Validate the installation
zencatalogscan run -f
Store the result of the zodbscan zodbscan | tee zodbscan.txt