habibzain Just husband, father and enthusiastic men about System Administration. Love to write short article about it. Perhaps can help and be useful for others.

Zimbra Stuck Open Webmail – Zimbra Unable to index

1 min read

Zimbra Mailbox Log Warn, index – Unable to index

Hi buddy, as a zimbra mail server user, I’ve experienced opening zimbra webmail only loading, stuck open webmail. Unable to open zimbra page. There is error zimbra Unable to index in zimbra log.

zimbra Unable to index
Zimbra Page Loading

I have to check the mail log via /opt/zimbra/log/mailbox.log. And after being investigated for the account that I logged in it displays the WARN log as below.

2022-01-20 09:27:49,311 WARN [Index-7] [[email protected];mid=549;] index - Unable to index: x-microsoft-antispam-message-i
2022-01-20 09:27:49,311 WARN [Index-7] [[email protected];mid=549;] index - Unable to index: x-ms-exchange-antispam-message
2022-01-20 09:27:49,311 WARN [Index-7] [[email protected];mid=549;] index - Unable to index: x-ms-exchange-antispam-message
2022-01-20 09:27:49,311 WARN [Index-7] [[email protected];mid=549;] index - Unable to index: x-ms-exchange-antispam-message
2022-01-20 09:27:49,311 WARN [Index-7] [[email protected];mid=549;] index - Unable to index: x-ms-exchange-antispam-message

After googling, I decided I had to re-index my account. I found this link. https://wiki.zimbra.com/wiki/How_to_delete_index_data

Follow step by step.

Following are the exact steps to remove and re-create the index data

Get user mailbox and ID

Pick user ‘[email protected]’ and obtain the mailbox ID:

Once you got the ID, for example ’13’, then the location of the index data would be:

/opt/zimbra/index/0/13/index/0

If ID is 14, then the location would be :

/opt/zimbra/index/0/14/index/0

Remove Data Index

Now required to remove data from ‘/opt/zimbra/index/0/13/index/0/’ location.

rm -rf /opt/zimbra/index/0/13/index/0/*

Reindex account.

zmprov rim [email protected] start

It will regenerate the index for “[email protected]” account.

Check Status Index

To know the status of reindex

zmprov rim [email protected] status

Finally, after with zmprov rim [email protected] status i am grep the mailbox.log and found “index – Batch complete processed”. And now, my webmail can open correctly.

2022-01-07 16:37:52,322 INFO  [ReIndex-1] [name=[email protected];mid=294;] index - Batch complete processed=44,failed=0,elapsed=1633 (26.94 items/sec)
2022-01-07 16:37:52,322 INFO  [ReIndex-1] [name=[email protected];mid=294;] index - Re-index completed items=44,failed=0,elapsed=3690318 (avg 83870 ms/item, 0 items/sec)

That is easy way to solve zimbra unable index base on mailbox log. May be it’s helpful, please feel free to leave a comment if you have any questions and I’ll appreciate it.

See also  Install Let's Encrypt Nginx On Ubuntu 20.04 / 18.04

habibzain Just husband, father and enthusiastic men about System Administration. Love to write short article about it. Perhaps can help and be useful for others.

Centos Failed Update Kernel

Today I did a kernel update on my server with Centos 7 OS. At the end of the update process, I found a kernel...
habibzain
1 min read

Easy Fix Missing mirrorlist http://mirrorlist.centos.org on CentOS 7

When running yum update or command that utilize the yum system, errors similar to the following are produced: If you’re encountering issues with the...
habibzain
1 min read

Easy Create Laravel Project with Composer

Requirement Laravel, a popular PHP framework, is renowned for its elegant syntax and robust features, making it a top choice for web developers. One...
habibzain
1 min read

Leave a Reply

Your email address will not be published. Required fields are marked *

Never miss good article from us, get weekly updates in your inbox