On 27.04.2013 04:56, Jim Miller wrote: > > 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 >
that's stŕange. the package icinga-gui will make sure to add the apache user to that group with https://github.com/repoforge/rpms/blob/master/specs/icinga/icinga.spec#L268 maybe apache was installed afterwards? likely reinstalling the package will help. the package icinga-web will take of that as well, if not already done. https://github.com/repoforge/rpms/blob/master/specs/icinga-web/icinga-web.spec#L198 so my guess is, that the apache user did not exist on the system when installing icinga*. > 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 > > > > ------------------------------------------------------------------------------ > 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 -- DI (FH) Michael Friedrich mail: michael.friedr...@gmail.com twitter: https://twitter.com/dnsmichi jabber: dnsmi...@jabber.ccc.de irc: irc.freenode.net/icinga dnsmichi icinga open source monitoring position: lead core developer url: https://www.icinga.org ------------------------------------------------------------------------------ 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