Command File error

jeffrey at hyves.nl jeffrey at hyves.nl
Wed Jul 12 10:02:06 CEST 2006


Hey,

Have you checked your nagios.cfg file? It seems to me like your 
command_file definition is incorrect and should be 
'command_file=/usr/local/nagios/var/rw/nagios.cmd' instead of 
'command_file=/usr/local/nagios//var/rw/nagios.cmd'.

---------------------------------
Jeffrey Lensen
hyves:     http://skyler.hyves.nl
mail/msn:  jeffrey at hyves.nl



Israel Brewster wrote:

>Yes, the nagios.cmd file is automatically created when I start  
>nagios. The file does have read and write permissions for the nagcmd  
>group, and I have added the webserver to said group.
>
>Israel
>
>On Jul 11, 2006, at 2:52 PM, Patrick Morris wrote:
>
>  
>
>>On Tue, 11 Jul 2006, Israel Brewster wrote:
>>
>>    
>>
>>>Whenever I try to run a command from the nagios CGI's, I get an error
>>>saying:
>>>
>>>Error: Could not stat() command file '/usr/local/nagios//var/rw/
>>>nagios.cmd'!
>>>
>>>The external command file may be missing, Nagios may not be running,
>>>and/or Nagios may not be checking external commands.
>>>
>>>An error occurred while attempting to commit your command for
>>>processing.
>>>
>>>I have read through the documentation, and checked the permissions on
>>>the command directory both manually and by sing the make install-
>>>commandmode command. I have also verified that both my webserver and
>>>the nagios process user are in the group that owns the command
>>>directory. I still get the error though. Can anyone shed some light
>>>on this for me? Thanks.
>>>      
>>>
>>How about the nagios.cmd file?  Is it there?
>>
>>Are the permissions set so that the webserver user can get to it?
>>    
>>
>
>
>
>-------------------------------------------------------------------------
>Using Tomcat but need to do more? Need to support web services, security?
>Get stuff done quickly with pre-integrated technology to make your job easier
>Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
>http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>_______________________________________________
>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
>
>  
>


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
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