Difference between revisions of "Full backups failing with error Missing Account List"

(Created page with "=== <h1>WAN CONCEPTS - Full backups failing</h1> === <hr> <br> <h2>Problem: </h2> <p><pre>/opt/zimbra/bin/zmbackup -f - all </pre> Error occurred: invalid request: Missing ac...")
 
 
(11 intermediate revisions by 5 users not shown)
Line 1: Line 1:
=== <h1>WAN CONCEPTS - Full backups failing</h1> ===
+
{{BC|Certified}}
 +
__FORCETOC__
 +
<div class="col-md-12 ibox-content">
 +
=Error : "Missing account list" while running Legacy full backup=
 
<hr>
 
<hr>
<br>
+
{{KB|{{ZC}}|{{ZCS 8.7}}||||}}
 +
 +
 
 +
====Problem: ====
  
<h2>Problem: </h2>
+
Following error appears when a full backup is executed :
<p><pre>/opt/zimbra/bin/zmbackup -f - all </pre>
+
/opt/zimbra/bin/zmbackup -f - all  
Error occurred: invalid request: Missing account list .</p>
+
Error occurred: invalid request: Missing account list.  
  
  
'''Debug error''' -
+
Following error is observed in /opt/zimbra/log/mailbox.log file :
Error occurred: invalid request: Missing account list
+
Error occurred: invalid request: Missing account list
 
  class=com.zimbra.common.soap.SoapFaultException
 
  class=com.zimbra.common.soap.SoapFaultException
 
  message=invalid request: Missing account list
 
  message=invalid request: Missing account list
Line 17: Line 23:
 
  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"><Code>service.INVALID_REQUEST</Code><Trace>qtp509886383-7512:https://127.0.0.1:7071/service/admin/soap/BackupRequest:1440585474466:7971caa86fd4f1d9</Trace></Error></soapetail></soap:Fault>
 
  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"><Code>service.INVALID_REQUEST</Code><Trace>qtp509886383-7512:https://127.0.0.1:7071/service/admin/soap/BackupRequest:1440585474466:7971caa86fd4f1d9</Trace></Error></soapetail></soap:Fault>
  
<h2>Solution:</h2>
+
====Solution====
This issue prompt when the accounts.xml file is missing or corrupt, that's why new backup is not able to read previous backup entry.  
+
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.  
By moving old sessions directory and corrupt accounts.xml file resolve this issue.
+
Move the old sessions directory and corrupt accounts.xml file to resolve this issue using the given steps :
Follow below steps:-
 
  
<pre>su - zimbra  
+
su - zimbra  
cd /opt/zimbra/backup  
+
cd /opt/zimbra/backup  
mv sessions sessions.OLD  
+
mv sessions sessions.OLD  
mv accounts.xml accounts.xml.OLD</pre>
+
mv accounts.xml accounts.xml.OLD
  
Then verify by taking full backup -
+
Verify the solution by taking a full backup again -
 
   
 
   
<pre>/opt/zimbra/bin/zmbackup -f -a all
+
/opt/zimbra/bin/zmbackup -f -a all
</pre>
+
 
 +
====Suggestion====
 +
zmbackup is replaced by NG backup from ZCS 8.8.x onwards. The current LTS version is ZCS 8.8.15.
 +
 
 +
{{SubmittedBy|  Sourabh Bhushan}}
  
  
Sincerely,<br>
+
{{Article Footer|ZCS 8.7|2020-04-13}}
Sourabh Bhushan
 

Latest revision as of 09:22, 3 November 2021

Error : "Missing account list" while running Legacy full backup


   KB 23329        Last updated on 2021-11-3  




0.00
(0 votes)


Problem:

Following error appears when a full backup is executed :

/opt/zimbra/bin/zmbackup -f - all 
Error 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

Suggestion

zmbackup is replaced by NG backup from ZCS 8.8.x onwards. The current LTS version is ZCS 8.8.15. 
Submitted by: Sourabh Bhushan


Verified Against: ZCS 8.7 Date Created: 2020-04-13
Article ID: https://wiki.zimbra.com/index.php?title=Full_backups_failing_with_error_Missing_Account_List Date Modified: 2021-11-03



Try Zimbra

Try Zimbra Collaboration with a 60-day free trial.
Get it now »

Want to get involved?

You can contribute in the Community, Wiki, Code, or development of Zimlets.
Find out more. »

Looking for a Video?

Visit our YouTube channel to get the latest webinars, technology news, product overviews, and so much more.
Go to the YouTube channel »


Jump to: navigation, search