Setting up un-authenticated users

Marc Powell marc at ena.com
Fri Aug 21 19:11:19 CEST 2009


On Aug 21, 2009, at 12:01 PM, Kevin Freels wrote:

> Error: Could not open command file '/usr/local/nagios/var/rw/ 
> nagios.cmd'
> for update!
>
> I did the "make install-config" which sets the perms for the  
> nagios.cmd

'make install-commandmode' does this.

> file/directory, and in fact, after starting nagios the file is created
> as a pipe (as documented):
>
> [09:56:09 root rockwell:/usr/local/nagios/var/rw] ls -la
> total 8
> drwxrwsr-x. 2 nagios nagios 4096 2009-08-21 09:55 .
> drwxrwxr-x. 5 nagios nagios 4096 2009-08-21 09:56 ..
> prw-rw----  1 nagios nagios    0 2009-08-21 09:55 nagios.cmd
>
> So I'm stumped....

Is your web server user a member of the nagios group in /etc/group?  
Did you restart the web server after adding it to the group?

--
Marc


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list