Avamar:MCS 刷新失败,并显示 avtar 错误 <16507>:路径“var/mc/server_data/prefs/sessionticket.srl”

Summary: Avamar:服务器 MCS 数据库刷新失败,并显示 avtar 错误 <16507>:路径“var/mc/server_data/prefs/sessionticket.srl”:已处理的字节总数 <#> 与原始数据大小不一致 <#>

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Symptoms

当执行 MCS 数据库的备份时,可能会出现以下错误:

avtar Error <16507>:路径“var/mc/server_data/prefs/sessionticket.srl”:已处理字节 <总数 #> 与原始数据大小 <不一致 #>

后续备份将完成,而不会出现问题。

Cause

在备份期间写入 sessionticket.srl 并更改大小时,会出现此错误。

Resolution

恢复 MCS 不需要 sessionticket.srl,因此可以安全地忽略此错误。  

解决方法:
如果要防止将来出现此错误,请按照下面提供的解决方法修改mcserver.xml文件

。在对mcserver.xml进行任何更改之前,请创建其备份拷贝:
cd /usr/local/avamar/var/mc/server_data/prefs/
cp -p mcserver.xml x-mcserver.xml.old.'date -I'

Edit /usr/local/avamar/var/mc/server_data/prefs/mcserver.xml and add the following information to the flush_exclude_subdirs line:

,prefs/sessionticket.srl

So the flush_exclude_subdirs line should appear as follows:
value="mcs_data_dump.sql.restore,postgres/data/base,postgres/data/global,postgres/data/pg_clog,postgres/data/pg_xlog,postgres/data/postmaster.pid,flush,postgres/data/pg_log,postgres/data/pg_tblspc,postgres/data/pg_twophase,postgres/data/pg_multixact,postgres/data/pg_subtrans,postgres/data/pg_stat_tmp,prefs/sessionticket.srl" />

Note that the MCS will need to be restarted for these changes to take affect:
 
dpnctl stop mcs
dpnctl start mcs

Once the next backup of the MCS has been completed you can confirm the sessionticket.srl was not backed up by grepping through the flush.log to confirm;

grep sessionticket.srl /usr/local/avamar/var/mc/server_log/flush.log
 
2016-10-26 05:50:10 avtar Info <7838>:- 添加了用户排除“var/mc/server_data/prefs/sessionticket.srl”
2016-10-26 05:52:38 avtar Info <5375>:   排除模式“var/mc/server_data/prefs/sessionticket.srl”匹配 1 个。
2016-10-26 06:50:01 avtar Info <5551>:命令行:/usr/local/avamar/bin/avtar.bin --flagfile=/usr/local/avamar/etc/usersettings.cfg --password=**************** --vardir=/usr/local/avamar/var --server=server-internal --id=root --bindir=/usr/local/avamar/bin --vardir=/usr/local/avamar/var --bindir=/usr/local/avamar/bin --sysdir=/usr/local/avamar/etc -c -v --account=/MC_BACKUPS --nocache --senddata --logfile=var/mc/server_log/flush.log --id=root --password=**************** --retention-type=daily,每周,每月,每年 var/mc/server_data/ --exclude=var/mc/server_data/mcs_data_dump.sql.restore --exclude=var/mc/server_data/postgres/data/base --exclude=var/mc/server_data/postgres/data/global --exclude=var/mc/server_data/postgres/data/pg_clog --exclude=var/mc/server_data/postgres/data/pg_xlog --exclude=var/mc/server_data/postgres/data/postmaster.pid --exclude=var/mc/server_data/flush --exclude=var/mc/server_data/postgres/data/pg_log --exclude=var/mc/server_data/postgres/data/pg_tblspc --exclude=var/mc/server_data/postgres/data/pg_twophase --exclude=var/mc/server_data/postgres/data/pg_multixact --exclude=var/mc/server_data/postgres/data/pg_subtrans --exclude=var/mc/server_data/postgres/data/pg_stat_tmp --exclude=var/mc/server_data/prefs/sessionticket.srl --server=server-internal --hfsport=27000 --conntimeout=120 --vardir=/usr/local/avamar/var

Affected Products

Avamar

Products

Avamar, Avamar Server
Article Properties
Article Number: 000170855
Article Type: Solution
Last Modified: 12 Mar 2025
Version:  3
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.