Stupid question:<div><br></div><div>Who owns the log file in your log directory? Is your webserver running as the "apache" user, or something else like "www" or "http" or "www-data" or ... maybe "nobody?"</div>
<div><br></div><div>That is, the log:</div><div><br></div><div>/usr/local/icinga-web/app/data/debug-2011-08-25.log</div><div><br></div><div><br><br><div class="gmail_quote">On Thu, Aug 25, 2011 at 11:26 AM, Luis Amaro <span dir="ltr"><<a href="mailto:luis@myitdepartment.ie">luis@myitdepartment.ie</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">sorry, didn't leave much info<br>
<br>
i installed icinga and icinga-web with mysql support and the php version is 5.3<br>
<br>
the icinga user is icinga<br>
the icinga-web user is icinga-web<br>
the apache user is apache<br>
<br>
the log dir has this permissions<br>
<br>
drwxrwxr-x 2 apache apache 4096 Aug 25 18:07 /usr/local/icinga-web/app/data/log<br>
<div><div></div><div class="h5"><br>
<br>
<br>
<br>
----- Original Message -----<br>
From: "Michael Friedrich" <<a href="mailto:michael.friedrich@univie.ac.at">michael.friedrich@univie.ac.at</a>><br>
To: <a href="mailto:icinga-users@lists.sourceforge.net">icinga-users@lists.sourceforge.net</a><br>
Sent: Thursday, 25 August, 2011 7:13:18 PM<br>
Subject: Re: [icinga-users] Cannot open file "log/debug-2011-08-25.log", please check permissions on file or directory.<br>
<br>
<br>
<br>
On <a href="tel:25.08.2011%2019" value="+12508201119">25.08.2011 19</a>:31, Luis Amaro wrote:<br>
> I installed icinga-weg v.1.5.0 on a Centos 5.6 with icinga 1.5.0<br>
><br>
> after installing and trying to access the login page i get this error<br>
<br>
how did you install it?<br>
<br>
><br>
><br>
> A critical exception occured!<br>
><br>
> Uncaught AgaviLoggingException thrown:<br>
> Cannot open file "log/debug-2011-08-25.log", please check permissions on file or directory.<br>
><br>
> Stacktrace:<br>
> #0 /usr/local/icinga-web/lib/agavi/src/logging/AgaviStreamLoggerAppender.class.php(113): AgaviFileLoggerAppender->getHandle()<br>
> #1 /usr/local/icinga-web/lib/agavi/src/logging/AgaviLogger.class.php(58): AgaviStreamLoggerAppender->write(Object(AgaviLoggerMessage))<br>
> #2 /usr/local/icinga-web/lib/agavi/src/logging/AgaviLoggerManager.class.php(291): AgaviLogger->log(Object(AgaviLoggerMessage))<br>
> #3 /usr/local/icinga-web/app/modules/AppKit/lib/util/AppKitAgaviUtil.class.php(56): AgaviLoggerManager->log('Auth.Provider: ...', 16)<br>
> #4 /usr/local/icinga-web/app/modules/AppKit/lib/model/AppKitBaseModel.class.php(102): AppKitAgaviUtil::log(Array)<br>
> #5 /usr/local/icinga-web/app/modules/AppKit/lib/auth/AppKitAuthProviderBaseModel.class.php(28): AppKitBaseModel->log('Auth.Provider: ...', 'internal', 16)<br>
> #6 /usr/local/icinga-web/app/cache/config/compile.xml_development__033d402eaeb08f42e4e3d5f8474e444805e2c7c6.php(441): AppKitAuthProviderBaseModel->initialize(Object(AppKitAgaviContext), Array)<br>
> #7 /usr/local/icinga-web/app/modules/AppKit/models/Auth/DispatchModel.class.php(63): AgaviContext->getModel('Auth.Provider.D...', 'AppKit', Array)<br>
> #8 /usr/local/icinga-web/app/modules/AppKit/models/Auth/DispatchModel.class.php(99): AppKit_Auth_DispatchModel->getProvider('internal')<br>
> #9 /usr/local/icinga-web/app/modules/AppKit/models/Auth/DispatchModel.class.php(94): AppKit_Auth_DispatchModel->hasProviderWithMode(2)<br>
> #10 /usr/local/icinga-web/app/modules/AppKit/actions/Login/SilentAuthAction.class.php(34): AppKit_Auth_DispatchModel->hasSilentProvider()<br>
> #11 /usr/local/icinga-web/app/cache/config/compile.xml_development__033d402eaeb08f42e4e3d5f8474e444805e2c7c6.php(949): AppKit_Login_SilentAuthAction->execute(Object(AgaviWebRequestDataHolder))<br>
> #12 /usr/local/icinga-web/app/cache/config/compile.xml_development__033d402eaeb08f42e4e3d5f8474e444805e2c7c6.php(1463): AgaviExecutionContainer->runAction()<br>
> #13 /usr/local/icinga-web/app/cache/config/compile.xml_development__033d402eaeb08f42e4e3d5f8474e444805e2c7c6.php(1255): AgaviExecutionFilter->execute(Object(AgaviFilterChain), Object(AgaviExecutionContainer))<br>

