知識庫

備份建立失敗時發生錯誤 "The system cannot find the file specified"


發佈時間 : 15 Feb 2017
上次修改日期 : 24 Aug 2022

問題

監視應用程式或防毒程式進行即時監視掃描時,tabadmin 備份將失敗,並顯示以下錯誤:
Error: 
cannot delete the file 
(Full file path/.tsbak.tmp)(錯誤:無法刪除檔案(完整檔案路徑/.tsbak.tmp))
The system cannot find the file specified.(系統找不到指定的檔案。)
System ERROR: 
The system cannot find the file specified.(系統錯誤:系統找不到指定的檔案。)

 
此外,執行 tabadmin 備份命令時,若使用 7zip,則可能會發生以下錯誤:
*** Backup failed!(***備份失敗!)
*** Error:(***錯誤:)Command '"<Tableau Server path /7z.exe>" a -tzip -mx1 -mcu=on -bb1 "<Back up full path /tsbak.tmp####>" * "<Tableau Server path /webdataconnectors"' failed with code 2, result was 
7-Zip [64] 15.14 :Copyright (c) 1999-2015 Igor Pavlov : 2015-12-31(命令 '"<Tableau Server path /7z.exe>" a -tzip -mx1 -mcu=on -bb1 "<Back up full path /tsbak.tmp####>" * "<Tableau Server path /webdataconnectors"' 失敗,錯誤代碼為 2,結果為 7-Zip [64] 15.14 : Copyright (c) 1999-2015 Igor Pavlov : 2015-12-31)
failed with code 2, result was 
7-Zip [64] 15.14 : Copyright (c) 1999-2015 Igor Pavlov : 2015-12-31(失敗,錯誤代碼為 2,結果為 7-Zip [64] 15.14 : Copyright (c) 1999-2015 Igor Pavlov : 2015-12-31)
Open archive: (Full file path/.tsbak.tmp)(請開啟封存:(完整檔案路徑/.tsbak.tmp))

環境

Tableau Server

解決方法

將 Tableau Server 資料夾新增到正在執行即時監視掃描軟體的排除清單中。

原因

防毒程式或監視軟體正在執行主動掃描,並且對該檔案的掃描時間過長。在掃描內容時,Tableau Server 嘗試擷取檔案失敗,並引發錯誤訊息。
這篇文章是否解決了問題?