AW: Cannot map "tcp" to protocol number
Jason Signalness
jason at btiadmin.net
Mon Nov 1 15:33:58 CET 2004
Hello again,
Thanks for the tip. Unfortunately, I don't see any reference to the
protocols file when I do an strace on an execution of check_httpd. The
only problems I see opening files are attempts to open a file called
/etc/ld.so.preload and a file called /etc/ldap.secret.
Andreas suggested that, at this point, I rebuild my glibc libraries.
That sounds rather risky, and I haven't noticed any other problems on
this system. I'm not convinced this is a Nagios problem, but isn't
messing with glibc risky on a production system?
-Jason
Helmut W. Januschka wrote:
>Try it with strace to see if the plugin uses the right file and/or get's permission errors
>
>-helmut
>
>-----Ursprüngliche Nachricht-----
>Von: Jason Signalness [mailto:jason at btiadmin.net]
>Gesendet: Freitag, 29. Oktober 2004 18:59
>An: nagios-users at lists.sourceforge.net
>Betreff: [Nagios-users] Cannot map "tcp" to protocol number
>
>
>Hello,
>
>I'm new to Nagios - just investigating it as a replacement for Big
>Brother, which suddenly got expensive.
>
>The problem I have is with check_http and some of the other plugins.
>When I run the check_http command manually (or other check_* commands) I
>get the "Cannot map tcp to protocol number" error.
>
>Here's what I mean:
>
>[nagios at netmon1 libexec]$ ./check_http -I 216.235.160.97
>Cannot map "tcp" to protocol number
>Unable to open TCP socket
>
>My system is a Red Hat box on Intel, if that helps. The check_http
>binary is finding all of its libraries (based on output of ldd).
>
>I haven't had much luck with the list archives, manuals, or FAQs for
>this particular problem.
>
>Thanks,
>Jason
>
>
>-------------------------------------------------------
>This SF.Net email is sponsored by:
>Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&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
>
>
-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_idU88&alloc_id065&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