I downloaded NIFI on a linux ec2 node. I set the JAVA_HOME and am trying to run as su. I am running the command ./nifi.sh run. I do not see any error messages on nifi-app.log or nifi-bootstrap.log but when I check status I keep getting "Apacha Nifi not running". Am I missing some basic check here? One more issue: nifi-user.log file stays at 0 KB (doesn't get updated).
I am seeing that nifi is trying to start and is getting killed for some reason, don't see any logs that indicate an error.
Are you being patient enough? There is a lot of packages that get unpacked and setup when you run nifi for the first time. Also the entropy can sometimes block, so may try giving it some more time, around 15 minutes and see if it comes up. I am just hoping you are not terminating it too early.
If that is not the case, what kind of ec2 are you using, how much memory, disk space and cores?
if you have some other process running on port 8080, you can change nifi to use a different port by changing the value in conf/nifi.properties. replace 8080 with whatever port you want.
I am not sure if my previous reply got posted. I think it got lost. My 8080 is not in use. I ran netstat -pan and did not get any reference of 8080 in my output. I also tried changing port to 9090 but no luck. The log files don't contain any error either. The file: nifi-user.log stays at 0KB though. Any other suggestions?
Thanks for your help!
@Ranjit S what about nifi-bootstrap.log and nifi-app.log can you check that. Also, it could be possible you may getting stuck in the java entropy issue. In your conf/bootstrap.conf file add the following line .
Try starting nifi now.
@Ranjit S That is strange.... can you show us your directory structure, a screenshot of it. Also make sure you downloaded the full tar and that it was not corrupted. I should see something in nifi-bootstrap.log at least.
I agree - that would be useful. Any chance that there are permissions issues at play here? The user running NiFi will need write permissions to the $NIFI_HOME directory and all subdirectories.