Ps: for kicks make sure and try a real browser, maybe from a different host.  
MAYBE the ntop http server is smart enough that if it doesn't rx a proper http 
request in n seconds it kills the connection. I don't know for sure - just a 
thought.

----- Original Message -----
From: ntop-boun...@unipi.it <ntop-boun...@unipi.it>
To: ntop@unipi.it <ntop@unipi.it>
Sent: Fri Aug 07 20:36:52 2009
Subject: Re: [Ntop] web server won't respond

Gary Gatten wrote:
>
> "Bad" is trying to connect using goofy chars/strings embedded in url.
> Try to start with "-t 5" and see if anything is logged.
>
yup; now I see more output:
Sat Aug  8 11:31:58 2009  RRD: Cycle 1 ended, 56 RRDs updated, 0.176 seconds
Sat Aug  8 11:31:58 2009  RRD_DEBUG: Sleeping for 300 seconds (interval
300, end at Sat Aug  8 11:36:58 2009)
Sat Aug  8 11:32:33 2009  IDLE_PURGE: Device 0 [eth0] FINISHED
selection, 0 [out of 27] hosts selected
Sat Aug  8 11:32:33 2009  IDLE_PURGE: Device eth0: no hosts [out of 26]
deleted


But the following produces no logged ouput:

-bash-3.00$ telnet localhost 3000
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
Connection closed by foreign host.

-bash-3.00$ sudo netstat -anp | grep 3000
Password:
tcp        0      0 0.0.0.0:3000               
0.0.0.0:*                   LISTEN      810/ntop           
tcp        0      0 127.0.0.1:3000             
127.0.0.1:37227             TIME_WAIT   -                  


I can run nc -l -p 3000 and connect to that just fine, so it's almost
certainly an ntop issue, not an OS problem.

Grr!
>
> Did you compile or using a package?
>
A package (centos)

ntop.i386                                3.3.8-2.el4.rf        
installed      


source can't compile it can't find rrd.  rrd can't compile, it can't
find cairo-ps.pc and friends, even witht eh PKG_CONFIG_PATH set properly.

I'd love to get ntop working but it's proving very stubborn!

_______________________________________________
Ntop mailing list
Ntop@unipi.it
http://listgateway.unipi.it/mailman/listinfo/ntop





<font size="1">
<div style='border:none;border-bottom:double windowtext 2.25pt;padding:0in 0in 
1.0pt 0in'>
</div>
"This email is intended to be reviewed by only the intended recipient
 and may contain information that is privileged and/or confidential.
 If you are not the intended recipient, you are hereby notified that
 any review, use, dissemination, disclosure or copying of this email
 and its attachments, if any, is strictly prohibited.  If you have
 received this email in error, please immediately notify the sender by
 return email and delete this email from your system."
</font>

_______________________________________________
Ntop mailing list
Ntop@unipi.it
http://listgateway.unipi.it/mailman/listinfo/ntop

Reply via email to