Am 27.04.2013 04:56, schrieb Jim Miller:

Hello everyone,

I have a RHEL 6.3 server running:

icinga-doc-1.8.4-4.el6.rf.x86_64

icinga-1.8.4-4.el6.rf.x86_64

icinga-gui-1.8.4-4.el6.rf.x86_64

icinga-web-1.7.2-2.el6.rf.noarch

icinga-idoutils-libdbi-mysql-1.8.4-4.el6.rf.x86_64

icinga-web-module-pnp-1.7.2-2.el6.rf.noarch

I'm running into a number of problems, but let's start here, I'm trying to ack some alerts:

Web Page (default /server/icinga/):

Error: Could not open command file '/var/spool/icinga/cmd/icinga.cmd' for update!

The permissions on the external command file and/or directory may be incorrect. Read the FAQs on how to setup proper permissions.

/etc/passwd:

icinga:x:496:505:icinga:/var/spool/icinga:/sbin/nologin

/etc/group:

apache:x:48:icinga

icinga:x:505:apache

icingacmd:x:506:icinga

dirs

/ var/spool/

drwxr-xr-x.  4 icinga icinga 4096 Apr 26 21:47 icinga

/var/spool/icinga/

srwxr-xr-x.  1 icinga icinga        0 Apr 26 20:49 ido.sock

-rw-r--r--.  1 icinga icinga    25051 Apr 26 21:18 retention.dat

-rw-rw-r--.  1 icinga icinga        0 Apr 26 21:18 idomod.tmp

-rw-r--r--.  1 icinga icinga    19243 Apr 26 21:18 objects.cache

drwxr-sr-x.  2 icinga icingacmd  4096 Apr 26 21:18 cmd

drwxrwxr-x.  2 icinga icinga     4096 Apr 26 21:47 checkresults

-rw-r--r--.  1 icinga icinga    25739 Apr 26 21:47 status.dat

/var/spool/icinga/cmd

prw-rw----. 1 icinga icingacmd    0 Apr 26 21:18 icinga.cmd

processes:

icinga 24780 0.0 0.0 56300 684 ? Ss 20:49 0:00 /usr/bin/ido2db -c /etc/icinga/ido2db.cfg

icinga 25481 0.0 0.1 133016 2584 ? Sl 21:18 0:00 /usr/bin/ido2db -c /etc/icinga/ido2db.cfg

icinga 25484 0.0 0.1 142672 2080 ? Ssl 21:18 0:01 /usr/bin/icinga -d /etc/icinga/icinga.cfg


Wow. That's a perfect posting containing every necessary information.

For whatever reason apache is not member of the group icingacmd so you get the message above. Executing something like "useradd -a -G icingacmd apache" should solve the issue (similiar to the documentation: http://docs.icinga.org/latest/en/quickstart-icinga.html#createaccount).
------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
_______________________________________________
icinga-users mailing list
icinga-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/icinga-users

Reply via email to