Error: Could not stat() command file '/usr/local/nagios/var/rw/na gios.cmd'!

Marc Powell mpowell at ena.com
Wed Apr 23 02:00:55 CEST 2003


Is your web server a member of group 'nagioscmd' and been restarted
since adding it to the group? Maybe someone changed that? Permissions
wise, everything looks fine.

 

--

Marc

 

  _____  

From: Daniel Jimenez [mailto:DanielJ at avatar-cs.net] 
Sent: Tuesday, April 22, 2003 6:39 PM
To: nagios-users at lists.sourceforge.net

 

List, 

Randomly, I am unable to send commands to Nagios. It was working okay.
When I do I get: 

Error: Could not stat() command file
'/usr/local/nagios/var/rw/nagios.cmd'! 

I have made no changes to the server, nor have others. 

---- 

[root at johnny5 var]# ls -alsh          
total 52K 
4.0K drwxrwxr-x    4 nagios   nagios       4.0K Apr 22 18:47 . 
4.0K drwxrwxr-x    7 nagios   nagios       4.0K Apr  7 15:40 .. 
4.0K drwxrwxr-x    2 nagios   nagios       4.0K Apr 22 00:00 archives 
4.0K -rw-rw-r--    1 nagios   nagios       1.1K Apr 22 18:35 comment.log

   0 -rw-rw-r--    1 nagios   nagios          0 Apr 22 18:35
downtime.log 
4.0K -rw-r--r--    1 root     root            4 Apr 22 18:35 nagios.lock

 12K -rw-rw-r--    1 nagios   nagios       8.8K Apr 22 18:35 nagios.log 
4.0K drwxrws---    2 nagios   nagiocmd     4.0K Apr 22 18:35 rw 
8.0K -rw-rw-r--    1 nagios   nagios       5.6K Apr 22 18:47 status.log 
8.0K -rw-rw-r--    1 nagios   nagios       4.2K Apr 22 18:35 status.sav 

--- 

[root at johnny5 rw]# ls -alsh 
total 8.0K 
4.0K drwxrws---    2 nagios   nagiocmd     4.0K Apr 22 18:35 . 
4.0K drwxrwxr-x    4 nagios   nagios       4.0K Apr 22 18:52 .. 
   0 prw-rw----    1 nagios   nagiocmd        0 Apr 22 18:35 nagios.cmd 

 

I'm not sure what the issue is, could anyone provide pointers? I've
checked the FAQs and Docs, yet I see nothing that fixes the issue.

Daniel Jimenez 
Systems Administrator 
Avatar Computer Solutions, Inc. 
Network Support, Voice / Data Cabling, and Internet Services 
340 N. Sam Houston Parkway E. Suite #265 
Voice: 281.999.1300 / 888.503.0503 
Fax: 281.999.7070 
Web: www.avatar-cs.net 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20030422/dfa12982/attachment.html>


More information about the Users mailing list