Discussion:
EventDB Corrupted!
wilsonlai
2012-05-09 16:53:49 UTC
Permalink
wilsonlai [http://community.zenoss.org/people/wilsonlai] created the discussion

"EventDB Corrupted!"

To view the discussion, visit: http://community.zenoss.org/message/66285#66285

--------------------------------------------------------------
I am now using zenoss v3.1.0 and it was found that the Events DB had been corrupted due to unexpected server reboot.
I have tried to drop the event DBs and create the new one by zeneventbuild, but still getting this error. So how could I
possibly repair the events DB? Pls help.

Loading Image... Loading Image...
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/66285#66285]

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
TitoOrtega
2012-05-11 17:55:14 UTC
Permalink
TitoOrtega [http://community.zenoss.org/people/TitoOrtega] created the discussion

"Re: EventDB Corrupted!"

To view the discussion, visit: http://community.zenoss.org/message/66325#66325

--------------------------------------------------------------
Here try this code snippet:

if backup exists:
    wilsonlai.restoreFromBackup()
else:
    wilsonlai.quitJob()

:^0
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/66325#66325]

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Loading...