Resetting LDAP & MySQL Passwords: Difference between revisions
No edit summary |
|||
Line 7: | Line 7: | ||
Try running: | Try running: | ||
>su zimbra | > su zimbra | ||
>zmcontrol stop | > zmcontrol stop | ||
Just to be safe, you can make sure that all Zimbra services are stopped: | Just to be safe, you can make sure that all Zimbra services are stopped: | ||
>ps auxww | grep zimbra | > ps auxww | grep zimbra | ||
>ps auxww | grep slapd | > ps auxww | grep slapd | ||
Line 24: | Line 24: | ||
First the root(note: these are run as user zimbra) | First the root(note: these are run as user zimbra) | ||
>zmldappasswd --root '''newpass''' | > zmldappasswd --root '''newpass''' | ||
Next the zimbra: | Next the zimbra: | ||
>zmldappasswd '''newpass''' | > zmldappasswd '''newpass''' | ||
Make sure you use the same password for both! | Make sure you use the same password for both! | ||
== Resetting Mailbox Database Passwords == | == Resetting Mailbox Database Passwords == | ||
Line 142: | Line 44: | ||
== Resetting Logger Database Passwords == | == Resetting Logger Database Passwords == | ||
'''root account'' | '''In the event you have lost your logger password, or it has otherwise become out of sync after an upgrade, you can reset it. Keep in mind that the logger is not a required component to have running.''' | ||
'''root account''' | |||
Set ''newpassword'' to your desired password. Run as user ''zimbra'': | Set ''newpassword'' to your desired password. Run as user ''zimbra'': |
Revision as of 19:27, 27 December 2007
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
root account
Set newpassword to your desired password. Run as user zimbra:
> zmmypasswd --root newpassword
zimbra account
> zmmypasswd newpasswd
Resetting Logger Database Passwords
In the event you have lost your logger password, or it has otherwise become out of sync after an upgrade, you can reset it. Keep in mind that the logger is not a required component to have running.
root account
Set newpassword to your desired password. Run as user zimbra:
> zmmylogpasswd --root newpassword
zimbra account
> zmmylogpasswd newpasswd