Restarting Icinga Web 2 Setup and LDAP logging

I have just completed the Icinga Web 2 setup, configuring for LDAP authentication. Every step along the way passed the validation test but I can’t login with my LDAP credentials.

  1. How can I restart the setup?

  2. Where will the LDAP errors log to on a CentOS 7 box?

Generate a new setup token first. Then head over to /icingaweb2/setup.

This would only be of interest if there was indeed an error. In that case also Icinga Web 2 will log the error which can be found either in /var/log/icingaweb2/icingaweb2.log or syslog /var/log/messages.

Though, this would have been indicated when you’ve tried to login. If it was only the usual message about wrong password or username, you may have made a mistake in the configuration. This is stored in /etc/icingaweb2/authentication.ini. Check which user_class, user_name_attribute and base_dn are set and whether they’re correct.

1 Like

Thankks for the reply, I can’t seem to execute the original token command as I now get:

# icingacli setup token create;
ERROR: There is no such module or command: 'setup'

The module needs to be enabled in order for this to work. (icingacli module enable setup)

1 Like