Support Questions

Find answers, ask questions, and share your expertise

i was running nifi , and it was running all right but after closing it i can't open it again it show me this error

avatar
bin/nifi.sh: 88: bin/nifi.sh: source: not found

Java home: /etc/java-8-openjdk
NiFi home: /home/mohmed/Downloads/nifi-1.3.0

Bootstrap Config File: /home/mohmed/Downloads/nifi-1.3.0/conf/bootstrap.conf
7 REPLIES 7

avatar
Contributor

@Mohamed Hossam

Assumptions - Mac OS/Linux OS

1. It can be as simple as you are in the wrong working directory. Do pwd and cd to appropriate folder (that contains bin/nifi.sh).

2. Add nifi bin folder to your path environment variable

3. run nifi in the background using nohup or &.

Feel free to let us know in case of any mistakes in my understanding and close this ticket in case of no concerns,

avatar

@sbabu , thank u for reply . am sure i am in the write directory .

but would you please explain what is nohup ??

thanks

avatar

root@ubuntu-VirtualBox:/home/ubuntu/Downloads/nifi-1.3.0# bin/nifi.sh start

this is my directory if it's wrong just tell me @sbabu

avatar
Contributor
@Mohamed Hossam

Hmm, could we see whats happening in the logs folder (especially nifi-app.log)?

avatar

@sbabu

sure but i found my nifi.api.log about 90 MB , so this file has the last log

nifi-app.tar.gz

avatar
@Mohamed Hossam

Looking at the nifi-app.log file you provided, it appears NiFi is running just fine. What do you see in the nifi-bootstrap.log file?

avatar
Contributor

@Mohamed Hossam

Unfortunately, I don't see any errors/issues in this log file just shows NiFi startup process. if it goes down again, feel free to tail the logs to look for OOM (out of memory caused by your custom processors or AWS not available temporarily)