Full backups failing with error Missing Account List
Error : Missing account list while running full backup
Problem:
Following error appears when a full backup is executed :
/opt/zimbra/bin/zmbackup -f - allError occurred: invalid request: Missing account list .
Following error is observed in /opt/zimbra/log/mailbox.log file :
Error occurred: invalid request: Missing account list class=com.zimbra.common.soap.SoapFaultException message=invalid request: Missing account list isReceiversFault=false mIsLocal=false mDetail=<soapetail><Error xmlns="urn:zimbra">service.INVALID_REQUEST
<Trace>qtp509886383-7512:https://127.0.0.1:7071/service/admin/soap/BackupRequest:1440585474466:7971caa86fd4f1d9</Trace></Error></soapetail> mFault=<soap:Fault><soap:Code><soap:Value>soap:Sender</soap:Value></soap:Code><soap:Reason><soap:Text>invalid request: Missing account list</soap:Text></soap:Reason><soapetail><Error xmlns="urn:zimbra">service.INVALID_REQUEST
<Trace>qtp509886383-7512:https://127.0.0.1:7071/service/admin/soap/BackupRequest:1440585474466:7971caa86fd4f1d9</Trace></Error></soapetail></soap:Fault>
Solution
This issue is seen when the /opt/zimbra/backup/accounts.xml file is missing or corrupt, it makes the new backup unable to read the previous backup entry. Move the old sessions directory and corrupt accounts.xml file to resolve this issue using the given steps :
su - zimbra cd /opt/zimbra/backup mv sessions sessions.OLD mv accounts.xml accounts.xml.OLD
Verify the solution by taking a full backup again -
/opt/zimbra/bin/zmbackup -f -a all
Submitted by: Sourabh Bhushan |