are you running from RPM?

If yes, the permissions of the /opt/nifi/ are quite restrictive.

Cheers

On Fri, Jun 3, 2016 at 4:39 PM, Shashi Vishwakarma <shashi.vish...@gmail.com
> wrote:

> Hi
>
> I want to run my NiFi application using ec2-user rather than default nifi
> user. I changed *run.as <http://run.as/>=ec2-user* in bootstrap.conf but
> it did not worked .It is not allowing me to start Nifi application getting
> following error while staring nifi service.
>
>
>
>    1. ./nifi.sh start
>    2. nifi.sh: JAVA_HOME not set; results may vary
>    3.
>    4.
>    5. Java home:
>    6. NiFi home: /opt/nifi/current
>    7.
>    8.
>    9. Bootstrap Config File: /opt/nifi/current/conf/bootstrap.conf
>    10.
>    11. Error: Could not find or load main class 
> org.apache.nifi.bootstrap.RunNiFi
>
> Any pointer to this issue?
>
> Thanks
>
> Shashi
>

Reply via email to