NetWorker: "Failed to open the lock file: Permission denied " error seen on running any command within nsr

Сводка: Not able to use any NetWorker command-line utilities due to permission issues.

Данная статья применяется к Данная статья не применяется к Эта статья не привязана к какому-либо конкретному продукту. В этой статье указаны не все версии продуктов.

Симптомы

The mminfo command fails with the following error:
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, so on, are also affected.

Причина

.administrator.lck file does not have sufficient permission on the NetWorker server host.

Разрешение

Changing permissions on the nsrlogin lock file at /nsr/tmp/sec/tokens

Windows:

  1. Navigate to /nsr/tmp/sec/tokens
  2. Locate file ".nsrlogin.localadmin.lck" (This is a hidden file, on Windows click view, then show hidden).
  3. Modify the file permission for local admin to have Full Control.

Linux:

  1. cd /nsr/tmp/sec/tokens
  2.  Type "ls -lat", so you can list all the hidden files and show permissions.
  3. Modify the file permissions to have Read, Write, and Execute permissions.
Свойства статьи
Номер статьи: 000220446
Тип статьи: Solution
Последнее изменение: 23 Feb 2024
Версия:  2
Получите ответы на свои вопросы от других пользователей Dell
Услуги технической поддержки
Проверьте, распространяются ли на ваше устройство услуги технической поддержки.