It seems that the user your webserver is running as has no permission to that 
socket file, just add it to the group icinga2 is running as.

Regards,
Markus

Sent from my iPhone

On 20 Aug 2015, at 18:31, Nobuo Matsushita <[email protected] 
<mailto:[email protected]> > wrote:

Hi,

I installed icingaweb2-2.0.0-4.rc1.el6.noarch on our test system.

When I tried to set downtime, I got the following errors. Can some one help me 
on this?



Can't send external Icinga command to the local command file 
"/var/run/icinga2/cmd/icinga2.cmd": Permission denied

--------------------------------

#0 
/usr/share/icingaweb2/modules/monitoring/application/forms/Command/Object/ScheduleServiceDowntimeCommandForm.php(191):
 
Icinga\Module\Monitoring\Command\Transport\LocalCommandFile->send(Object(Icinga\Module\Monitoring\Command\Object\ScheduleHostDowntimeCommand))
#1 
/usr/share/icingaweb2/modules/monitoring/application/forms/Command/Object/ScheduleHostDowntimeCommandForm.php(83):
 
Icinga\Module\Monitoring\Forms\Command\Object\ScheduleServiceDowntimeCommandForm->scheduleDowntime(Object(Icinga\Module\Monitoring\Command\Object\ScheduleHostDowntimeCommand),
 Object(Icinga\Web\Request))
#2 /usr/share/php/Icinga/Web/Form.php(909): 
Icinga\Module\Monitoring\Forms\Command\Object\ScheduleHostDowntimeCommandForm->onSuccess()
#3 
/usr/share/icingaweb2/modules/monitoring/library/Monitoring/Web/Controller/MonitoredObjectController.php(122):
 Icinga\Web\Form->handleRequest()
#4 
/usr/share/icingaweb2/modules/monitoring/application/controllers/HostController.php(159):
 
Icinga\Module\Monitoring\Web\Controller\MonitoredObjectController->handleCommandForm(Object(Icinga\Module\Monitoring\Forms\Command\Object\ScheduleHostDowntimeCommandForm))
#5 /usr/share/icingaweb2/library/vendor/Zend/Controller/Action.php(507): 
Monitoring_HostController->scheduleDowntimeAction()
#6 
/usr/share/icingaweb2/library/vendor/Zend/Controller/Dispatcher/Standard.php(303):
 Zend_Controller_Action->dispatch('scheduleDowntim...')
#7 /usr/share/icingaweb2/library/vendor/Zend/Controller/Front.php(937): 
Zend_Controller_Dispatcher_Standard->dispatch(Object(Icinga\Web\Request), 
Object(Icinga\Web\Response))
#8 /usr/share/php/Icinga/Application/Web.php(154): 
Zend_Controller_Front->dispatch(Object(Icinga\Web\Request), 
Object(Icinga\Web\Response))
#9 /usr/share/php/Icinga/Application/webrouter.php(111): 
Icinga\Application\Web->dispatch()
#10 /usr/share/icingaweb2/public/index.php(4): 
require_once('/usr/share/php/...')
#11 {main}








Thanks


Nobuo


_______________________________________________

icinga-users mailing list

[email protected] <mailto:[email protected]> 

https://lists.icinga.org/mailman/listinfo/icinga-users



_______________________________________________
icinga-users mailing list
[email protected]
https://lists.icinga.org/mailman/listinfo/icinga-users

Reply via email to