Hi, I've recently discovered Icinga and I've installed it on my private server following the steps described here: http://docs.icinga.org/latest/en/quickstart-idoutils.html http://docs.icinga.org/latest/en/icinga-web-scratch.html
I have an Ubuntu 12.04 server with apache running on ports 8080 and 4430 because I use Tomcat as default web server (80/443) for my web. I use MySQL community server 5.6.16, not only for Icinga storage but also as DB for my web. I'm able to log into both icinga classic interface (myserverHostName:8080/icinga) and icinga-web (myserverHostName:8080/icinga-web). The problem happens when I log into Icinga-web: no information is shown no matter the section I browse. On the other hand, the web interface is shown correctly and seems to work fine. Upon checking ajax calls to icinga-web, I've found the following messages in firebug: GET http://myserverHostName:8080/icinga-web/modules/cronks/monitorPerformance/json?_dc=1400229486354 ------------------ Response: A critical exception occured! Uncaught AppKitPHPError thrown: PHP Error Argument 1 passed to AppKitExtJsonDocument::hasFieldBulk() must be of the type array, null given, called in /usr/local/icinga-web/app/modules/Cronks/models/Provider/SystemPerformanceModel.class.php on line 131 and defined (/usr/local/icinga-web/app/modules/AppKit/lib/json/AppKitExtJsonDocument.class.php:180) Stacktrace: #0 /usr/local/icinga-web/app/modules/AppKit/lib/json/AppKitExtJsonDocument.class.php(180): AppKitExceptionHandler::exceptionOnError(4096, 'Argument 1 pass...', '/usr/local/icin...', 180, Array) #1 /usr/local/icinga-web/app/modules/Cronks/models/Provider/SystemPerformanceModel.class.php(131): AppKitExtJsonDocument->hasFieldBulk(NULL) #2 /usr/local/icinga-web/app/modules/Cronks/views/System/MonitorPerformanceSuccessView.class.php(37): Cronks_Provider_SystemPerformanceModel->getJson() #3 /usr/local/icinga-web/app/cache/config/compile.xml_production__119920113a175a2dcea22e33a36de83ba298e663.php(1672): Cronks_System_MonitorPerformanceSuccessView->executeJson(Object(AgaviWebRequestDataHolder)) #4 /usr/local/icinga-web/app/cache/config/compile.xml_production__119920113a175a2dcea22e33a36de83ba298e663.php(1533): AgaviExecutionFilter->executeView(Object(AgaviExecutionContainer)) #5 /usr/local/icinga-web/app/cache/config/compile.xml_production__119920113a175a2dcea22e33a36de83ba298e663.php(1255): AgaviExecutionFilter->execute(Object(AgaviFilterChain), Object(AgaviExecutionContainer)) #6 /usr/local/icinga-web/app/cache/config/compile.xml_production__119920113a175a2dcea22e33a36de83ba298e663.php(1700): AgaviFilter->executeOnce(Object(AgaviFilterChain), Object(AgaviExecutionContainer)) #7 /usr/local/icinga-web/lib/agavi/src/filter/AgaviSecurityFilter.class.php(73): AgaviFilterChain->execute(Object(AgaviExecutionContainer)) #8 /usr/local/icinga-web/app/cache/config/compile.xml_production__119920113a175a2dcea22e33a36de83ba298e663.php(1255): AgaviSecurityFilter->execute(Object(AgaviFilterChain), Object(AgaviExecutionContainer)) #9 /usr/local/icinga-web/app/cache/config/compile.xml_production__119920113a175a2dcea22e33a36de83ba298e663.php(1700): AgaviFilter->executeOnce(Object(AgaviFilterChain), Object(AgaviExecutionContainer)) #10 /usr/local/icinga-web/app/cache/config/compile.xml_production__119920113a175a2dcea22e33a36de83ba298e663.php(870): AgaviFilterChain->execute(Object(AgaviExecutionContainer)) #11 /usr/local/icinga-web/app/cache/config/compile.xml_production__119920113a175a2dcea22e33a36de83ba298e663.php(1266): AgaviExecutionContainer->execute() #12 /usr/local/icinga-web/app/cache/config/compile.xml_production__119920113a175a2dcea22e33a36de83ba298e663.php(1255): AgaviDispatchFilter->execute(Object(AgaviFilterChain), Object(AgaviExecutionContainer)) #13 /usr/local/icinga-web/app/cache/config/compile.xml_production__119920113a175a2dcea22e33a36de83ba298e663.php(1700): AgaviFilter->executeOnce(Object(AgaviFilterChain), Object(AgaviExecutionContainer)) #14 /usr/local/icinga-web/lib/agavi/src/filter/AgaviFormPopulationFilter.class.php(78): AgaviFilterChain->execute(Object(AgaviExecutionContainer)) #15 /usr/local/icinga-web/app/cache/config/compile.xml_production__119920113a175a2dcea22e33a36de83ba298e663.php(1700): AgaviFormPopulationFilter->executeOnce(Object(AgaviFilterChain), Object(AgaviExecutionContainer)) #16 /usr/local/icinga-web/app/cache/config/compile.xml_production__119920113a175a2dcea22e33a36de83ba298e663.php(579): AgaviFilterChain->execute(Object(AgaviExecutionContainer)) #17 /usr/local/icinga-web/pub/index.php(49): AgaviController->dispatch() #18 {main} GET http://myserverHostName:8080/icinga-web/modules/cronks/statusOverall/json?_dc=1400229486462 ------------------ Response: A critical exception occured! Uncaught AppKitPHPError thrown: PHP Error array_keys() expects parameter 1 to be array, null given (/usr/local/icinga-web/app/modules/Cronks/models/Provider/StatusSummaryModel.class.php:257) Stacktrace: #0 [internal function]: AppKitExceptionHandler::exceptionOnError(2, 'array_keys() ex...', '/usr/local/icin...', 257, Array) #1 /usr/local/icinga-web/app/modules/Cronks/models/Provider/StatusSummaryModel.class.php(257): array_keys(NULL) #2 /usr/local/icinga-web/app/modules/Cronks/views/System/StatusOverallSuccessView.class.php(33): Cronks_Provider_StatusSummaryModel->getJson() #3 /usr/local/icinga-web/app/cache/config/compile.xml_production__119920113a175a2dcea22e33a36de83ba298e663.php(1672): Cronks_System_StatusOverallSuccessView->executeJson(Object(AgaviWebRequestDataHolder)) #4 /usr/local/icinga-web/app/cache/config/compile.xml_production__119920113a175a2dcea22e33a36de83ba298e663.php(1533): AgaviExecutionFilter->executeView(Object(AgaviExecutionContainer)) #5 /usr/local/icinga-web/app/cache/config/compile.xml_production__119920113a175a2dcea22e33a36de83ba298e663.php(1255): AgaviExecutionFilter->execute(Object(AgaviFilterChain), Object(AgaviExecutionContainer)) #6 /usr/local/icinga-web/app/cache/config/compile.xml_production__119920113a175a2dcea22e33a36de83ba298e663.php(1700): AgaviFilter->executeOnce(Object(AgaviFilterChain), Object(AgaviExecutionContainer)) #7 /usr/local/icinga-web/lib/agavi/src/filter/AgaviSecurityFilter.class.php(73): AgaviFilterChain->execute(Object(AgaviExecutionContainer)) #8 /usr/local/icinga-web/app/cache/config/compile.xml_production__119920113a175a2dcea22e33a36de83ba298e663.php(1255): AgaviSecurityFilter->execute(Object(AgaviFilterChain), Object(AgaviExecutionContainer)) #9 /usr/local/icinga-web/app/cache/config/compile.xml_production__119920113a175a2dcea22e33a36de83ba298e663.php(1700): AgaviFilter->executeOnce(Object(AgaviFilterChain), Object(AgaviExecutionContainer)) #10 /usr/local/icinga-web/app/cache/config/compile.xml_production__119920113a175a2dcea22e33a36de83ba298e663.php(870): AgaviFilterChain->execute(Object(AgaviExecutionContainer)) #11 /usr/local/icinga-web/app/cache/config/compile.xml_production__119920113a175a2dcea22e33a36de83ba298e663.php(1266): AgaviExecutionContainer->execute() #12 /usr/local/icinga-web/app/cache/config/compile.xml_production__119920113a175a2dcea22e33a36de83ba298e663.php(1255): AgaviDispatchFilter->execute(Object(AgaviFilterChain), Object(AgaviExecutionContainer)) #13 /usr/local/icinga-web/app/cache/config/compile.xml_production__119920113a175a2dcea22e33a36de83ba298e663.php(1700): AgaviFilter->executeOnce(Object(AgaviFilterChain), Object(AgaviExecutionContainer)) #14 /usr/local/icinga-web/lib/agavi/src/filter/AgaviFormPopulationFilter.class.php(78): AgaviFilterChain->execute(Object(AgaviExecutionContainer)) #15 /usr/local/icinga-web/app/cache/config/compile.xml_production__119920113a175a2dcea22e33a36de83ba298e663.php(1700): AgaviFormPopulationFilter->executeOnce(Object(AgaviFilterChain), Object(AgaviExecutionContainer)) #16 /usr/local/icinga-web/app/cache/config/compile.xml_production__119920113a175a2dcea22e33a36de83ba298e663.php(579): AgaviFilterChain->execute(Object(AgaviExecutionContainer)) #17 /usr/local/icinga-web/pub/index.php(49): AgaviController->dispatch() #18 {main} When I run 'service ido2db start' i get the following response: Ido2db PID not running. Removing lockfile. Starting Ido2db: done. Wnen I run the command 'service ido2db status' after executing the one above I get: Ido2db is not running but subsystem locked Maybe are these problems related to an ido2db's fault/misconfiguration? I just followed the instructions I mentioned. Thanks in advance, Mike
_______________________________________________ icinga-users mailing list icinga-users@lists.icinga.org https://lists.icinga.org/mailman/listinfo/icinga-users