Several things could be causing this. First though try this just to make sure root has privs to access events db:

>mysql -u root -p events

Assuming you can get into mysql that way, see if zenoss is able to access the db from within zope. Do any events show up on the Zenoss dashboard? Are you able to use the Add Event link to manually add and event and have it appear on the Events page? If these are all failing then make sure you have the right password entered on the Event Manager settings page.

-jason


On Feb 7, 2007, at 1:00 AM, Jewel Muffin wrote:

Hi all,

Another issue that I faced while I erase devices from Zenoss; the services stop running. This has happen twice; I configured some devices which is not responsive to ping hoping that I can trigger the SENT EMAIl feature. But when I erase the device and press BACK button on the explorer, Zenoss stops functioning.


[EMAIL PROTECTED]:~$ zenoss status
Daemon: zeoctl program running; pid=16088
Daemon: zopectl program running; pid=16092
Daemon: zenxevent not running
Daemon: zenmodeler program running; pid=16106
Daemon: zenperfsnmp program running; pid=16112
Daemon: zenperfxmlrpc program running; pid=16119
Daemon: zenprocess program running; pid=16129
Daemon: zenping not running
Daemon: zensyslog not running
Daemon: zenstatus not running
Daemon: zenactions not running
Daemon: zentrap not running
Daemon: zencommand program running; pid=16168


zenping run
ERROR:zen.Events:(1045, "Access denied for user 'root'@'localhost' (using password: YES)")
Traceback (most recent call last):
File "/usr/local/zenoss/Products/ZenEvents/MySqlSendEvent.py", line 87, in sendEvent
    db = self.connect()
File "/usr/local/zenoss/Products/ZenEvents/DbAccessBase.py", line 29, in connect
    db=database, conv=mysqlconv)
File "usr/local/zenoss/lib/python/MySQLdb/__init__.py", line 66, in Connect File "usr/local/zenoss/lib/python/MySQLdb/connections.py", line 134, in __init__ OperationalError: (1045, "Access denied for user 'root'@'localhost' (using password: YES)")
Traceback (most recent call last):
File "/usr/local/zenoss/Products/ZenStatus/zenping.py", line 334, in ?
    pm = ZenPing()
File "/usr/local/zenoss/Products/ZenStatus/zenping.py", line 66, in __init__
    component="zenping"))
File "/usr/local/zenoss/Products/ZenStatus/zenping.py", line 71, in sendEvent
    self.zem.sendEvent(evt)
File "/usr/local/zenoss/Products/ZenEvents/MySqlSendEvent.py", line 94, in sendEvent
    raise ZenBackendFailure(str(e))
Products.ZenEvents.Exceptions.ZenBackendFailure : (1045, "Access denied for user 'root'@'localhost' (using password: YES)")

[EMAIL PROTECTED]:~$ mysql -u root -p
Enter password:
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 10 to server version: 5.0.24a-Debian_9-log

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql>

I can access ti mysql using zenoss id but from zenping ir gives error.


Anyone has experience or idea to rectify this, I really hope not needing to reinstall everything again.


Thanks in advance,

Az




_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users

_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users

Reply via email to