Solved

iptraff reports ip traffic monitor already listening

Posted on 2006-06-13
4
3,616 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 14

Accepted Solution

by:
pablouruguay earned 500 total points
ID: 16893463
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
ID: 16901673
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
ID: 16901858
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
ID: 24174284
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

Secure Your WordPress Site: 5 Essential Approaches

WordPress is the web's most popular CMS, but its dominance also makes it a target for attackers. Our eBook will show you how to:

Prevent costly exploits of core and plugin vulnerabilities
Repel automated attacks
Lock down your dashboard, secure your code, and protect your users

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…

687 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