Hello all, Radu, thanks very much for your help bun I´ve started ntop as you comment and the problem continues ... I have started ntop as follows: $ntop -w 3200 -W 3203 -i eth0,eth1,tun0 -d -L -a /var/log/ntop.log -u root -Q /dev/shm
and the log in /var/log/messages when I start Ntop is the same: Nov 24 15:44:41 s-proxy ntop[32462]: THREADMGMT[t2915040144]: RRD: Throughput data collection: Thread starting [p32462] Nov 24 15:44:41 s-proxy ntop[32462]: THREADMGMT[t2915040144]: RRD: Throughput data collection: Thread running [p32462] Nov 24 15:46:21 s-proxy ntop[32462]: warning: can't get client address: Bad file descriptor Nov 24 15:46:34 s-proxy last message repeated 97 times After some minutes Ntop crash again .... I´ve been looking for an answer to this problem on internet for a long time but I´ve found the same question with no answers. Please, if someone has a solution for this problem, let me know. Thanks very much for your time. Miguel A.Velasco Radu Constantinescu escribió: > 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: [email protected] > 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 >> [email protected] >> http://listgateway.unipi.it/mailman/listinfo/ntop > > > > > > > > > _______________________________________________ > Ntop mailing list > [email protected] > http://listgateway.unipi.it/mailman/listinfo/ntop > _______________________________________________ Ntop mailing list [email protected] http://listgateway.unipi.it/mailman/listinfo/ntop
