robse
(Robert)
December 4, 2020, 9:38am
1
Hi together
i have installed Icingaweb2 on a single webserver with nginx. After installing the dependencies, I successfully activated the Director module. But i can’t configure the Module and get an Error:
All Modules and packages like nginx and php are up2date.
Can someone help my?
Thank you
Robert
stevie-sy
(Stevie Sy)
December 4, 2020, 10:07am
2
Hi,
with the dependencies you mean everything what is listed here in the docs: https://icinga.com/docs/icinga-director/latest/doc/02-Installation/ also the modules like “ipl”, “reactbundle”, “incubator”?
robse
(Robert)
December 4, 2020, 10:24am
3
Hi,
yes, all modules / req are installed:
Icinga 2: 2.12.2
Icinga Web 2: 2.8.2
ipl: 0.5.0
incubator: 0.6.0
reactbundle: 0.8.0
PHP: 7.3
Regards
Robert
stevie-sy
(Stevie Sy)
December 4, 2020, 11:22am
4
Datebase are created? Persmissions are set?
What happens if you run the kicksart via CLI?
icingacli director migration run --verbose
so these steps: Automation - Icinga Director
robse
(Robert)
December 4, 2020, 11:33am
5
Hi,
the error already occurs when I click on Configuration. At this point I don’t have to specify a database.
After clicking “Configuration”:
Also when i create the config.ini under /etc/icingaweb2/modules/director/config.ini with the Diretor Ressource the error accours.
Regards,
Robert
stevie-sy
(Stevie Sy)
December 4, 2020, 11:42am
6
I guess it’s a permission error (file permission and/or SELinux if turned on)
robse
(Robert)
December 4, 2020, 11:44am
7
Permission to witch Folder?
stevie-sy
(Stevie Sy)
December 4, 2020, 11:56am
8
the config files:
the group “icingaweb” is allowed access/write kickstart.ini and config.ini.
If you turned on SELinux you could check the logs there, if the kernel blocks the access for nginx to read the files
robse
(Robert)
December 4, 2020, 12:15pm
9
SELinux is diabled. Under /etc/icingaweb2/modules and /usr/share/icingaweb2/modules/director, the persmissions are identical to the other test server. The only difference to the test server is that the web server is separate here.
stevie-sy
(Stevie Sy)
December 7, 2020, 1:26pm
10
hmm ok, for the moment I’m out of ideas. I hope others have some to help you.
1 Like
robse
(Robert)
December 7, 2020, 2:31pm
11
Hi Stevie,
after a fresh installation of nginx with the icingaweb2 and the director, everything works fine.
Thank you
1 Like
stevie-sy
(Stevie Sy)
December 7, 2020, 2:33pm
12
oh great to read. Good to hear