Created 05-24-2017 12:56 PM
Hi, I didnt stop NiFi with the usual control+C command, when i turned my laptop back on NiFi was still running. How do i Shut it down? Thanks
Created 05-24-2017 01:19 PM
Hi @Roger Young
What does status-nifi.bat report on the machine? Are there any Java processes that show up in your task manager? It's possible that if NiFi wasn't shutdown cleanly that it was unable to delete nifi.pid, nifi.status, and nifi.lock files and that the bootstrap logic is incorrectly assuming that means it is still running.
If you determine that there is not a NiFi process running (task manager, status-nifi above) you could try moving those files out to another directory and then starting NiFi.
Created 05-24-2017 01:24 PM
Hi, staus-nifi.bat shows NiFi is running. There is also java processes showing in task manager. NiFi is working fine, i just want to shut it down properly. I tried bin\nifi.sh stop but that doesnt work.
Created 05-25-2017 01:55 PM
i just killed the processes in task manager
Created 05-25-2017 12:50 AM
Run "nifi.bat stop" from nifi bin folder and it would stop nifi.
Created 05-25-2017 08:57 AM
Hi, that command returns the following error
'nifi.bat' is not recognized as an internal or external command, operable program or batch file.
Created 05-26-2017 08:38 AM
Try placing the stop-nifi.bat file from the attached zip file in your bin folder and running it.
Created 03-31-2020 09:47 AM
edit run-nifi.bat, replace 'run' in the last line with 'stop' and save it with stop-nifi.batch. Then run it the usual way. Then check status-nifi.bat
Created 09-17-2020 02:13 AM
perfect!