What’s The Buzz

Random posts on what’s happening in the world of Linux and Open Source Technology

Linux Goodies

Linux tips and tricks picked up on the job as a Linux Systems Engineer.

Apple Goodies

All things wonderful about Apple Computers and Devices

Microsoft Goodies

Microsoft System Engineering tips and tricks as told by a Linux Systems Engineer

XKCD

Get your daily dose of the XKCD cartoon

Home » Linux Goodies

Solved! How to recover a lost zenoss mysql password

Submitted by on December 16, 2009 – 9:11 amNo Comment
Solved!  How to recover a lost zenoss mysql password

In trying to do some performance tuning on my zenoss server, I wanted to access the database. It had been quite some time since I initially installed zenoss and I couldn’t recall the password I had assigned.

I found a very helpful article at Common Zenoss Errors – Post Install which provided the answer.

Of course you need shell access to your zenoss server in order to use this method.

    Switch to the zenoss user with su – zenoss
    At the prompt type /opt/zenoss/bin/zendmd (use the location relevant to your zenoss installation)
    You will be presented with a zenoss dmd command shell >>>
    Type: dmd.ZenEventManager.username and the shell will return the mysql user name
    Type: dmd.ZenEventManager.pasword and the shell will return the mysql user password

Leave a comment!

Add your comment below, or trackback from your own site. You can also subscribe to these comments via RSS.

Be nice. Keep it clean. Stay on topic. No spam.

You can use these tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

This is a Gravatar-enabled weblog. To get your own globally-recognized-avatar, please register at Gravatar.

*