Resetting LDAP & MySQL Passwords

Revision as of 23:31, 10 March 2008 by Cfremon (talk | contribs) (Adding Template:Article_Footer)
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

One of the most common problems with installing and starting a service is an incorrect LDAP or MySQL password.


Resetting the LDAP Password

First, we need to make sure that Zimbra is stopped.

Try running:

> su zimbra
> zmcontrol stop

Just to be safe, you can make sure that all Zimbra services are stopped:

> ps auxww | grep zimbra
> ps auxww | grep slapd


Kill any left over processes.

Now, we can reset the passwords:

First the root(note: these are run as user zimbra)

> zmldappasswd --root newpass

Next the zimbra:

> zmldappasswd newpass

Make sure you use the same password for both!

Resetting Mailbox Database Passwords

Make sure mailbox database is running. Run all commands as user zimbra.

This checks for a pid file:

 > mysql.server status
 mysql is running with pid 23830

Also use:

 > ps a | grep mysqld.*my.cnf
 

root account Set newpassword to your desired password.

 > zmmypasswd --root newpassword

zimbra account

 > zmmypasswd newpasswd

Resetting Logger Database Passwords

Make sure mailbox database is running. Run all commands as user zimbra.

 > ps a | grep mysqld.*my.logger.cnf

root account

Set newpassword to your desired password.

 > zmmylogpasswd --root newpassword

zimbra account

 > zmmylogpasswd newpasswd

Related Articles

Zimbra CLI Command List



Keywords: ldap, logger, database, password

Verified Against: unknown Date Created: 3/28/2006
Article ID: https://wiki.zimbra.com/index.php?title=Resetting_LDAP_%26_MySQL_Passwords Date Modified: 2008-03-10



Try Zimbra

Try Zimbra Collaboration with a 60-day free trial.
Get it now »

Want to get involved?

You can contribute in the Community, Wiki, Code, or development of Zimlets.
Find out more. »

Looking for a Video?

Visit our YouTube channel to get the latest webinars, technology news, product overviews, and so much more.
Go to the YouTube channel »

Jump to: navigation, search