Quoting Michael Friedrich <michael.friedr...@univie.ac.at>:

   Hi,

   I had installed icinga from debian squeeze backports repository and
icinga-web from source file.

   I have followed the steps mentioned on

   /usr/share/doc/icinga/README.Debian

   Now i am able to execute external commands from icinga-web.

   Thanks

   - Aravind M D
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@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@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.friedr...@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
  >
  >
  >
------------------------------------------------------------------------------
  > 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@lists.sourceforge.net
  > https://lists.sourceforge.net/lists/listinfo/icinga-users
------------------------------------------------------------------------------
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@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/icinga-users

Reply via email to