Icinga2 new installation issue

Good evening,

I use Debian Strech
I have an Icinga2 on 2.6.2, after an upgrade my Icinga2 crash.

I reinstall IT.
icinga2 (2.10.4-1)
icingaweb2 (2.6.2-1)

I use a LDAP authentification, during configuration some account will be find, I select a account.

But when I try to connect I have a message for an incorrect user or password. But when I use this account with an another program, authentication is ok.

I have configure too
log = “file”
level = “DEBUG”
file = “/var/log/icingaweb2/icingaweb2.log”

But file is empty.

Thank you for your help.

Can you share the configuration, without the sensitive details?


icinga2 --version
icinga2 - The Icinga 2 network monitoring daemon (version: r2.10.4-1)

user_class = “inetOrgPerson”
filter = “”
user_name_attribute = “uid”
backend = “ldap”
base_dn = “ou=users,ou=persons,dc=domaine,dc=local”
domain = “domaine.local”
resource = “icingaweb_ldap”

type = “ldap”
hostname = “ldap.domaine.local”
port = “389”
encryption = “starttls”
root_dn = “dc=domaine,dc=local”
bind_dn = “cn=admin,dc=domaine,dc=local”
bind_pw = “mdp”
timeout = “5”

type = “db”
db = “mysql”
host = “bdd0.domaine.com
port = “3306”
dbname = “icinga2”
username = “icinga2”
password = “icinga2”
charset = “utf8”
use_ssl = “0”

resource = “icingaweb_ldap”
user_backend = “icingaweb2”
group_class = “”
group_filter = “”
group_name_attribute = “”
group_member_attribute = “”
base_dn = “”
backend = “ldap”

show_stacktraces = “1”
show_application_state_messages = “1”
config_backend = “ini”

log = “file”
level = “DEBUG”
file = “/var/log/icingaweb2/icingaweb2.log”

Okidoki, and a manual LDAP query with the provided credentials looks like? :slight_smile: Maybe there’s something wrong with the details, and your other application differs.

With Icinga 2.6.2, this configuration was available.

And why I don’t have any log for failed authentifcation

You’re mixing versions, Icinga 2 as core is 2.10.4 while Icinga Web is 2.6.2.

Dunno, maybe SELinux or anything else prevents writing there. Check the syslog as well as apache log if there’s any more insights.

I use deb https://packages.icinga.com/debian icinga-stretch main

For install Icinga2

When I search icingaweb2, I don’t see 2.10.4

I was searching for errors similar to mine…
I have a fresh install on icinga2/icingaweb2

For the life of me I cannot figure out why /var/log/icingaweb2/icingaweb2.log is empty

[user@icingap01 icingaweb2 8055]$ pwd
[user@icingap01 icingaweb2 8055]$ ls -la
total 8
drwxrwsr-x. 2 root icingaweb2 27 Aug 2 16:56 .
drwxr-xr-x. 15 root root 4096 Aug 2 16:56 …
-rw-r–r--. 1 apache icingaweb2 0 Aug 2 16:56 icingaweb2.log

My config is this:

[user@icingap01 icingaweb2 8045]$ cat config.ini
show_stacktraces = “1”
show_application_state_messages = “1”
config_backend = “ini”
module_path = “/usr/share/icingaweb2/modules”

log = “file”
level = “DEBUG”
file = “/var/log/icingaweb2/icingaweb2.log”

default = “solarized-dark”

default_domain = “domainnamehere”

I have rebooted, restarted, even removed and let the application recreate the log file, renamed the file through the application (which it does create it, just empty every time)…however nothing ever logs to it… I have also disabled selinux (Permissive mode) and still never seem to get content into the log file.

I have also check apache logs, nothing in access/error logs

I retract my previous issue… I did a test by inserting a bogus user/password to login and now I see content. So I have set the loglevel back to WARNING only.

Guessing there isn’t a lot of messages from icingaweb2 going on to begin with.
Sorry for the bother on this.


next time please create a new topic, since the original is a bit tad old.