Permission denied using du command

Marc Powell marc at ena.com
Thu Jul 17 20:49:50 CEST 2008


On Jul 17, 2008, at 12:28 PM, Edwin Zoeller wrote:

> I have nrpe running a Linux server, when I execute a command like  
> check_mem using nrpe and it works but, when I use the command  
> check_dirsize11.sh I get "Error: Permission denied /usr/bin/du". Can  
> anyone shed some light on this?

The user that NRPE is running as on the remote machine does not have  
permissions to run the command /usr/bin/du. This is very unusual and  
the most likely reason is that you have changed the permissions on / 
usr/bin/du from it's default of 755.

--
Marc


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
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