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

Intro:
icinga -v returns 0 errors 0 warnings
icinga process is running
  ps aux | grep icinga
    nagios   20016  0.0  0.0  36308  2252 ?        SNsl ago07   0:12
/usr/sbin/icinga -d /etc/icinga/icinga.cfg


Situation:
debian weezy 64 bit with icinga 1.7.1, apache 2.2.22, mysql 5.5.24.
Note: I installed also icinga.web.

I started configuring icinga adding few host and services and
everything was fine.
I was adding a plugin to monitor apcupsd.
I tried to enable external commands setting
  check_external_commands=1
but I got an error about permission of /var/lib/icinga/rw.
I changed the permission of the icinga directory
  chmod 770 /var/lib/icinga
then I got the message "Error: Could not read host and service status
information!" in the classic web interface.

I tried to undo the last things I did
  chmod 700 /var/lib/icinga
commented out everything about apcupsd service and commands;
disables external commands
  check_external_commands=1
But it didn't help.

*What else can I check?*
*May icinga-web conflict with icinga classic?*

aptitude search icinga
p   check-mk-config-icinga
i   icinga
i A icinga-cgi
i A icinga-common
i A icinga-core
p   icinga-dbg
p   icinga-doc
i A icinga-idoutils
i   icinga-web
p   icinga-web-pnp

/var/log/icinga/icinga.log
[1344406560] Caught SIGHUP, restarting...
[1344406560] Icinga 1.7.1 starting... (PID=20016)
[1344406560] Local time is mer ago 08 08:16:00 CEST 2012
[1344406560] LOG VERSION: 2.0
[1344406560] Event loop started...
<nothing else>

/var/log/apache/error.log
[Wed Aug 08 08:51:29 2012] [error] [client 127.0.0.1] File does not
exist: /usr/share/icinga/htdocs/docs, referer:
http://localhost/icinga/menu.html
[Wed Aug 08 08:51:29 2012] [error] [client 127.0.0.1] File does not
exist: /usr/share/icinga/htdocs/docs, referer:
http://localhost/icinga/menu.html

------------------------------------------------------------------------------
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