Cannot map "tcp" to protocol number

Andreas Ericsson ae at op5.se
Fri Oct 29 23:06:22 CEST 2004


Jason Signalness wrote:
> Jason Martin wrote:
> 
>> On Fri, Oct 29, 2004 at 11:58:42AM -0500, Jason Signalness wrote:
>>  
>>
>>> 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.
>>>   
>>
>> That is odd. Do you have a /etc/protocols file?  Does it have a
>> 'tcp' line in it?
>>
>> -Jason Martin
>>  
>>
> Yes, it does.  I quote it here:
> 
> tcp     6       TCP             # transmission control protocol
> 
> Any ideas?  Anyone?
> 

If /etc/protocols is readable by the user nagios is running as (should 
be mode 644), you have a serious error in your glibc. Replace and 
re-compile.

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


-------------------------------------------------------
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





More information about the Users mailing list