Solved

iptraff reports ip traffic monitor already listening

Posted on 2006-06-13
4
3,503 Views
Last Modified: 2007-12-19
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
Comment
Question by:niken_asterina
  • 2
4 Comments
 
LVL 14

Accepted Solution

by:
pablouruguay earned 500 total points
Comment Utility
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
 
LVL 1

Author Comment

by:niken_asterina
Comment Utility
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
 
LVL 14

Expert Comment

by:pablouruguay
Comment Utility
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
 

Expert Comment

by:om7ar
Comment Utility
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

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now