> #14 /usr/local/icinga-web/app/cache/config/compile.xml_development__033d402eaeb08f42e4e3d5f8474e444805e2c7c6.php(1700): AgaviFilter->executeOnce(Object(AgaviFilterChain), Object(AgaviExecutionContainer))<br>
> #15 /usr/local/icinga-web/lib/agavi/src/filter/AgaviExecutionTimeFilter.class.php(64): AgaviFilterChain->execute(Object(AgaviExecutionContainer))<br>
> #16 /usr/local/icinga-web/app/cache/config/compile.xml_development__033d402eaeb08f42e4e3d5f8474e444805e2c7c6.php(1255): AgaviExecutionTimeFilter->execute(Object(AgaviFilterChain), Object(AgaviExecutionContainer))<br>

> #17 /usr/local/icinga-web/app/cache/config/compile.xml_development__033d402eaeb08f42e4e3d5f8474e444805e2c7c6.php(1700): AgaviFilter->executeOnce(Object(AgaviFilterChain), Object(AgaviExecutionContainer))<br>
> #18 /usr/local/icinga-web/lib/agavi/src/filter/AgaviSecurityFilter.class.php(61): AgaviFilterChain->execute(Object(AgaviExecutionContainer))<br>
> #19 /usr/local/icinga-web/app/cache/config/compile.xml_development__033d402eaeb08f42e4e3d5f8474e444805e2c7c6.php(1702): AgaviSecurityFilter->execute(Object(AgaviFilterChain), Object(AgaviExecutionContainer))<br>
> #20 /usr/local/icinga-web/app/cache/config/compile.xml_development__033d402eaeb08f42e4e3d5f8474e444805e2c7c6.php(870): AgaviFilterChain->execute(Object(AgaviExecutionContainer))<br>
> #21 /usr/local/icinga-web/app/cache/config/compile.xml_development__033d402eaeb08f42e4e3d5f8474e444805e2c7c6.php(900): AgaviExecutionContainer->execute()<br>
> #22 /usr/local/icinga-web/app/cache/config/compile.xml_development__033d402eaeb08f42e4e3d5f8474e444805e2c7c6.php(872): AgaviExecutionContainer->proceed()<br>
> #23 /usr/local/icinga-web/app/cache/config/compile.xml_development__033d402eaeb08f42e4e3d5f8474e444805e2c7c6.php(1266): AgaviExecutionContainer->execute()<br>
> #24 /usr/local/icinga-web/app/cache/config/compile.xml_development__033d402eaeb08f42e4e3d5f8474e444805e2c7c6.php(1255): AgaviDispatchFilter->execute(Object(AgaviFilterChain), Object(AgaviExecutionContainer))<br>
> #25 /usr/local/icinga-web/app/cache/config/compile.xml_development__033d402eaeb08f42e4e3d5f8474e444805e2c7c6.php(1700): AgaviFilter->executeOnce(Object(AgaviFilterChain), Object(AgaviExecutionContainer))<br>
> #26 /usr/local/icinga-web/lib/agavi/src/filter/AgaviFormPopulationFilter.class.php(78): AgaviFilterChain->execute(Object(AgaviExecutionContainer))<br>
> #27 /usr/local/icinga-web/app/cache/config/compile.xml_development__033d402eaeb08f42e4e3d5f8474e444805e2c7c6.php(1700): AgaviFormPopulationFilter->executeOnce(Object(AgaviFilterChain), Object(AgaviExecutionContainer))<br>

