NetWorker:「無法開啟鎖定檔案:在 nsr 內執行任何命令時,出現權限遭拒」錯誤

Summary: 由於權限問題,無法使用任何 NetWorker 命令列公用程式。

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

mminfo 命令失敗,並出現下列錯誤:
136611:mminfo: Failed to open the lock file: Permission denied
144502:nsrd: Unable to set user privileges based on user token for localadmin on <NW-Server-Name>: Failed to validate security token.
167325:mminfo: Unable to connect to media database server on host <NW-Server-Name>: Unable to set user privileges based on user token for localadmin on <NW-Server-Name>: Failed to validate security token.

nsrcapinfonsradminnsrloginnsrauthtrust 等也會受到影響。

Cause

.administrator.lck 檔案在 NetWorker 伺服器主機上的權限不足。

Resolution

變更在 /nsr/tmp/sec/tokens

nsrlogin 鎖定檔案權限Windows:

  1. 瀏覽至 /nsr/tmp/sec/tokens
  2. 找到檔案「.nsrlogin.localadmin.lck」(這是一個隱藏的檔案,在 Windows 上按一下檢視,然後顯示隱藏)。
  3. 修改檔案權限,讓本機管理員擁有完整控制。

Linux:

  1. cd /nsr/tmp/sec/tokens
  2.  輸入「ls -lat」,即可列出所有隱藏檔案並顯示權限。
  3. 修改檔案權限,使其具有讀取、寫入和執行權限。
Article Properties
Article Number: 000220446
Article Type: Solution
Last Modified: 23 Feb 2024
Version:  2
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.