So I blew everything away and started fresh again.  I have pretty skinny
fingers so I don't think I am fat fingering anything but now it is back to
complaining about the Authorizers.xml file.

On Wed, Feb 12, 2020 at 8:52 AM Josh Friberg-Wyckoff <j...@thefribergs.com>
wrote:

> For the sake of testing I have just been running everything as root.
> Permissions look good to me.
>
> [root@wvllab-lnx-nifi conf]# ls -la
> total 116
> drwxr-xr-x  3 root root  4096 Feb 12 00:13 .
> drwxr-xr-x 16 root root   328 Feb 11 23:36 ..
> drwxr-xr-x  2 root root    86 Feb 12 00:02 archive
> -rw-r--r--  1 root root  1813 Feb 11 23:36 authorizations.xml
> -rw-rw-r--  1 root root 22076 Feb 12 00:01 authorizers.xml
> -rw-rw-r--  1 root root  4026 Jan  5 11:24 bootstrap.conf
> -rw-rw-r--  1 root root  2326 Jan  5 11:24
> bootstrap-notification-services.xml
> -rw-r--r--  1 root root   282 Feb 12 00:02 flow.xml.gz
> -rw-------  1 root root  3105 Feb 11 23:25 keystore.jks
> -rw-rw-r--  1 root root  8666 Jan  5 11:24 logback.xml
> -rw-rw-r--  1 root root  6506 Feb 11 23:32 login-identity-providers.xml
> -rw-------  1 root root  1200 Feb 11 23:25 nifi-cert.pem
> -rw-------  1 root root  1675 Feb 11 23:25 nifi-key.key
> -rw-rw-r--  1 root root 12373 Feb 11 23:27 nifi.properties
> -rw-rw-r--  1 root root  8669 Jan  5 11:24 state-management.xml
> -rw-------  1 root root   911 Feb 11 23:25 truststore.jks
> -rw-r--r--  1 root root   382 Feb 11 23:36 users.xml
> -rw-rw-r--  1 root root  1718 Jan  5 11:24 zookeeper.properties
> [root@wvllab-lnx-nifi conf]# pwd
> /apps/nifi-test/conf
>
> On Wed, Feb 12, 2020 at 7:55 AM Bryan Bende <bbe...@gmail.com> wrote:
>
>> Hello,
>>
>> It looks like basically the same error you had for authorizers.xml,
>> but now for login-identity-providers.xml.
>>
>> It is saying the file does not exist at
>> /apps/nifi-test/./conf/login-identity-providers.xml
>>
>> Can you verify the file exists and it is readable by whatever OS user
>> NiFi is running as.
>>
>> Thanks,
>>
>> Bryan
>>
>> On Wed, Feb 12, 2020 at 12:55 AM Josh Friberg-Wyckoff
>> <j...@thefribergs.com> wrote:
>> >
>> > I restarted from scratch and tried again.  This time it is complaining
>> about the Login Identity Provider xml
>> > https://gist.github.com/SquashBuckler/96d23ebd1652908c0b00db0a06198a13
>> >
>> > On Tue, Feb 11, 2020 at 10:26 PM Pierre Villard <
>> pierre.villard...@gmail.com> wrote:
>> >>
>> >> There should be more lines below the ERROR log you gave in your
>> initial email. The full stack trace here will definitely help. If too long
>> and not sensitive, you can put in a public gist [1] and give us the link.
>> >>
>> >> [1] https://gist.github.com/
>> >>
>> >> Le mar. 11 févr. 2020 à 19:30, Josh Friberg-Wyckoff <
>> j...@thefribergs.com> a écrit :
>> >>>
>> >>> So is that the entire file or just part of it.  Over 2300 lines in it.
>> >>>
>> >>> On Tue, Feb 11, 2020 at 8:42 PM Pierre Villard <
>> pierre.villard...@gmail.com> wrote:
>> >>>>
>> >>>> Hi Josh,
>> >>>>
>> >>>> The full stack trace from nifi-app.log would probably provide more
>> information. This is likely a configuration issue.
>> >>>>
>> >>>> Thanks,
>> >>>> Pierre
>> >>>>
>> >>>> Le mar. 11 févr. 2020 à 15:44, Josh Friberg-Wyckoff <
>> j...@thefribergs.com> a écrit :
>> >>>>>
>> >>>>> I followed a tutorial from the Mint Ops Blog on how to setup NiFi
>> with LDAP.
>> >>>>>
>> >>>>> I am getting the following error when trying to start Nifi.  Would
>> be helpful if anyone could point me in the right direction.
>> >>>>>
>> >>>>> 2020-02-11 16:04:59,398 ERROR [NiFi logging handler]
>> org.apache.nifi.StdErr Failed to start web server: Error creating bean with
>> name
>> 'org.springframework.security.config.annotation.web.configuration.WebSecurityConfiguration':
>> Unsatisfied dependency expressed through method
>> 'setFilterChainProxySecurityConfigurer' parameter 1; nested exception is
>> org.springframework.beans.factory.BeanExpressionException: Expression
>> parsing failed; nested exception is
>> org.springframework.beans.factory.UnsatisfiedDependencyException: Error
>> creating bean with name
>> 'org.apache.nifi.web.NiFiWebApiSecurityConfiguration': Unsatisfied
>> dependency expressed through method 'setJwtAuthenticationProvider'
>> parameter 0; nested exception is
>> org.springframework.beans.factory.BeanCreationException: Error creating
>> bean with name 'jwtAuthenticationProvider' defined in class path resource
>> [nifi-web-security-context.xml]: Cannot resolve reference to bean
>> 'authorizer' while setting constructor argument; nested exception is
>> org.springframework.beans.factory.BeanCreationException: Error creating
>> bean with name 'authorizer': FactoryBean threw exception on object
>> creation; nested exception is java.lang.Exception: Unable to load the
>> authorizer configuration file at: /apps/nifi/./conf/authorizers.xml
>> >>>>>
>> >>>>>
>>
>

Reply via email to