Hello,

Trying to use ExecuteStreamCommand but getting ErrNo 2: File Not Found.

Reduced call to a simple ls command without parameters, same issue.

Nifi is running on RedHat Linux 8 as user "nifi" and group "nifi" Nifi is
using Java 17 (openjdk version "17.0.7" 2023-04-18 LTS).  On the cmd-line
ls is working as user nifi.

Set working directory to "/usr/bin" and command to "/usr/bin/ls" does not
solve the issue.

Saw in the code that ProcessBuilder is used. Searched Google but no
solution found there that helped.

How to solve this?


Kind Regards / Met vriendelijke groet,

Tiemen Fiat
DTCA

------------------------------------------------------------------------
De Belastingdienst stelt e-mail niet open voor aanvragen, aangiften, 
bezwaarschriften, verzoeken, klachten, ingebrekestellingen en soortgelijke 
formele berichten.
Dit bericht is uitsluitend bestemd voor de geadresseerde. Het bericht kan 
vertrouwelijke informatie bevatten waarvoor de fiscale geheimhoudingsplicht 
geldt. Als u dit bericht per abuis hebt ontvangen, wordt u verzocht het te 
verwijderen en de afzender te informeren.

The Dutch Tax Administration does not accept filings, requests, appeals, 
complaints, notices of default or similar formal notices, sent by email.
This message is solely intended for the addressee. It may contain information 
that is confidential and legally privileged. If you are not the intended 
recipient please delete this message and notify the sender.

Reply via email to