Missing Mailbox

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
Post Reply
yomex
Posts: 4
Joined: Fri Sep 12, 2014 10:10 pm

Missing Mailbox

Post by yomex »

Hi all,
I am expreincing some strange behaviours with some of my mailbox, some mailbox accounts has suddenlly disappeared and I can't seem to trace what exactly is happening.

An attempt to recreate the affected account, I get an error saying account already exist, meanwhile the account isn't listed. I also tried recreating with zmprov CLI utility but with the error: ERROR: account.ACCOUNT_EXISTS (account already exists: username@mydomain.com)

I have run an ldapsearch, zmprov gaa, etc. but none display these missing accounts.
Other accounts seems to be working fine, but I'm lost as to what could have happen to these "missing" accounts.
FYI: I'm running FC5 + 3.1.4_GA_518.FC4 GA open source version.
I'd appreciate any ideas as to what could be responsible for this.
User avatar
jholder
Ambassador
Ambassador
Posts: 4824
Joined: Fri Sep 12, 2014 10:00 pm

Missing Mailbox

Post by jholder »

Try to look the account up using the FQDN
example: username@hostname.domain.com
If that doesn't work, try:

>zmprov

>gaa
jh
yomex
Posts: 4
Joined: Fri Sep 12, 2014 10:10 pm

Missing Mailbox

Post by yomex »

I've searched to no avail, if you look at my initial post, I've tried using Zimbra zmprov gaa utility as well but none of these "missing" mailbox were listed.
User avatar
jholder
Ambassador
Ambassador
Posts: 4824
Joined: Fri Sep 12, 2014 10:00 pm

Missing Mailbox

Post by jholder »

So you have more than one missing acct?
yomex
Posts: 4
Joined: Fri Sep 12, 2014 10:10 pm

Missing Mailbox

Post by yomex »

3 out of 25 actually.
bobby
Outstanding Member
Outstanding Member
Posts: 515
Joined: Fri Sep 12, 2014 10:01 pm

Missing Mailbox

Post by bobby »

do you see them if you run this:
mysql zimbra -e 'select id,comment from mailbox'
yomex
Posts: 4
Joined: Fri Sep 12, 2014 10:10 pm

Missing Mailbox

Post by yomex »

[quote user="17224bobby"]do you see them if you run this:
mysql zimbra -e 'select id,comment from mailbox'[/QUOTE]
I ran the above command which indicates 2 of the 3 accounts exist in the MySQL db, not sure where the 3rd is.
I also crosscheck the MySQL database message stores (i.e mailboxn where n is the id from the query above) which indicates that the account's respective mailbox still exist (except for the 3rd).
Any ideas on how to recover these "3 accounts", other accounts & newly created ones still works fine.
sshgz
Advanced member
Advanced member
Posts: 84
Joined: Fri Sep 12, 2014 10:00 pm

Missing Mailbox

Post by sshgz »

[quote user="yomex"]Hi all,
I am expreincing some strange behaviours with some of my mailbox, some mailbox accounts has suddenlly disappeared and I can't seem to trace what exactly is happening.

An attempt to recreate the affected account, I get an error saying account already exist, meanwhile the account isn't listed. I also tried recreating with zmprov CLI utility but with the error: ERROR: account.ACCOUNT_EXISTS (account already exists: username@mydomain.com)

I have run an ldapsearch, zmprov gaa, etc. but none display these missing accounts.
Other accounts seems to be working fine, but I'm lost as to what could have happen to these "missing" accounts.
FYI: I'm running FC5 + 3.1.4_GA_518.FC4 GA open source version.
I'd appreciate any ideas as to what could be responsible for this.[/QUOTE]
I have installed 3.2 Beta M2 on FC4, and have the same thing.
bobby
Outstanding Member
Outstanding Member
Posts: 515
Joined: Fri Sep 12, 2014 10:01 pm

Missing Mailbox

Post by bobby »

you guys have also checked ldap directly?
source ~/bin/zmshutil

zmsetvars

ldapsearch -D ${zimbra_ldap_userdn} -x -w ${zimbra_ldap_password} -b uid=username,ou=people,dc=domain,dc=com


are there any last traces of the accounts in the logs:
grep username@domain.com ~/log/zimbra.log*
bobby
Outstanding Member
Outstanding Member
Posts: 515
Joined: Fri Sep 12, 2014 10:01 pm

Missing Mailbox

Post by bobby »

if anybody wants to send us the whole ldap db to investigate, just let me know. you can pm or email it if necessary.
ldap stop

~/openldap/sbin/slapcat -f ~/conf/slapd.conf -l /tmp/zimbraldapdb

ldap start
Post Reply