hey this is what i did and it worked for me:

1. Switch to the zenoss user. 'su - zenoss' if you were root.

2. Zenoss has a built in command shell called zendmd. Its opened like this:

zen...@ubuntubox:~$ /usr/local/zenoss/bin/zendmd

Welcome to zenoss dmd command shell!
use zhelp() to list commands
>>>

3. Next we will two commands, the first one 'dmd.ZenEventManager.username' will 
give us the username and the second will give us the password 
'dmd.ZenEventManager.password'.

Welcome to zenoss dmd command shell!
use zhelp() to list commands
>>> dmd.ZenEventManager.username
'zenoss'
>>> dmd.ZenEventManager.password
'zenoss'
>>>

4. So now that we know that the user/pass is zenoss, we need to change that in 
mysql so that zenoss can access the eventsdb again. I logged back in as root 
for this step.

r...@ubuntubox:/usr/local/zenoss/libexec# mysql -h localhost -u root -p
Enter password:
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 10803
Server version: 5.0.51a-0.dotdeb.1 (Dotdeb)

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

mysql> grant DROP,CREATE,INSERT,UPDATE,SELECT on events.* to zenoss identified 
by 'zenoss';
Query OK, 0 rows affected (0.02 sec)

mysql> grant DROP,CREATE,INSERT,UPDATE,SELECT on events.* to zen...@localhost 
identified by 'zenoss';
Query OK, 0 rows affected (0.00 sec)

Then I was good to go. Good luck.




-------------------- m2f --------------------

Read this topic online here:
http://forums.zenoss.com/viewtopic.php?p=31897#31897

-------------------- m2f --------------------



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

Reply via email to