Skip navigation
3891 Views 2 Replies Latest reply: Jun 22, 2012 10:15 AM by arauzalexis RSS
tgdaero9 Rank: White Belt 42 posts since
Sep 23, 2008
Currently Being Moderated

Jan 8, 2009 5:06 AM

Zenhub not starting after restoring a backup

I setup a second server, running zenoss for testing apart from prod. Zenoss.
On that Box everything is running, until i restore a backup done on the prod. box.

zenrestore --file zenoss-backup-05-01-2009.tgz --no-eventsdb

checked the mysql user/pwd (I added the proper user to mysql and adjusted zenoss_init_post/pre ) -

I restarted zenoss-stack -

Logs: no connection to zenhub....

zenhub.log shows no errors:


2009-01-08 10:50:14 INFO zen.plugins: Loading collector plugins from: /opt/zenoss/zenoss/Products/DataCollector/plugins
2009-01-08 10:50:14 INFO zen.plugins: Loading collector plugins from: /opt/zenoss/zenoss/Products/ZenWin/modeler/plugins
2009-01-08 10:50:14 INFO zen.plugins: Loading collector plugins from: /opt/zenoss/zenoss/ZenPacks/ZenPacks.zenoss.HttpMonitor-2.0.0-py2.4.egg/ZenPacks/zenoss/HttpMonitor/modeler/plugins
2009-01-08 10:50:15 INFO zen.plugins: Loading collector plugins from: /opt/zenoss/zenoss/ZenPacks/ZenPacks.zenoss.MySqlMonitor-2.0.0-py2.4.egg/ZenPacks/zenoss/MySqlMonitor/modeler/plugins

event.log shows something weird (to me):

ERROR Zope Couldn't install Five
Traceback (most recent call last):
:


Any suggestions on what to troubleshoot further is welcome.

regards Robert
  • arauzalexis Newbie 2 posts since
    Jan 20, 2010
    Currently Being Moderated
    2. Jun 22, 2012 10:15 AM (in response to tgdaero9)
    Re: Solved: Zenhub not starting after restoring a backup

    I had a similar situation that "zenhub not running" after the restore, and my problem was that I was doing the restore without having stopped the zenoss. The detailed steps to follow are:
    1. Restore Folder zenpack
          / usr / local / zenoss / zenoss / ZenPacks
    2. Download the zenoss
          zenoss stop
    3. Restore.
          zenrestore-v - no-eventsdb - file = / opt/zenbackup_20120620.tgz
    4. Upload the zenoss
          start zenoss

    !Aleluya everything is working again!

    -------------------------------------------------------------------

    Yo tuve una situacion similar de que el "zenhub not running" despues del restore y mi problema era que yo hacia el restore sin haber bajado el zenoss. Los pasos en detalle a seguir son:

     

    1. Restaurar la carpeta de los zenpack

         /usr/local/zenoss/zenoss/ZenPacks

    2. Bajar el zenoss

         zenoss stop

    3. Realizar la restauración.

         zenrestore -v --no-eventsdb --file=/opt/zenbackup_20120620.tgz

    4. Subir el zenoss

         zenoss start

     

    Aleluya! todo esta funcionando nuevamente!!!

More Like This

  • Retrieving data ...