Am Donnerstag, 23. Juli 2015 schrieb Craig White : > Newbie alert – if anyone wants to toss me a bone here. >
Oldie alert - you did install icingaweb2 through the packages, so you should not need to do the manual steps for config dir setup etc. https://github.com/Icinga/icingaweb2/blob/master/doc/installation.md The only step you'll need to do is to create a setup token and then open your browser and start the web setup wizard. Right now it seems you're following the installation from sources *after* that. Kind regards, Michael > > > I think I have gotten reasonably far through the documentation but have > hit a snag. > > > > # icingacli setup config directory > > PHP Fatal error: Uncaught exception 'Icinga\Exception\ProgrammingError' > with message 'Trying to access uninstalled module dir: setup' in > /usr/share/php/Icinga/Application/Modules/Manager.php:348 > > Stack trace: > > #0 /usr/share/php/Icinga/Application/Modules/Manager.php(195): > Icinga\Application\Modules\Manager->getModuleDir('setup') > > #1 /usr/share/php/Icinga/Application/ApplicationBootstrap.php(412): > Icinga\Application\Modules\Manager->loadModule('setup') > > #2 /usr/share/php/Icinga/Application/Cli.php(46): > Icinga\Application\ApplicationBootstrap->loadSetupModuleIfNecessary() > > #3 /usr/share/php/Icinga/Application/ApplicationBootstrap.php(336): > Icinga\Application\Cli->bootstrap() > > #4 /usr/bin/icingacli(7): > Icinga\Application\ApplicationBootstrap::start('/usr/share/icin...') > > #5 {main} > > thrown in /usr/share/php/Icinga/Application/Modules/Manager.php on line > 348 > > > > Fatal error: Uncaught exception 'Icinga\Exception\ProgrammingError' with > message 'Trying to access uninstalled module dir: setup' in > /usr/share/php/Icinga/Application/Modules/Manager.php:348 > > Stack trace: > > #0 /usr/share/php/Icinga/Application/Modules/Manager.php(195): > Icinga\Application\Modules\Manager->getModuleDir('setup') > > #1 /usr/share/php/Icinga/Application/ApplicationBootstrap.php(412): > Icinga\Application\Modules\Manager->loadModule('setup') > > #2 /usr/share/php/Icinga/Application/Cli.php(46): > Icinga\Application\ApplicationBootstrap->loadSetupModuleIfNecessary() > > #3 /usr/share/php/Icinga/Application/ApplicationBootstrap.php(336): > Icinga\Application\Cli->bootstrap() > > #4 /usr/bin/icingacli(7): > Icinga\Application\ApplicationBootstrap::start('/usr/share/icin...') > > #5 {main} > > thrown in /usr/share/php/Icinga/Application/Modules/Manager.php on line > 348 > > > > # rpm -qa | grep icinga > > icinga2-bin-2.3.8-1.el6.x86_64 > > icinga2-ido-pgsql-2.3.8-1.el6.x86_64 > > icingaweb2-common-2.0.0-4.rc1.el6.noarch > > icinga2-common-2.3.8-1.el6.x86_64 > > icinga2-2.3.8-1.el6.x86_64 > > icingacli-2.0.0-4.rc1.el6.noarch > > > > # tree /etc/icingaweb2/ > > /etc/icingaweb2/ > > └── modules > > > > 1 directory, 0 files > > > > # tree /etc/icinga2/ > > /etc/icinga2/ > > ├── conf.d > > │ ├── commands.conf > > │ ├── downtimes.conf > > │ ├── groups.conf > > │ ├── hosts.conf > > │ ├── notifications.conf > > │ ├── satellite.conf > > │ ├── services.conf > > │ ├── templates.conf > > │ ├── timeperiods.conf > > │ └── users.conf > > ├── constants.conf > > ├── constants.conf.orig > > ├── features-available > > │ ├── api.conf > > │ ├── api.conf.orig > > │ ├── checker.conf > > │ ├── command.conf > > │ ├── compatlog.conf > > │ ├── debuglog.conf > > │ ├── gelf.conf > > │ ├── graphite.conf > > │ ├── icingastatus.conf > > │ ├── ido-pgsql.conf > > │ ├── livestatus.conf > > │ ├── mainlog.conf > > │ ├── notification.conf > > │ ├── opentsdb.conf > > │ ├── perfdata.conf > > │ ├── statusdata.conf > > │ └── syslog.conf > > ├── features-enabled > > │ ├── api.conf -> ../features-available/api.conf > > │ ├── checker.conf -> ../features-available/checker.conf > > │ ├── command.conf -> ../features-available/command.conf > > │ ├── compatlog.conf -> ../features-available/compatlog.conf > > │ ├── debuglog.conf -> ../features-available/debuglog.conf > > │ ├── gelf.conf -> ../features-available/gelf.conf > > │ ├── graphite.conf -> ../features-available/graphite.conf > > │ ├── ido-pgsql.conf -> ../features-available/ido-pgsql.conf > > │ ├── livestatus.conf -> ../features-available/livestatus.conf > > │ ├── mainlog.conf -> ../features-available/mainlog.conf > > │ ├── notification.conf -> ../features-available/notification.conf > > │ ├── perfdata.conf -> ../features-available/perfdata.conf > > │ ├── statusdata.conf -> ../features-available/statusdata.conf > > │ └── syslog.conf -> ../features-available/syslog.conf > > ├── icinga2.conf > > ├── init.conf > > ├── pki > > │ ├── app001icina01.stt-internal.local.crt > > │ ├── app001icina01.stt-internal.local.csr > > │ ├── app001icina01.stt-internal.local.key > > │ └── ca.crt > > ├── repository.d > > │ └── README > > ├── scripts > > │ ├── mail-host-notification.sh > > │ └── mail-service-notification.sh > > ├── zones.conf > > ├── zones.conf.orig > > └── zones.d > > └── README > > > > 7 directories, 55 files > > > > # ls -l /usr/share/php/icinga* > > ls: cannot access /usr/share/php/icinga*: No such file or directory > > > > > > Craig White > > >
_______________________________________________ icinga-users mailing list icinga-users@lists.icinga.org https://lists.icinga.org/mailman/listinfo/icinga-users