Hi Valrio,
> Yes, I know, there are lot's of persons who reported this problem but
> I wasn't able to read any solution.

these are the default permissions for icinga which would be needed for the cgis:

# ls -al /var/lib/icinga/
insgesamt 32
drwxr-x--x  4 nagios nagios    4096 Aug  8 11:38 .
drwxr-xr-x 44 root   root      4096 Jul 26 11:11 ..
-rw-r--r--  1 nagios nagios       0 Aug  7 16:43 idomod.tmp
srwxr-xr-x  1 nagios nagios       0 Aug  8 11:36 ido.sock
drwx--s---  2 nagios www-data  4096 Aug  8 11:36 rw
drwxr-x---  3 nagios nagios    4096 Jul  5 19:19 spool
-rw-rw-r--  1 nagios www-data 12843 Aug  8 11:38 status.dat

# ls -al /var/cache/icinga
insgesamt 56
drwxr-s---  2 nagios www-data  4096 Aug  8 11:38 .
drwxr-xr-x 16 root   root      4096 Jul 10 16:37 ..
-rw-r--r--  1 nagios www-data 36084 Aug  8 11:36 objects.cache
-rw-------  1 nagios www-data 12198 Aug  7 16:43 retention.dat

Please notice the permissions on the directories, as well as
objects.cache and status.dat

You need to make sure that www-data can read them.

The permissions for the rw dir look like this:

# ls -al /var/lib/icinga/rw
insgesamt 8
drwx--s--- 2 nagios www-data 4096 Aug  8 11:36 .
drwxr-x--x 4 nagios nagios   4096 Aug  8 11:41 ..
prw-rw---- 1 nagios www-data    0 Aug  8 11:36 icinga.cmd

For details about how to set the correct permissions for the command
interface see /usr/share/doc/icinga/README.Debian

Best Regards
Markus

-- 
Markus Frosch
mar...@lazyfrosch.de
http://www.lazyfrosch.de

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
icinga-users mailing list
icinga-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/icinga-users

Reply via email to