A few days ago I needed to move our zenoss rpm installation to a new host due
to performance/capacity issues. Hosts are identical aside from disk
space/ram/cpu.
On the old host I performed a full backup, copied it over to the new host, and
shutdown the machine.
On the new host, I performed a fresh rpm installation, started zenoss once to
allow for initial install scripts, installed the zenpack-core rpm with no
errors, shutdown zenoss, then performed the zenrestore from backup. After
starting zenoss back up, all my data was there, however no data was collecting
and when I tried to view settings>zenpacks it would generate errors.
Looking through the errors, it showed it was unable to find a zenpack (that I
hadn't installed on the new installation), so I downloaded them one by 1,
refreshing the page to get the new error each time for the missing zenpack.
Now that they are installed, I'm getting an error with the VMwareEsx zenpack
when I restarted zenoss:
Code:
/etc/rc.d/init.d/zenoss start
No handlers could be found for logger "root"
Traceback (most recent call last):
File "/opt/zenoss/Products/ZenUtils/ZenPackDaemons.py", line 76, in ?
zp.run()
File "/opt/zenoss/Products/ZenUtils/ZenPackDaemons.py", line 57, in run
dList = NameZenPackDaemons()
File "/opt/zenoss/Products/ZenUtils/ZenPackDaemons.py", line 36, in
NameZenPackDaemons
module = entry.load()
File "/opt/zenoss/lib/python/pkg_resources.py", line 1912, in load
entry = __import__(self.module_name, globals(),globals(), ['__name__'])
File "/opt/zenoss/Products/ZenUtils/__init__.py", line 7, in ?
# under the terms of the GNU General Public License version 2 as published
by
File "/opt/zenoss/Products/CMFCore/DirectoryView.py", line 326, in
registerDirectory
self.registerDirectoryByPath(filepath, subdirs, ignore=ignore)
File "/opt/zenoss/Products/CMFCore/DirectoryView.py", line 336, in
registerDirectoryByPath
info = DirectoryInformation(filepath, minimal_fp, ignore=ignore)
File "/opt/zenoss/Products/CMFCore/DirectoryView.py", line 99, in __init__
for entry in _filtered_listdir(self._filepath, ignore=self.ignore):
File "/opt/zenoss/Products/CMFCore/DirectoryView.py", line 66, in
_filtered_listdir
return [ name
OSError: [Errno 20] Not a directory:
'/opt/zenoss/ZenPacks/ZenPacks.community.VMwareEsx-2.2.1-py2.4.egg/ZenPacks/community/VMwareEsx/skins'
Daemon: zeoctl . daemon process started, pid=7829
Daemon: zopectl . daemon process started, pid=7833
Daemon: zenhub starting...
No handlers could be found for logger "root"
Daemon: zenjobs starting...
No handlers could be found for logger "root"
Daemon: zenping starting...
No handlers could be found for logger "root"
Daemon: zenstatus starting...
No handlers could be found for logger "root"
Daemon: zenactions starting...
No handlers could be found for logger "root"
Daemon: zentrap starting...
No handlers could be found for logger "root"
Daemon: zenmodeler starting...
No handlers could be found for logger "root"
Daemon: zenperfsnmp starting...
No handlers could be found for logger "root"
Daemon: zencommand starting...
No handlers could be found for logger "root"
Daemon: zenprocess starting...
No handlers could be found for logger "root"
Daemon: zenwin starting...
No handlers could be found for logger "root"
Daemon: zeneventlog starting...
No handlers could be found for logger "root"
Which of course doesnt exist as ZenPacks.community.VMwareEsx-2.2.1-py2.4.egg is
a file.
I've also been seeing "No handlers could be found for logger "root" " whenever
I run anything (as zenoss user).
Help?? :(
-------------------- m2f --------------------
Read this topic online here:
http://forums.zenoss.com/viewtopic.php?p=36104#36104
-------------------- m2f --------------------
_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users