Home > Error Could > Error Could Not Bind Socket To Interface

Error Could Not Bind Socket To Interface

Auf meiner 1. However I'm getting this error when initiating the command: nagios@tool:~/libexec$ ./check_dhcp -s serveip1 Error: Could not bind socket to interface eth0. Home | New | Search | [?] | Reports | Requests | Help | NewAccount | Log In [x] | Forgot Password Login: [x] | Report Bugzilla Bug Legal Unless stated or apparent from its terms, any opinion is not the opinion of Westpac Banking Corporation. weblink

connect. By continuing to browse this site, you are agreeing to our use of cookies. Maschine klappt die DHCP Abfrage auf 2 Domänencontroller ohne Probleme und bekomme von diesen einen Status gemeldet, allerdings auf meiner 2. Danke schonmal im vorraus Quote Report Content Go to Page Top sam_bln Beginner Posts 40 Occupation Linux-Admin Number of hosts 67 Number of services 498 Operating Systems Gentoo/Debian 2 Jun 11th https://sourceforge.net/p/nagios/mailman/message/31007724/

Maschine bekomme ich bei der Abfrage des DHCP Status die Meldung: Error: Could not bind socket to interface eth0. Check your privileges... > root@...:/usr/lib/nagios/plugins# ll -lsa check_dhcp > 36 *-rwsrwxrwx* 1 root root 34344 2010-02-04 07:09 check_dhcp* > Do you have a dhcp client and/or server that could be interfering The partition was mounted with the suid option enabled. Please refer to our Privacy Policy or Contact Us for more details You seem to have CSS turned off.

Votes:0 Your Vote: Up Down After upgrading to the latest version I am getting this error on three sensors. dito207 Beginner Posts 16 Occupation IT-Security Number of hosts 500 Number of services 200 Operating Systems Linux 10 Enterprise Server 1 Error: Could not bind socket to interface eth0. Getestet. Note: Nagios pluggins are running the following level: ./check_tcp -V check_tcp v1.4.14 (nagios-plugins 1.4.14) root@...:/usr/lib/nagios/plugins# Markus Franke | Senior Network Engineer, Telecommunications Services | THE WESTPAC GROUP | P 02 8253

Unless stated or apparent from its terms, any opinion is not the opinion of Westpac Banking Corporation. http://p.sf.net/sfu/ms-webmatrix-sf _______________________________________________________ Nagios Plugin Development Mailing List Nagiosplug-devel@... Search this Thread 06-26-2009, 01:16 AM #1 deibertine Member Registered: Mar 2009 Posts: 222 Rep: check_dhcp issue Hi all, I need to monitor our dhcp server and came to look at this site What I did was I created a separate check command definition and reinstated $USER1$/check_dhcp "IP ADDRESS" Now Nagios is absolutely happy with this change. :-) DB.

I understand that I can withdraw my consent at any time. More details Your browser has JavaScript disabled. This information was last pulled 18 hours ago. Steps to Reproduce: 1. /usr/lib/nagios/plugins/check_dhcp or /usr/lib/nagios/plugins/check_dhcp -v Actual results: Error: Could not bind socket to interface eth0.

I was misled by the second part of the error message, when I should have paid closer attention to the "Could not bind socket to interface eth0" part. https://monitoring-portal.org/index.php?thread/10711-error-could-not-bind-socket-to-interface-eth0-check-your-privileges/ Check your privileges... > > I realize that since it is a port under 1024 that "check_dhcp" needs root > ownership to work. Report a bug This report contains Public information Edit Everyone can see this information. Bug201266 - nagios-plugins: check_dhcp needs root privileges Summary: nagios-plugins: check_dhcp needs root privileges Status: CLOSED CURRENTRELEASE Aliases: None Product: Fedora Classification: Fedora Component: nagios-plugins (Show other bugs) Sub Component: --- Version:

Does anyone have any idea what could cause this? --Max Carey Re: [Nagios-users] check_dhcp permissions issue even when run as root From: Maxwell Carey - 2013-06-06 17:03:59 On 06/05/2013 10:01 have a peek at these guys Terms Privacy Opt Out Choices Advertise Get latest updates about Open Source Projects, Conferences and News. Problem solved (and some good lessons learned to boot). --Max Carey SourceForge About Site Status @sfnet_ops Powered by Apache Allura™ Find and Develop Software Create a Project Software Directory Top Downloaded Can you verify with "netstat -an" that PRTG or the Netflow Tester is listening on the configured port?

Root-Rechte braucht Nagios für diese Abfrage. Zitat aus den Satiren des Juvenal ------------------------------------------------------------------------------------------------- Quote Report Content Go to Page Top dito207 Beginner Posts 16 Occupation IT-Security Number of hosts 500 Number of services 200 Operating Systems Linux Number of hosts 1200 Number of services 2much Operating Systems Redhat/OpenSuse and my lovely ArchLinux 10 Jun 11th 2008, 11:47am Hi Sollte meines erachtens -r-sr-sr-x 1 root nagios 77718 2008-04-15 16:59 check over here None, the status of the bug is updated manually.

Version-Release number of selected component (if applicable): nagios-plugins-1.4.3-14 How reproducible: Always (with a non-root account such as the nagios account). Unsubscribe at https://lists.sourceforge.net/lists/listinfo/nagiosplug-devel ::: Please include plugins version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Create and publish websites All Rights Reserved.

setuid root programs are particularly dangerous, which is why things tend not to come prepackaged that way. (I can't find a policy document on it, but Debian flags setuid binaries, which

Otherwise check your logs, like /var/log/audit/* and the like, just when you do it. The sensors were fine before the upgrade. Screenshot instructions: Windows Mac Red Hat Linux Ubuntu Click URL instructions: Right-click on ad, choose "Copy Link", then paste here → (This may not be possible with some types of Following packages was also upgraded at the same time: ./tzdata_2007h-0ubuntu0.7.04_all.deb ./libnspr4_2%3a1.firefox2.0.0.8+1nobinonly-0ubuntu1_i386.deb ./libnss3_2%3a1.firefox2.0.0.8+1nobinonly-0ubuntu1_i386.deb ./libssl0.9.8_0.9.8c-4ubuntu0.2_i386.deb ./firefox-dom-inspector_2.0.0.8+1nobinonly-0ubuntu1_all.deb ./bsdutils_1%3a2.12r-17ubuntu2.1_i386.deb ./nagios-plugins-basic_1.4.5-2ubuntu0.1_i386.deb ./mount_2.12r-17ubuntu2.1_i386.deb ./firefox_2.0.0.8+1nobinonly-0ubuntu1_i386.deb ./util-linux-locales_2.12r-17ubuntu2.1_all.deb ./openssl_0.9.8c-4ubuntu0.2_i386.deb ./util-linux_2.12r-17ubuntu2.1_i386.deb ./firefox-gnome-support_2.0.0.8+1nobinonly-0ubuntu1_i386.deb /ramses Add tags Tag help ramses (demo-itmanagement) wrote on

allerdings war es dummer zufall... Even when I run the plugin as the root user, I get the same error, so I suspect this is not really a file permissions issue. After ensuring the permissions are set correctly (-rwxrwxrwx 1 root root 34344 2010-02-04 07:09 check_dhcp* ) and attempting to run the binary executable from to root account, I still get the this content Check your privileges...

Main Menu LQ Calendar LQ Rules LQ Sitemap Site FAQ View New Posts View Latest Posts Zero Reply Threads LQ Wiki Most Wanted Jeremy's Blog Report LQ Bug Syndicate Latest Unauthorised use, copying or distribution is prohibited. Please don't fill out this field. Check your privileges...