Cannot stat() problem with nagios.cmd file

Jacob Cazzell jacob at webexc.com
Wed Dec 11 18:03:26 CET 2002


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I noticed there was someone on the mailing list having problems getting the 
"error: cannot stat" message trying to use external commands.

I think the problem might be permission on the $NAGIOS/var/rw directory.  I 
was having the exact same problems until I came across an older NetSaint 
install where I had corrected this.

For me, the fix was to change the permissions on the "rw" directory from

drwxrwS---  2 nagios  nagios   512 Dec 11 11:52 rw

to this:

drwxr-sr-x  2 nagios  nagios   512 Dec 11 11:52 rw

using "chmod 2755 rw"

This has solved the problem for me, and I am now able to process commands 
submitted via the web interface.

Hope this helps out!

Thanks,

Jacob
-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 7.0.3 for non-commercial use <http://www.pgp.com>

iQA/AwUBPfdv3ni/zZJr/TXVEQICIACbBT+ymVvWelSwyKDa2kDDvJ0LVTYAoILf
L/n0tymS7LaDjzRcL9BWE39/
=g9Sa
-----END PGP SIGNATURE-----



-------------------------------------------------------
This sf.net email is sponsored by:
With Great Power, Comes Great Responsibility 
Learn to use your power at OSDN's High Performance Computing Channel
http://hpc.devchannel.org/




More information about the Users mailing list