[icinga-users] Cannot open file "log/debug-2011-08-25.log", please check permissions on file or directory.

Luis Amaro luis at myitdepartment.ie
Thu Aug 25 19:31:51 CEST 2011


I installed icinga-weg v.1.5.0 on a Centos 5.6 with icinga 1.5.0

after installing and trying to access the login page i get this error


A critical exception occured!

Uncaught AgaviLoggingException thrown:
Cannot open file "log/debug-2011-08-25.log", please check permissions on file or directory.

Stacktrace:
#0 /usr/local/icinga-web/lib/agavi/src/logging/AgaviStreamLoggerAppender.class.php(113): AgaviFileLoggerAppender->getHandle()
#1 /usr/local/icinga-web/lib/agavi/src/logging/AgaviLogger.class.php(58): AgaviStreamLoggerAppender->write(Object(AgaviLoggerMessage))
#2 /usr/local/icinga-web/lib/agavi/src/logging/AgaviLoggerManager.class.php(291): AgaviLogger->log(Object(AgaviLoggerMessage))
#3 /usr/local/icinga-web/app/modules/AppKit/lib/util/AppKitAgaviUtil.class.php(56): AgaviLoggerManager->log('Auth.Provider: ...', 16)
#4 /usr/local/icinga-web/app/modules/AppKit/lib/model/AppKitBaseModel.class.php(102): AppKitAgaviUtil::log(Array)
#5 /usr/local/icinga-web/app/modules/AppKit/lib/auth/AppKitAuthProviderBaseModel.class.php(28): AppKitBaseModel->log('Auth.Provider: ...', 'internal', 16)
#6 /usr/local/icinga-web/app/cache/config/compile.xml_development__033d402eaeb08f42e4e3d5f8474e444805e2c7c6.php(441): AppKitAuthProviderBaseModel->initialize(Object(AppKitAgaviContext), Array)
#7 /usr/local/icinga-web/app/modules/AppKit/models/Auth/DispatchModel.class.php(63): AgaviContext->getModel('Auth.Provider.D...', 'AppKit', Array)
#8 /usr/local/icinga-web/app/modules/AppKit/models/Auth/DispatchModel.class.php(99): AppKit_Auth_DispatchModel->getProvider('internal')
#9 /usr/local/icinga-web/app/modules/AppKit/models/Auth/DispatchModel.class.php(94): AppKit_Auth_DispatchModel->hasProviderWithMode(2)
#10 /usr/local/icinga-web/app/modules/AppKit/actions/Login/SilentAuthAction.class.php(34): AppKit_Auth_DispatchModel->hasSilentProvider()
#11 /usr/local/icinga-web/app/cache/config/compile.xml_development__033d402eaeb08f42e4e3d5f8474e444805e2c7c6.php(949): AppKit_Login_SilentAuthAction->execute(Object(AgaviWebRequestDataHolder))
#12 /usr/local/icinga-web/app/cache/config/compile.xml_development__033d402eaeb08f42e4e3d5f8474e444805e2c7c6.php(1463): AgaviExecutionContainer->runAction()
#13 /usr/local/icinga-web/app/cache/config/compile.xml_development__033d402eaeb08f42e4e3d5f8474e444805e2c7c6.php(1255): AgaviExecutionFilter->execute(Object(AgaviFilterChain), Object(AgaviExecutionContainer))
#14 /usr/local/icinga-web/app/cache/config/compile.xml_development__033d402eaeb08f42e4e3d5f8474e444805e2c7c6.php(1700): AgaviFilter->executeOnce(Object(AgaviFilterChain), Object(AgaviExecutionContainer))
#15 /usr/local/icinga-web/lib/agavi/src/filter/AgaviExecutionTimeFilter.class.php(64): AgaviFilterChain->execute(Object(AgaviExecutionContainer))
#16 /usr/local/icinga-web/app/cache/config/compile.xml_development__033d402eaeb08f42e4e3d5f8474e444805e2c7c6.php(1255): AgaviExecutionTimeFilter->execute(Object(AgaviFilterChain), Object(AgaviExecutionContainer))
#17 /usr/local/icinga-web/app/cache/config/compile.xml_development__033d402eaeb08f42e4e3d5f8474e444805e2c7c6.php(1700): AgaviFilter->executeOnce(Object(AgaviFilterChain), Object(AgaviExecutionContainer))
#18 /usr/local/icinga-web/lib/agavi/src/filter/AgaviSecurityFilter.class.php(61): AgaviFilterChain->execute(Object(AgaviExecutionContainer))
#19 /usr/local/icinga-web/app/cache/config/compile.xml_development__033d402eaeb08f42e4e3d5f8474e444805e2c7c6.php(1702): AgaviSecurityFilter->execute(Object(AgaviFilterChain), Object(AgaviExecutionContainer))
#20 /usr/local/icinga-web/app/cache/config/compile.xml_development__033d402eaeb08f42e4e3d5f8474e444805e2c7c6.php(870): AgaviFilterChain->execute(Object(AgaviExecutionContainer))
#21 /usr/local/icinga-web/app/cache/config/compile.xml_development__033d402eaeb08f42e4e3d5f8474e444805e2c7c6.php(900): AgaviExecutionContainer->execute()
#22 /usr/local/icinga-web/app/cache/config/compile.xml_development__033d402eaeb08f42e4e3d5f8474e444805e2c7c6.php(872): AgaviExecutionContainer->proceed()
#23 /usr/local/icinga-web/app/cache/config/compile.xml_development__033d402eaeb08f42e4e3d5f8474e444805e2c7c6.php(1266): AgaviExecutionContainer->execute()
#24 /usr/local/icinga-web/app/cache/config/compile.xml_development__033d402eaeb08f42e4e3d5f8474e444805e2c7c6.php(1255): AgaviDispatchFilter->execute(Object(AgaviFilterChain), Object(AgaviExecutionContainer))
#25 /usr/local/icinga-web/app/cache/config/compile.xml_development__033d402eaeb08f42e4e3d5f8474e444805e2c7c6.php(1700): AgaviFilter->executeOnce(Object(AgaviFilterChain), Object(AgaviExecutionContainer))
#26 /usr/local/icinga-web/lib/agavi/src/filter/AgaviFormPopulationFilter.class.php(78): AgaviFilterChain->execute(Object(AgaviExecutionContainer))
#27 /usr/local/icinga-web/app/cache/config/compile.xml_development__033d402eaeb08f42e4e3d5f8474e444805e2c7c6.php(1700): AgaviFormPopulationFilter->executeOnce(Object(AgaviFilterChain), Object(AgaviExecutionContainer))
#28 /usr/local/icinga-web/app/cache/config/compile.xml_development__033d402eaeb08f42e4e3d5f8474e444805e2c7c6.php(579): AgaviFilterChain->execute(Object(AgaviExecutionContainer))
#29 /usr/local/icinga-web/pub/index.php(44): AgaviController->dispatch()
#30 {main}

what can i do do resolve this?


The contents of this e-mail (including attachments) are private and confidential and may also be subject to legal privilege. It is intended only for the use of the addressee. If you are not the addressee, or the person responsible for delivering it to the addressee, you may not copy or deliver this e-mail or any attachments to anyone else or make any use of its contents; you should not read any part of this e-mail or any attachments. Unauthorised disclosure or communication or other use of the contents of this e-mail or any part thereof may be prohibited by law and may constitute a criminal offence. If you receive this e-mail by mistake please notify info at myitdepartment.ie





More information about the icinga-users mailing list