Am Donnerstag, 23. Juli 2015 schrieb Craig White :

>  *From:* icinga-users [mailto:icinga-users-boun...@lists.icinga.org
> <javascript:_e(%7B%7D,'cvml','icinga-users-boun...@lists.icinga.org');>] *On
> Behalf Of *Michael Friedrich
> *Sent:* Thursday, July 23, 2015 12:38 PM
> *To:* Icinga User's Corner
> *Subject:* Re: [icinga-users] setup icingacli on RHEL 6.6
>
>
>
>
>
> 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.
>
> Started backtracking because create a setup token step was where it all
> started to go wrong
>
>
Hm. Does /usr/share/icingaweb2/modules/setup exist containing files tree?

>
>
> # icingacli setup token create
>
> 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
>
_______________________________________________
icinga-users mailing list
icinga-users@lists.icinga.org
https://lists.icinga.org/mailman/listinfo/icinga-users

Reply via email to