Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

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

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

New Contributor
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

Re: 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

New 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,

Re: 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

New Contributor

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

but would you please explain what is nohup ??

thanks

Re: 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

New Contributor

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

Re: 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

New Contributor
@Mohamed Hossam

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

Re: 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

New Contributor

@sbabu

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

nifi-app.tar.gz

Re: 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

@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?

Re: 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

New 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)

Don't have an account?
Coming from Hortonworks? Activate your account here