Try to run NTOP like:
ntop -u ntop --use-syslog=daemon --no-promiscuous  --no-fc -Q /dev/shm -M -i 
"eth1,eth2,eth0" &
(adapt to your needs)
where the interesting part is >>> -Q /dev/shm
See if that will help. It did fixed my problems on fedora like a charm.

Radu

--------

Message: 1
Date: Tue, 18 Nov 2008 09:05:11 +0100
From: "Miguel A. Velasco" <[EMAIL PROTECTED]>
Subject: Re: [Ntop] warning: can't get client address: Bad file
        descriptor
To: ntop@unipi.it
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Hello all, I have the same problem with ntop in two different servers. I 
have ntop-3.3.8-1.el5 in a Centos 5.2 release.
Ntop looks work succesfully but after some minutes it crashes. In 
/var/log/messages I have something like this:

Nov 18 08:59:15 s-analyzer ntop[14534]: warning: can't get client 
address: Bad file descriptor

It repeats n times until ntop crashes....
I have been trying with different kernel versions but not succesfully.
I have the following /etc/ntop.conf:

--user root
--db-file-path /var/ntop
--interface eth0,eth1,tun0
--use-syslog=local1
--http-server 3200
--https-server 3203
--daemon

I am running at these servers a shorewall firewall, and openvpn service 
in a tun0 interface.

Please, let me know any solution.
Thanks vey much for your time.

Miguel Velasco.


King, Morgan escribi?:
>  
> 
>   I am running Ntop 3.2 on Centos 5.0.  I have installed Ntop using yum 
> and have also tried compiling it from source.  Either way in my 
> /var/log/messages I am getting the error saying
> 
>  
> 
> Ntop[6946]:  warning: can't get client address: Bad file descriptor.
> 
> Last message repeated 49 times
> 
>  
> 
> Sometimes Ntop Crashes after running for just a short time.  Other times 
> it runs for longer periods of time, the error remains. 
> 
>  
> 
> Thank  you
> 
>  
> 
>                                                                           
                                                                                
                                  
>                                                      
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Ntop mailing list
> Ntop@unipi.it
> http://listgateway.unipi.it/mailman/listinfo/ntop







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

Reply via email to