Troubleshooting (Zimbra): Difference between revisions
Jump to navigation
Jump to search
m (Added "Clam AV Out of Date") |
m (→LDAP Config Item Check/Modify: Added find/search example) |
||
Line 22: | Line 22: | ||
* To check config | * To check config | ||
** EG <code> zmprov gcf zimbraMailPurgeSleepInterval </code> | ** EG <code> zmprov gcf zimbraMailPurgeSleepInterval </code> | ||
* To find/search for any config items that refer to a particular term (eg <code>Virus</code>) | |||
** EG <code> zmprov gacf | grep Virus </code> | |||
* To modify config | * To modify config | ||
** EG <code> zmprov mcf zimbraMailPurgeSleepInterval 1m </code> | ** EG <code> zmprov mcf zimbraMailPurgeSleepInterval 1m </code> |
Latest revision as of 09:19, 17 September 2012
Account Export Incomplete
When trying to export an entire (or partial) account's data (either via the web or Zimbra clients, or through a /zmmailbox -z -m "user@domain.com" getRestURL -o user.tgz "//?fmt=tgz"
), the export can occasionally be incomplete, this can be due to two reasons (maybe more)...
- Large account / export time-out
- If you've a large account, and/or a slow server, the export process can time out.
- This is due to known bug - http://bugzilla.zimbra.com/show_bug.cgi?id=56458
- Invalid tags
- This is essentially down to some database corruption.
- To confirm that its the issue, tail your
/opt/zimbra/log/mailbox.log
file when creating an export and look out for the following errors (tag 68 is the problem tag ID in this example)Code:mail.NO_SUCH_TAG Arg:(itemId, IID, "68")
java.io.IOException: data error: java.io.IOException: tag error: com.zimbra.cs.mailbox.MailServiceException$NoSuchItemException: no such tag: 68
- To resolve...
- Confirm that the account doesn't have the tag
zmmailbox -z -m "user@domain.com" gat
- Get the user to create enough dummy tags to reach the problem ID number
- Reattempt the export - it may fail again, but on a higher tag ID (repeat the above until it succeeds)
- Delete the dummy tags, and retest
- Confirm that the account doesn't have the tag
The above is based on info gleamed from http://www.zimbra.com/forums/administrators/48724-no_such_tag-while-exporting.html
LDAP Config Item Check/Modify
- To check config
- EG
zmprov gcf zimbraMailPurgeSleepInterval
- EG
- To find/search for any config items that refer to a particular term (eg
Virus
)- EG
zmprov gacf | grep Virus
- EG
- To modify config
- EG
zmprov mcf zimbraMailPurgeSleepInterval 1m
- EG
Message Filters
- To verify email account filters setup
- EG
zmmailbox -z -m simon gfrl
- EG
Clam AV Out of Date
To manually update
/opt/zimbra/clamav/bin/freshclam --config-file=/opt/zimbra/conf/clamd.conf