I have a working installation of Zenoss Core 2.1.3, but the daemons zenhub and
zentrap are usually not running (as seen under settings - Daemons). Is it
supposed to be like that?
Right now the zenhub daemon is running, but the log file looks like this:
2008-09-09 10:58:16 ERROR zen.Events: select distinct device, count(device) as
evcount,
sum(count) from status where severity>=3 and (eventClass =
'/Status/Wmi/Conn' or eventClass = '/Status/Ping') and eventState <= 2 group by
device
having evcount > 0
Traceback (most recent call last):
File "/opt/zenoss/Products/ZenEvents/EventManagerBase.py", line 1013, in
getDeviceIssues
conn = self.connect()
File "/opt/zenoss/Products/ZenEvents/DbAccessBase.py", line 34, in connect
database=self.database)
File "/opt/zenoss/Products/ZenEvents/DbConnectionPool.py", line 63, in get
obj.ping()
OperationalError: (2002, "Can't connect to local MySQL server through socket
'/var/lib/mysql/mysql.sock' (2)")
2008-09-09 10:58:21 ERROR zen.Events: select distinct device, count(device) as
evcount,
sum(count) from status where severity>=3 and (eventClass =
'/Status/Wmi/Conn' or eventClass = '/Status/Ping') and eventState <= 2 group by
device
having evcount > 0
Traceback (most recent call last):
File "/opt/zenoss/Products/ZenEvents/EventManagerBase.py", line 1013, in
getDeviceIssues
conn = self.connect()
File "/opt/zenoss/Products/ZenEvents/DbAccessBase.py", line 34, in connect
database=self.database)
File "/opt/zenoss/Products/ZenEvents/DbConnectionPool.py", line 70, in get
database=database)
File "/opt/zenoss/Products/ZenEvents/DbConnectionPool.py", line 103, in
_createConnection
db=database, conv=mysqlconv, reconnect=1)
File "/opt/zenoss/lib/python/MySQLdb/__init__.py", line 66, in Connect
return Connection(*args, **kwargs)
File "/opt/zenoss/lib/python/MySQLdb/connections.py", line 134, in __init__
super(Connection, self).__init__(*args, **kwargs2)
OperationalError: (2002, "Can't connect to local MySQL server through socket
'/var/lib/mysql/mysql.sock' (2)")
2008-09-09 10:58:30 INFO zen.ZenHub: delete pidfile
/opt/zenoss/var/zenhub.py.pid
2008-09-09 10:58:30 INFO zen.ZenHub: Daemon ZenHub shutting down
The zentrap daemon is NOT running, and the log file is empty!
That is the first half of my question, the other is problems that occur when I
try to upgrade to version 2.2.3. After an upgrade the zenhub and zentrap are
still not running, and all the daemons produce "heartbeat failures" in the
event console. LOTS of them. And I no longer get notification mails for
instance.
I have reverted to a vmware snapshot so now I am at version 2.1.3 again, as it
(seems to) work.
The system is a vmware esx virtual machine running CentOS 5.2, and Zenoss is
installed and upgraded by rpm package.
Any ideas???
/Salmoneus
-------------------- m2f --------------------
Read this topic online here:
http://community.zenoss.com/forums/viewtopic.php?p=25015#25015
-------------------- m2f --------------------
_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users