nifi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Utkarsh Srivastava <utkarsh0...@gmail.com>
Subject Re: Sudo service nifi command not working
Date Mon, 21 Oct 2019 12:23:02 GMT
Hi Praveen,

As a workaround to this problem, go to the Nifi Script and set the
JAVA_HOME variable from the nifi startup script.

Regards,
Utkarsh Srivastava

On Thu, Oct 17, 2019 at 7:49 PM Praveen Anguralia <
praveen.anguralia@gmail.com> wrote:

> Hi team,
>
> I need your inputs on an issue that I am facing with respect to the
> command:
> sudo service nifi start
> Background: I have installed Nifi in Amazon EC2 linux machine. I have
> installed Java as well. When I run command as:
> ./nifi.sh start
> I do not find issue. Nifi starts successfully.
> But when I run command as:
>   sudo service nifi start
> It says JAVA_HOME not set.
> Its not able to find out java.
> Howveer, echo "$JAVA_HOME" gives the installed path
>
> Please help me to sort out the issue.
>
> Thank you,
> Praveen
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message