(In the future, DO NOT send screen captures - do the work for us of grabbing
the lines and pasting them as text into the message - many people won't open
image files from people they don't personally know)

That's part of a block of error handing code...

      if(errno == EPIPE /* Broken pipe: the  client has disconnected */) {
        traceEvent(CONST_TRACE_ERROR, "EPIPE during sending of page to web
client");
#ifndef WIN32
      } else if(errno == ECONNRESET /* Client reset */) {
        static econnresetcount=0;
        econnresetcount++;
        if(econnresetcount < 10)
          traceEvent(CONST_TRACE_WARNING, "ECONNRESET during sending of page
to web client");
        else if(econnresetcount == 10)
          traceEvent(CONST_TRACE_WARNING,
                     "ECONNRESET during sending of page to web client
(skipping further warnings)");
#endif
      } else if(errno == EBADF /* Bad file descriptor: a
                                   disconnected client is still sending */)
{
        traceEvent(CONST_TRACE_ERROR, "EBADF during sending of page to web
client");
      } else {
        traceEvent(CONST_TRACE_ERROR, "errno %d during sending of page to
web client");
      }

And the 'oops, I don't recognize that code' part too...

(1) What OS?

(2) Is that code interpretable in any way? This is the block:

#ifdef HAVE_OPENSSL
    if(myGlobals.newSock < 0) {
      rc = SSL_write(getSSLsocket(-myGlobals.newSock),
&theString[bytesSent], len);
    } else
      rc = send(myGlobals.newSock, &theString[bytesSent], (size_t)len, 0);
#else
    rc = send(myGlobals.newSock, &theString[bytesSent], (size_t)len, 0);
#endif

So the ? Is what are the return values for send().  That's not a simple
question - usually they are given as names (e.g. EBADF) and you have to
skulk around in the OS' source to find the equivalences...




Try running w/ trace very noisy (-t 6) so we can see what text is causing
the problem:

      traceEvent(CONST_TRACE_VERYNOISY, "Failed text was %d bytes, '%s'",
strlen(theString), theString); 


-----Burton


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
Gabriele Buratti
Sent: Tuesday, March 28, 2006 7:44 AM
To: [email protected]
Subject: [Ntop] error 70185544

Hi list !
I'm getting the error 70185544 and ntop stucks. (see the screenshot) Any
hints ?

        Kind regards
        Gabriele

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

Reply via email to