'when i change the permission and restarting minifi server the file minifi.pid have the main permission

2022-05-07 01:13:43,156 WARN [main] org.apache.nifi.minifi.bootstrap.Command Failed to set permissions so that only the owner can read pid file C:\Users\arsalen\Desktop\NOUVEA~1\MINIFI~1.3\bin..\run\minifi.pid; this may allows others to have access to the key needed to communicate with MiNiFi. Permissions should be changed so that only the owner can read this file 2022-05-07 01:13:43,165 WARN [main] org.apache.nifi.minifi.bootstrap.Command Failed to set permissions so that only the owner can read status file C:\Users\arsalen\Desktop\NOUVEA~1\MINIFI~1.3\bin..\run\minifi.status; this may allows others to have access to the key needed to communicate with MiNiFi. Permissions should be changed so that only the owner can read this file 2022-05-07 01:13:43,701 WARN [MiNiFi Bootstrap Command Listener] o.apache.nifi.minifi.bootstrap.RunMiNiFi Failed to set permissions so that only the owner can read pid file C:\Users\arsalen\Desktop\NOUVEA~1\MINIFI~1.3\bin..\run\minifi.pid; this may allows others to have access to the key needed to communicate with MiNiFi. Permissions should be changed so that only the owner can read this file 2022-05-07 01:13:43,707 WARN [MiNiFi Bootstrap Command Listener] o.apache.nifi.minifi.bootstrap.RunMiNiFi Failed to set permissions so that only the owner can read status file C:\Users\arsalen\Desktop\NOUVEA~1\MINIFI~1.3\bin..\run\minifi.status; this may allows others to have access to the key needed to communicate with MiNiFi. Permissions should be changed so that only the owner can read this file 2022-05-07 01:13:43,708 INFO [MiNiFi Bootstrap Command Listener] o.apache.nifi.minifi.bootstrap.RunMiNiFi The thread to run Apache MiNiFi is now running and listening for Bootstrap requests on port 49908 2022-05-07 01:13:47,373 ERROR [MiNiFi logging handler] org.apache.nifi.minifi.StdErr Failed to start flow service: Unable to load flow due to: java.lang.IllegalArgumentException: NiFi Sensitive Properties Key [nifi.sensitive.props.key] is required


  • Heading



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source