Difference between revisions of "Resetting LDAP & MySQL Passwords"

(Add info from forums)
(Resetting the LDAP Password)
Line 3: Line 3:
  
 
== Resetting the LDAP Password ==
 
== Resetting the LDAP Password ==
 +
First, we need to make sure that Zimbra is stopped.
  
Try running zmcontrol stop
+
Try running:
then ps auxww | grep slapd
+
>su zimbra
 +
>zmcontrol stop
  
Verify that ldap is stopped - if it's not, kill it by hand and restart.
+
Just to be safe, you can make sure that all Zimbra services are stopped:
 +
>ps auxww | grep zimbra
 +
>ps auxww | grep slapd
  
If it still doesn't work
+
Kill any left over processes.
  
try shutting ldap down, then reset the password (both for root and zimbra) via:
+
Now, we can reset the passwords:
  
zmldappasswd --root '''newpass'''
+
First the root(note: these are run as user zimbra)
  
zmldappasswd '''newpass'''
+
>zmldappasswd --root '''newpass'''
 +
 
 +
Next the zimbra:
 +
>zmldappasswd '''newpass'''
  
 
Make sure you use the same password for both!
 
Make sure you use the same password for both!

Revision as of 02:09, 16 May 2006

By far, one of the most common problems in getting a service started is an incorrect 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 the Logger Password

Resetting the Mailbox Password

Jump to: navigation, search