Solved

iptraff reports ip traffic monitor already listening

Posted on 2006-06-13
4
3,552 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
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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

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…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

831 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