[icinga-checkins] icinga.org: icinga-web/master: Changed www-user error to a more general version

git at icinga.org git at icinga.org
Fri Aug 26 14:39:58 CEST 2011


Module: icinga-web
Branch: master
Commit: 70300b073cc71cfd2daf269e432921b84c395b66
URL:    https://git.icinga.org/?p=icinga-web.git;a=commit;h=70300b073cc71cfd2daf269e432921b84c395b66

Author: Jannis Moßhanner <jannis.mosshammer at netways.de>
Date:   Fri Aug 26 11:28:54 2011 +0200

Changed www-user error to a more general version

---

 .../Commands/CommandDispatcherModel.class.php      |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/app/modules/Api/models/Commands/CommandDispatcherModel.class.php b/app/modules/Api/models/Commands/CommandDispatcherModel.class.php
index a838003..74d2401 100644
--- a/app/modules/Api/models/Commands/CommandDispatcherModel.class.php
+++ b/app/modules/Api/models/Commands/CommandDispatcherModel.class.php
@@ -41,7 +41,7 @@ class Api_Commands_CommandDispatcherModel extends IcingaApiBaseModel implements
         try {
             $this->consoleContext->exec($cmd);
             if($cmd->getReturnCode() != '0')
-                throw new Exception("Could not send command. Check your www-users permission for writing the command pipe.");
+                throw new Exception("Could not send command. Check your webserver's user has correct permissions for writing to the command pipe.");
         } catch (Exception $e) {
            
            $this->context->getLoggerManager()->log("Sending command failed ".$e->getMessage() );





More information about the icinga-checkins mailing list