icinga 网络界面中出现“后端 icinga 未运行”错误

icinga 网络界面中出现“后端 icinga 未运行”错误

在“系统”>“监控健康状况”下,我收到“后端 icinga 未运行”错误,详细信息如下:

致命错误:未捕获的 ErrorException:未捕获的 ErrorException:setcookie() 期望参数 3 为整数,/usr/share/php/Icinga/Web/Response.php:326 中给出的是浮点数 堆栈跟踪:#0 [内部函数]:Icinga\Application\ApplicationBootstrap->Icinga\Application{closure}(2, 'setcookie() exp...', '/usr/share/php/...', 326, Array) #1 /usr/share/php/Icinga/Web/Response.php(326): setcookie('icingaweb2-appl...', '{"acknowledged-...', 2147483648, '/icingaweb2/', NULL, true, true) #2 /usr/share/php/Icinga/Web/Response.php(338): Icinga\Web\Response->sendCookies() #3 /usr/share/icingaweb2/library/vendor/Zend/Controller/Response/Abstract.php(762): Icinga\Web\Response->sendHeaders() #4 /usr/share/icingaweb2/library/vendor/Zend/Controller/Front.php(975): Zend_Controller_Response_Abstract->sendResponse() #5 /usr/share/php/Icinga/Application/Web.php(300): Zend_Controller_Front->dispatch(Object(Icinga\Web\Request), Object(Icinga\Web\Response)) #6 /usr/share/php/Icinga/Application/webrouter.php(104): Icinga\Application\Web->dispatch() 位于 /usr/share/icingaweb2/library/vendor/Zend/Controller/Plugin/Broker.php 的第 259 行

在我看来,这似乎是 Icinga Web 代码异常,但也许是我的问题。有人见过这种情况吗?我正在使用 raspbian。

答案1

对我来说,深入研究错误显示以下命令出现错误: icinga2 daemon -C 以下显示所有权错误 ls -la /etc/icinga2/features-available/

使固定: chown icinga:icinga /etc/icinga2/features-available/ido-mysql.conf icinga2 daemon -C systemctl reload rh-php71-php-fpm.service systemctl reload icinga2

相关内容