Differences between revisions 2 and 3
Revision 2 as of 2020-10-08 04:25:32
Size: 882
Editor: PieterSmit
Comment:
Revision 3 as of 2020-10-08 22:39:02
Size: 1315
Editor: PieterSmit
Comment:
Deletions are marked like this. Additions are marked like this.
Line 24: Line 24:

== Fix POS errors ==
 * check db {{{
$ zodbscan
[2020-10-09 11:29:13] Initializing zodbscan v2.0.0 (detailed log at /opt/zenoss/log/toolbox/zodbscan.log)
[2020-10-09 11:29:14] Examining 550261 items in the 'zodb' database:
[2020-10-09 11:32:39] CRITICAL [==================================================] 100% [7 Dangling References]
}}}

 * fix pos errors with --fix flag{{{
$ findposkeyerror --fix --debug
}}}

Zenoss network monitoring

Reset/Recover gui password

  • Old installation under /opt/zenoss
  • Login with From

    1. sudo su zenoss -
    2. cd /opt/zenoss
    3. ls inituser (should not be there)
    4. Create inituser for zope to use when restarting

      $ zpasswd.py -u admin -p MyCr@zyPwd /opt/zenoss/inituser 
    5. Check zope uid, and restart, then login

      ps ax | grep runzope
      $ zopectl restart 
    6. Login to web page, with admin and pwd above.

Check for 9+ rabbitmq q's used by zenoss

  • as root

    sudo rabbitmqctl -p /zenoss list_queues 

Check that Zenoss services are running

zenoss status

Fix POS errors

  • check db

    $ zodbscan
    [2020-10-09 11:29:13] Initializing zodbscan v2.0.0 (detailed log at /opt/zenoss/log/toolbox/zodbscan.log)
    [2020-10-09 11:29:14] Examining 550261 items in the 'zodb' database:
    [2020-10-09 11:32:39]  CRITICAL  [==================================================] 100% [7 Dangling References]
  • fix pos errors with --fix flag

    $ findposkeyerror --fix --debug


CategoryLinux

Linux/Zenoss (last edited 2020-10-08 22:39:02 by PieterSmit)