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
LVL 1
niken_asterinaAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
pablouruguayConnect With a Mentor Commented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.