Thank you, Markus. I checked working web site and this new web site hosts group permission. They are same. But when I check the file permission, they are different:
Working one: prw-rw----. 1 icinga icingacmd 0 Aug 20 16:12 /var/run/icinga2/cmd/icinga2.cmd| None working one: -rw-r--r--. 1 root icingacmd 128 Aug 11 19:22 /var/run/icinga2/cmd/icinga2.cmd Is this caused the issue? How can I change this? Nobuo From: icinga-users <[email protected]<mailto:[email protected]>> on behalf of Markus Joosten <[email protected]<mailto:[email protected]>> Reply-To: Icinga User's Corner <[email protected]<mailto:[email protected]>> Date: Thursday, August 20, 2015 at 11:00 AM To: Icinga User's Corner <[email protected]<mailto:[email protected]>> Subject: Re: [icinga-users] icingaweb2 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