> #28 /usr/local/icinga-web/app/cache/config/compile.xml_development__033d402eaeb08f42e4e3d5f8474e444805e2c7c6.php(579): AgaviFilterChain->execute(Object(AgaviExecutionContainer))<br>
> #29 /usr/local/icinga-web/pub/index.php(44): AgaviController->dispatch()<br>
> #30 {main}<br>
><br>
> what can i do do resolve this?<br>
><br>
><br>
> 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 <a href="mailto:info@myitdepartment.ie">info@myitdepartment.ie</a><br>

><br>
><br>
> ------------------------------------------------------------------------------<br>
> EMC VNX: the world's simplest storage, starting under $10K<br>
> The only unified storage solution that offers unified management<br>
> Up to 160% more powerful than alternatives and 25% more efficient.<br>
> Guaranteed. <a href="http://p.sf.net/sfu/emc-vnx-dev2dev" target="_blank">http://p.sf.net/sfu/emc-vnx-dev2dev</a><br>
> _______________________________________________<br>
> icinga-users mailing list<br>
> <a href="mailto:icinga-users@lists.sourceforge.net">icinga-users@lists.sourceforge.net</a><br>
> <a href="https://lists.sourceforge.net/lists/listinfo/icinga-users" target="_blank">https://lists.sourceforge.net/lists/listinfo/icinga-users</a><br>
><br>
<br>
--<br>
DI (FH) Michael Friedrich<br>
<br>
Vienna University Computer Center<br>
Universitaetsstrasse 7 A-1010 Vienna, Austria<br>
<br>
email:     <a href="mailto:michael.friedrich@univie.ac.at">michael.friedrich@univie.ac.at</a><br>
phone:     <a href="tel:%2B43%201%204277%2014359" value="+431427714359">+43 1 4277 14359</a><br>
mobile:    <a href="tel:%2B43%20664%2060277%2014359" value="+436646027714359">+43 664 60277 14359</a><br>
fax:       <a href="tel:%2B43%201%204277%2014338" value="+431427714338">+43 1 4277 14338</a><br>
web:       <a href="http://www.univie.ac.at/zid" target="_blank">http://www.univie.ac.at/zid</a><br>
            <a href="http://www.aco.net" target="_blank">http://www.aco.net</a><br>
<br>
Icinga Core&  IDOUtils Developer<br>
<a href="http://www.icinga.org" target="_blank">http://www.icinga.org</a><br>
<br>
<br>
------------------------------------------------------------------------------<br>
EMC VNX: the world's simplest storage, starting under $10K<br>
The only unified storage solution that offers unified management<br>
Up to 160% more powerful than alternatives and 25% more efficient.<br>
Guaranteed. <a href="http://p.sf.net/sfu/emc-vnx-dev2dev" target="_blank">http://p.sf.net/sfu/emc-vnx-dev2dev</a><br>
_______________________________________________<br>
icinga-users mailing list<br>
<a href="mailto:icinga-users@lists.sourceforge.net">icinga-users@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/icinga-users" target="_blank">https://lists.sourceforge.net/lists/listinfo/icinga-users</a><br>
<br>
<br>
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 <a href="mailto:info@myitdepartment.ie">info@myitdepartment.ie</a><br>

<br>
<br>
------------------------------------------------------------------------------<br>
EMC VNX: the world's simplest storage, starting under $10K<br>
The only unified storage solution that offers unified management<br>
Up to 160% more powerful than alternatives and 25% more efficient.<br>
Guaranteed. <a href="http://p.sf.net/sfu/emc-vnx-dev2dev" target="_blank">http://p.sf.net/sfu/emc-vnx-dev2dev</a><br>
_______________________________________________<br>
icinga-users mailing list<br>
<a href="mailto:icinga-users@lists.sourceforge.net">icinga-users@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/icinga-users" target="_blank">https://lists.sourceforge.net/lists/listinfo/icinga-users</a><br>
</div></div></blockquote></div><br></div>