[icinga-users] Icinga Web Error

Michael Friedrich michael.friedrich at univie.ac.at
Thu Mar 29 10:59:55 CEST 2012


Aravind M D wrote:
> Hi All,
>
> I have installed icinga-web 1.6.2 on a server running Debian 6.

and icinga itsself is installed how?

if debian pkg, refer to README.debian, esp "external commands".

>
> When i try to execute some command from icinga web i am getting error.
>
> /Could not send command. Check if your webserver's user has correct 
> permissions for writing to the command pipe/.
>
> My command pipe permission is
>
> root at server:~# ls -lai /var/lib/icinga/rw/
> total 8
> 948708 drwxr-xr-x 2 nagios www-data 4096 Mar 29 10:24 .
> 948705 drwxr-xr-x 4 nagios nagios   4096 Mar 29 10:30 ..
> 948689 prw-rw---- 1 nagios nagios      0 Mar 29 10:24 icinga.cmd

wrong permissions inherited, missing g+s ... see above.

>
> Apache log shows
>
> sh: cannot create /var/lib/icinga/rw/icinga.cmd: Permission denied
>
> Can someone help me to resolve this error.
>
> Rgds,
> Aravind M D
>
>
>
>
>
>
> ------------------------------------------------------------------------------
> This SF email is sponsosred by:
> Try Windows Azure free for 90 days Click Here
> http://p.sf.net/sfu/sfd2d-msazure
>
>
> _______________________________________________
> icinga-users mailing list
> icinga-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/icinga-users


-- 
DI (FH) Michael Friedrich

Vienna University Computer Center
Universitaetsstrasse 7 A-1010 Vienna, Austria

email:  michael.friedrich at univie.ac.at
phone:  +43 1 4277 14359
mobile: +43 664 60277 14359
fax:    +43 1 4277 14338
web:    http://www.univie.ac.at/zid
         http://www.aco.net

Lead Icinga Core Developer
http://www.icinga.org





More information about the icinga-users mailing list