NetWorker: Cartella di registro API REST mancante
Summary: Questo articolo della Knowledge Base fornisce istruzioni su come riconfigurare la registrazione dell'API REST se la directory dei log restapi non esiste.
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
Manca la directory dei log restapi del server NetWorker:
- Linux: /nsr/logs/restapi
- Windows: C:\Program Files\EMC NetWorker\nsr\logs\restapi
Cause
I registri restapi sono stati rinominati o eliminati, accidentalmente da un utente o come parte di un tentativo di risoluzione dei problemi.
Resolution
Sui Windows Server, il problema dovrebbe essere risolto semplicemente ricreando la directory C:\Program Files\EMC NetWorker\nsr\logs\restapi. Una volta creata la cartella, dovrebbe apparire il restapi.log; tuttavia, potrebbe essere necessario riavviare il servizio NetWorker. Questo percorso presuppone che sia stato utilizzato il percorso di installazione predefinito di NetWorker. Se è stata utilizzata un'altra unità o percorso di installazione, è necessario creare la cartella restapi sotto il dominio .. \nsr\posizione logs.
Sui server Linux, è necessario effettuare le seguenti operazioni:
NOTA: Vedere il campo Additional Info se il server NetWorker è installato su un cluster pacemaker (pcs).
1. Ricreare la cartella dei registri dell'API REST:
sudo mkdir /nsr/logs/restapi
2. Impostare le autorizzazioni per la cartella:
sudo chmod 755 /nsr/logs/restapi
3. Modificare la proprietà della cartella in nsrtomcat:
sudo chown -R nsrtomcat:nsrtomcat /nsr/logs/restapi
4. Riavviare NetWorker:
systemctl riavvia NetWorker
5. Il log dell'API REST dovrebbe essere ricreato e mostrare un avvio del servizio nwrestapi.

Additional Information
Se il server NetWorker è un cluster pacemaker (pcs) Linux, vedere: NetWorker: restapi.log file non generato sul server NetWorker implementato nel cluster pacemaker RHEL.
Networker: Come abilitare il debug API REST
Networker: Come abilitare il debug API REST
Affected Products
NetWorkerProducts
NetWorker Family, NetWorker SeriesArticle Properties
Article Number: 000221945
Article Type: Solution
Last Modified: 30 Apr 2025
Version: 3
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.