[Ntop-dev] Ntop runs, but can't be reached from http
Burton Strauss
Burton at ntopSupport.com
Thu Mar 23 00:09:32 CET 2006
There's nothing special about ntop - it simply uses whatever name resolution
is offered by the host (i.e. the /etc/resolv.conf configuration) via the
standard C library calls (e.g. gethostbyip()).
To prevent the queue from growing too large, we cut it off if there are 4K
awaiting - this handles an intial burst when ntop starts up, without wasting
too much space if there is a DNS problem.
If name resolution fails - for whatever reason - then the queue will build.
If the problem is transient (gets fixed), then ntop will work the queue and
it will decrease. If the problem doesn't get fixed, it will eventually max
out the queue and issue the warning message.
Sounds like you need to reboot your box - this cures all kinds of ills.
-----Burton
_____
From: ntop-dev-bounces at unipi.it [mailto:ntop-dev-bounces at unipi.it] On Behalf
Of Thomas Kiellerup
Sent: Wednesday, March 22, 2006 4:26 PM
To: ntop-dev at Unipi.IT
Subject: Re: [Ntop-dev] Ntop runs, but can't be reached from http
Well, that might be the problem. I have no local DNS for my eternal network
on ETH2 yet. The resolv.conf has 2 external DNS records on the ETH0. Do I
need a internal DNS to make it work, or can I somehow link to the external
DNS?
The strange thing about it is that NTOP has been running fine for about a
month or so and suddenly makes these errors?
- Thomas
----- Original Message -----
From: Burton <mailto:Burton at ntopSupport.com> Strauss
To: ntop-dev at Unipi.IT
Sent: Wednesday, March 22, 2006 10:23 PM
Subject: RE: [Ntop-dev] Ntop runs, but can't be reached from http
You have some kind of problem with your name resolution - either no access
to a dns server, etc. something like that.
Check /etc/resolv.conf and use nslookup or dig to make sure those work.
There is some info on this in docs/FAQ.
-----Burton
_____
From: ntop-dev-bounces at unipi.it [mailto:ntop-dev-bounces at unipi.it] On Behalf
Of Thomas Kiellerup
Sent: Wednesday, March 22, 2006 2:19 PM
To: ntop-dev at Unipi.IT
Subject: [Ntop-dev] Ntop runs, but can't be reached from http
I have the past few weeks experienced some errors with NTOP. It keeps
running the service, but sometimes I can't reach it with http. Then I have
to stop the service with the zap command, and start it again. I tried to
locate the problem with the command grep ntop /var/log/messages and it shows
this:
**WARNING** Address resolution queue is full [4096 slots]
Addresses in excess won't be resolved - ntop continues
segfault at 0000000000000030 rip 00002aaaac39661d rsp 0000000044003b00 error
6
Its running on a Gentoo system, and keep track of about 150 users. Do anyone
have any idea why this error orcurs? I'm very new to linux, so be gentle ;-)
- Thomas
_____
_______________________________________________
Ntop-dev mailing list
Ntop-dev at unipi.it
http://listgateway.unipi.it/mailman/listinfo/ntop-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listgateway.unipi.it/pipermail/ntop-dev/attachments/20060322/c403ffa7/attachment.htm
More information about the Ntop-dev
mailing list