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 命令失败,并显示以下错误:
nsrcapinfo、 nsradmin、 nsrlogin、 nsrauthtrust 等也会受到影响。
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.
nsrcapinfo、 nsradmin、 nsrlogin、 nsrauthtrust 等也会受到影响。
Cause
.administrator.lck 文件在 NetWorker 服务器主机上没有足够的权限。
Resolution
更改位于 /nsr/tmp/sec/tokens
的 nsrlogin 锁定文件的权限Windows:
- 导航至 /nsr/tmp/sec/tokens
- 找到文件“.nsrlogin.localadmin.lck”(这是一个隐藏文件,在 Windows 上单击查看,然后显示隐藏)。
- 修改本地管理员的文件权限,使其具有完全控制权限。
Linux:
- cd /nsr/tmp/sec/tokens
- 键入“ls -lat”,以便您可以列出所有隐藏文件并显示权限。
- 修改文件权限以具有读取、写入和执行权限。
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.