NetWorker: REST API log folder is missing

Riepilogo: This KB provides instructions on how to reconfigure REST API logging if the restapi logs directory does not exist.

Questo articolo si applica a Questo articolo non si applica a Questo articolo non è legato a un prodotto specifico. Non tutte le versioni del prodotto sono identificate in questo articolo.

Sintomi

The NetWorker server's REST Application Programming Interface (API) logs directory is missing:

  • Linux: /nsr/logs/restapi
  • Windows: C:\Program Files\EMC NetWorker\nsr\logs\restapi

Restarting services does not re-create the REST API log directory.

Causa

The REST API logs folder was renamed or deleted, either accidentally by a user or as part of a troubleshooting attempt.

Risoluzione

On Windows servers, re-creating the C:\Program Files\EMC NetWorker\nsr\logs\restapi directory should resolve the issue. Once the folder is created, the restapi.log should appear; however, a NetWorker service restart may be required. This path assumes the default NetWorker installation path is used. If another drive or installation path is used, the 'restapi' folder should be created under the ..\nsr\logs location. 

On Linux servers, you must perform the following:

NOTE: See Additional Info field if the NetWorker server is deployed on a pacemaker (pcs) cluster.

1. Re-create the REST API logs folder:

sudo mkdir /nsr/logs/restapi

2. Set permissions on the folder:
sudo chmod 755 /nsr/logs/restapi

3. Change ownership of the folder to nsrtomcat:
sudo chown -R nsrtomcat:nsrtomcat /nsr/logs/restapi
 
4. Restart NetWorker:
systemctl restart networker

5. The REST API log should be re-created and show a nwrestapi service startup.

Example of nwrestapi service startup

Informazioni aggiuntive

Prodotti interessati

NetWorker

Prodotti

NetWorker Family, NetWorker Series
Proprietà dell'articolo
Numero articolo: 000221945
Tipo di articolo: Solution
Ultima modifica: 30 apr 2025
Versione:  3
Trova risposta alle tue domande dagli altri utenti Dell
Support Services
Verifica che il dispositivo sia coperto dai Servizi di supporto.