Skip to main content
Aiiyer
Silver ⭐️
July 23, 2021
Solved

NIFI installation is not working

I installed NIFI in my system but when I tried to check the status using nifi.sh status under my bin directory it gives the below error:
Aiiyer_0-1627080418888.png

Request you to please suggest a solution for this.

Thanks!

ask_bill_brooks
Platinum ⭐️
July 24, 2021

@AiiyerThe more detail you provide in your post the better community members can assist with your question. You didn't indicate from what distribution you installed NiFi, or on what operating system you installed it.

The absolute file path shown in the dialog box you provided a screen capture of indicates that you are running some version of MS Windows and the text of the error message itself would support that conclusion. If that's the case, you can't generally run a shell script like nifi.sh without ancillary software installed because the command interpreter for that script is not available on your chosen operating system.

 

According to the Getting Started with Apache NiFi documentation (scroll down to the section Starting NiFi), the command bin/nifi.sh status is only appropriate for Linux/macOS users. The solution would be to avoid attempting to run that shell script on MS Windows. Follow the instructions in the section For Windows Users instead.

 

 

Bill Brooks, Community Moderator Was your question answered? Make sure to mark the answer as the accepted solution. If you find a reply useful, say thanks by clicking on the thumbs up button.

3 replies

ask_bill_brooks
Platinum ⭐️
Platinum ⭐️
July 24, 2021

@AiiyerThe more detail you provide in your post the better community members can assist with your question. You didn't indicate from what distribution you installed NiFi, or on what operating system you installed it.

The absolute file path shown in the dialog box you provided a screen capture of indicates that you are running some version of MS Windows and the text of the error message itself would support that conclusion. If that's the case, you can't generally run a shell script like nifi.sh without ancillary software installed because the command interpreter for that script is not available on your chosen operating system.

 

According to the Getting Started with Apache NiFi documentation (scroll down to the section Starting NiFi), the command bin/nifi.sh status is only appropriate for Linux/macOS users. The solution would be to avoid attempting to run that shell script on MS Windows. Follow the instructions in the section For Windows Users instead.

 

 

Translate
Bill Brooks, Community Moderator Was your question answered? Make sure to mark the answer as the accepted solution. If you find a reply useful, say thanks by clicking on the thumbs up button.
Aiiyer
AiiyerAuthor
Silver ⭐️
July 26, 2021

Hello @ask_bill_brooks, thanks for your response and guidance, I can now successfully login to NIFI with the help of the document : https://nifi.apache.org/docs/nifi-docs/html/getting-started.html#for-windows-users that you provided. Thanks for your help!

Regards,

Aishwarya

Translate
VidyaSargur
Community Manager
Community Manager
July 27, 2021

@Aiiyer, Thank you for your participation in Cloudera Community. I'm happy to see you resolved your issue. Please mark the appropriate reply as the solution, as it will make it easier for others to find the answer in the future.

Translate
Regards, Vidya Sargur, Community Manager Was your question answered? Make sure to mark the answer as the accepted solution. If you find a reply useful, say thanks by clicking on the thumbs up button.