Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 3716
  • Last Modified:

iptraff reports ip traffic monitor already listening

Dear experts,
I’m using Linux Slackware 10.1 as a gateway and firewall , and iptraff to monitor the traffic. Now I can monitor to all eth, but if I want to monitor for only eth1, it will give a report “ ip traffic monitor already listening on eth1”. It will not appear if I only monitor eth0.
Is it conflict to the iptables ?

Regards,
Niken Asterina
0
niken_asterina
Asked:
niken_asterina
  • 2
1 Solution
 
pablouruguayCommented:
i think you have a iptraf running in background

make a ps -aux |grep iptraf
if you have a process running kill them and restart the iptraf -i eth1

iptables can't manage this is not a problem with iptables i think is a problem with iptraf
0
 
niken_asterinaAuthor Commented:
I check ps -aux, but there is no iptraf.
I try to delete file iptraf-ipmon.tag.eth1 in directory /var/run/iptraf
I don't know why there is a file over there but
it solve my problem
Thanks for your information

Regards
Niken Asterina
0
 
pablouruguayCommented:
ahh ok, this file is the lock file, maybe you run iptraff and when you kill, the soft don't kill the pid file
0
 
om7arCommented:
I had the same problem, ps aux|grep found nothing and after trying to find the lock file I found this 100% working solution (I applied RTFM):

run iptraf -f, which recovers program from abnormal shutdowns by its own ;-)

Here is a part of man pages:
-f          - Clear all locks and counters.  Use with great caution.
              Normally used to recover from an abnormal termination.

Hope it helps somebody.
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now