(no subject)

Andreas Ericsson ae at op5.se
Fri Sep 3 00:16:03 CEST 2004


rob5 at goobertek.com wrote:
> Howdy Folks!
> 
> How do I fix this problem with check_dhcp?
> 
> Error: Could not bind socket to interface eth0. Check your privileges...
> 
> The permissions for check_dhcp are set to be owned by root and of the root
> group.
> 

It needs to be owned by root, executable by nagios and setuid. It should 
look something like this in ls -l;
srwxr-x---       root     nagios     <size> <time> check_dhcp
OR
srwxr-xr-x       root     <anygroup> <size> <time> check_dhcp

The important part is the s, x'es and that the owner is root.

> Any ideas would be helpful?
> 

# chown root.nagios check_dhcp
# chmod 4750 check_dhcp

-- 
Andreas Ericsson                   andreas.ericsson at op5.se
OP5 AB                             www.op5.se
Lead Developer


-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
_______________________________________________
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