That's not what's hanging.

ntop tries to connect to the version sites (as in more than one).   If they
both fail, then s'be'it ... ntop just continues on.

So something else is going on.

You can try the option to skip the version check, but that check isn't very
sophisticated and if it's failing with that message, there's a more basic
problem with your networking setup.  Besides, it's a simple socket() call
and there aren't any failure codes that are NOT catastrophic (read man
socket):

ERRORS
       EPROTONOSUPPORT
              The protocol type or the specified protocol is not supported
within this domain.

       EAFNOSUPPORT
              The implementation does not support the specified address
family.

       ENFILE Not enough kernel memory to allocate a new socket structure.

       EMFILE Process file table overflow.

       EACCES Permission to create a socket of the specified type and/or
protocol is denied.

       ENOBUFS or ENOMEM
              Insufficient memory is available.  The socket cannot be
created until sufficient resources are freed.

       EINVAL Unknown protocol, or protocol family not available.


Best (only) bet is to run under gdb and capture the failure point
information.  Instructions are in docs/FAQ at the bottom.

-----Burton



-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
Maurizio Molina
Sent: Friday, March 18, 2005 10:26 AM
To: [email protected]
Subject: [Ntop] ntop hangs trying to contact ..../xml

Hi,
I followed the instructions in 1ST RUN.txt, but when I try to run ntop I get
the following message .........
Fri Mar 18 16:13:45 2005  THREADMGMT: Fingerprint scan thread running...
Fri Mar 18 16:13:45 2005  THREADMGMT: Idle host scan thread running...
Fri Mar 18 16:13:45 2005  THREADMGMT: Address resolution thread running...
Fri Mar 18 16:13:45 2005  CHKVER: Checking current ntop version at
version.ntop.org/version.xml Fri Mar 18 16:15:00 2005  **ERROR** CHKVER:
Unable to connect socket: 
Operation timed out(60)
Fri Mar 18 16:15:00 2005  CHKVER: Checking current ntop version at
www.burtonstrauss.com/version.xml Fri Mar 18 16:16:15 2005  **ERROR**
CHKVER: Unable to connect socket: 
Operation timed out(60)

And then it hangs.

Not that I'm running it as root, although I created a user for using it as
suggested in the 1STRUN, because othervise starting it as this user was
requestim me the user password anyway....

Thanks for any help.
Maurizio Molina

_______________________________________________
Ntop mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop

_______________________________________________
Ntop mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop

Reply via email to