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 資訊 <7838>:新增使用者排除項目「var/mc/server_data/prefs/sessionticket.srl」
2016-10-26 05:52:38 avtar 資訊 <5375>:   排除模式「var/mc/server_data/prefs/sessionticket.srl」的 1 個相符項。
2016-10-26 06:50:01 avtar 資訊 <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,weekly,monthly,yearly 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.