Hi, I'm trying to install a new Icinga 2 server with the Icinga Web GUI, with very little success. I follow the setup instructions on: http://docs.icinga.org/icinga2/latest/doc/module/icinga2/toc The server is a VM running CentOS 6.5 fully updated. On the first logon, using the default credentials I receive an error indicating an exception and the a wrong password message. After pressing F5 the following is displayed: A critical exception occured! Uncaught AgaviLoggingException thrown: Cannot open file "/var/log/icinga-web/debug-2014-07-02.log", please check permissions on file or directory. *Stacktrace:* #0 /usr/share/icinga-web/lib/agavi/src/logging/AgaviStreamLoggerAppender.class.php(113): AgaviFileLoggerAppender->getHandle() #1 /usr/share/icinga-web/lib/agavi/src/logging/AgaviLogger.class.php(58): AgaviStreamLoggerAppender->write(Object(AgaviLoggerMessage)) #2 /usr/share/icinga-web/lib/agavi/src/logging/AgaviLoggerManager.class.php(291): AgaviLogger->log(Object(AgaviLoggerMessage)) #3 /usr/share/icinga-web/app/modules/AppKit/lib/util/AppKitAgaviUtil.class.php(78): AgaviLoggerManager->log('Auth.Provider: ...', 16) #4 /usr/share/icinga-web/app/modules/AppKit/lib/model/AppKitBaseModel.class.php(124): AppKitAgaviUtil::log(Array) #5 /usr/share/icinga-web/app/modules/AppKit/lib/auth/AppKitAuthProviderBaseModel.class.php(50): AppKitBaseModel->log('Auth.Provider: ...', 'internal', 16) #6 /var/cache/icinga-web/config/compile.xml_production__d41bc4e7416d79a2859fb497054ab4f5308e2df1.php(441): AppKitAuthProviderBaseModel->initialize(Object(AppKitAgaviContext), Array) #7 /usr/share/icinga-web/app/modules/AppKit/models/Auth/DispatchModel.class.php(87): AgaviContext->getModel('Auth.Provider.D...', 'AppKit', Array) #8 /usr/share/icinga-web/app/modules/AppKit/models/Auth/DispatchModel.class.php(127): AppKit_Auth_DispatchModel->getProvider('internal') #9 /usr/share/icinga-web/app/modules/AppKit/models/Auth/DispatchModel.class.php(122): AppKit_Auth_DispatchModel->hasProviderWithMode(2) #10 /usr/share/icinga-web/app/modules/AppKit/actions/Login/SilentAuthAction.class.php(56): AppKit_Auth_DispatchModel->hasSilentProvider() #11 /var/cache/icinga-web/config/compile.xml_production__d41bc4e7416d79a2859fb497054ab4f5308e2df1.php(949): AppKit_Login_SilentAuthAction->execute(Object(AgaviWebRequestDataHolder)) #12 /var/cache/icinga-web/config/compile.xml_production__d41bc4e7416d79a2859fb497054ab4f5308e2df1.php(1463): AgaviExecutionContainer->runAction() #13 /var/cache/icinga-web/config/compile.xml_production__d41bc4e7416d79a2859fb497054ab4f5308e2df1.php(1255): AgaviExecutionFilter->execute(Object(AgaviFilterChain), Object(AgaviExecutionContainer)) #14 /var/cache/icinga-web/config/compile.xml_production__d41bc4e7416d79a2859fb497054ab4f5308e2df1.php(1700): AgaviFilter->executeOnce(Object(AgaviFilterChain), Object(AgaviExecutionContainer)) #15 /usr/share/icinga-web/lib/agavi/src/filter/AgaviSecurityFilter.class.php(61): AgaviFilterChain->execute(Object(AgaviExecutionContainer)) #16 /var/cache/icinga-web/config/compile.xml_production__d41bc4e7416d79a2859fb497054ab4f5308e2df1.php(1702): AgaviSecurityFilter->execute(Object(AgaviFilterChain), Object(AgaviExecutionContainer)) #17 /var/cache/icinga-web/config/compile.xml_production__d41bc4e7416d79a2859fb497054ab4f5308e2df1.php(870): AgaviFilterChain->execute(Object(AgaviExecutionContainer)) #18 /var/cache/icinga-web/config/compile.xml_production__d41bc4e7416d79a2859fb497054ab4f5308e2df1.php(900): AgaviExecutionContainer->execute() #19 /var/cache/icinga-web/config/compile.xml_production__d41bc4e7416d79a2859fb497054ab4f5308e2df1.php(872): AgaviExecutionContainer->proceed() #20 /var/cache/icinga-web/config/compile.xml_production__d41bc4e7416d79a2859fb497054ab4f5308e2df1.php(1266): AgaviExecutionContainer->execute() #21 /var/cache/icinga-web/config/compile.xml_production__d41bc4e7416d79a2859fb497054ab4f5308e2df1.php(1255): AgaviDispatchFilter->execute(Object(AgaviFilterChain), Object(AgaviExecutionContainer)) #22 /var/cache/icinga-web/config/compile.xml_production__d41bc4e7416d79a2859fb497054ab4f5308e2df1.php(1700): AgaviFilter->executeOnce(Object(AgaviFilterChain), Object(AgaviExecutionContainer)) #23 /usr/share/icinga-web/lib/agavi/src/filter/AgaviFormPopulationFilter.class.php(78): AgaviFilterChain->execute(Object(AgaviExecutionContainer)) #24 /var/cache/icinga-web/config/compile.xml_production__d41bc4e7416d79a2859fb497054ab4f5308e2df1.php(1700): AgaviFormPopulationFilter->executeOnce(Object(AgaviFilterChain), Object(AgaviExecutionContainer)) #25 /var/cache/icinga-web/config/compile.xml_production__d41bc4e7416d79a2859fb497054ab4f5308e2df1.php(579): AgaviFilterChain->execute(Object(AgaviExecutionContainer)) #26 /usr/share/icinga-web/pub/index.php(49): AgaviController->dispatch() #27 {main}
The file mentioned is assigned to *apache:apache* and it was created during the first logon. If I delete the files they are automatically recreated. I can't find any relevant messages in logs, so I accept any suggestions. I presume that this can be related to permissions, but I was unable to find how to setup it correctly. -- Saludos! Sebastián.
_______________________________________________ icinga-users mailing list icinga-users@lists.icinga.org https://lists.icinga.org/mailman/listinfo/icinga-users