LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices



Reply
 
Search this Thread
Old 02-07-2007, 09:37 AM   #1
Basslord1124
Member
 
Registered: Jun 2004
Location: Ashland, KY
Distribution: Debian, Puppy/Slacko
Posts: 351

Rep: Reputation: 31
weird iptraf issue....


We had a blackout the other day and unfortunately I wasn't around to shut down my Slack server correctly. The data line of the UPS is running to the other computer unfortunately. So my server took a hard nose dive I guess you can say.

And as the title says the only issue I have since the shutdown is a weird problem with iptraf. Before my server went down I had a couple instances of iptraf running which monitored the network traffic obviously. I set each instance to record different data and log it. Now, after I restarted the machine and try to open some new instances of iptraf it tells me that some instances are still running...OR if I am configuring it, it tells me only the first instance can configure it. Problem is of course, that it wasn't running before I started it up again. So it's like it's running in the background and I don't notice it (top doesn't show it). The ghost of iptraf or something. So are there any suggestions out there on how to fully kill the process? I tried reinstalling just iptraf but it still does it. Any ideas?
 
Old 02-07-2007, 09:53 AM   #2
piete
Member
 
Registered: Apr 2005
Location: Havant, Hampshire, UK
Distribution: Slamd64, Slackware, PS2Linux
Posts: 465

Rep: Reputation: 44
From http://cebu.mozcom.com/riker/iptraf/2.7/cmdline.html:

Quote:
-f

Forces IPTraf to clear all lock files and reset all instance counters to zero before running any facilities. IPTraf will then think it's the first instance of itself.

The -f parameter overrides the existing locks and counters imposed by the IPTraf process and by the various facilities, causing this instance to think it is the first and that there are no other facilities running. Use this parameter with great caution. A common use for this parameter is to recover from abrupt or abnormal terminations which may leave stale locks and counters still lying around.
Hope that helps,
- Piete.
 
Old 02-07-2007, 10:43 AM   #3
Basslord1124
Member
 
Registered: Jun 2004
Location: Ashland, KY
Distribution: Debian, Puppy/Slacko
Posts: 351

Original Poster
Rep: Reputation: 31
That fixed it. Thanks.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Weird /dev issue mixtr Slackware 3 01-19-2006 05:37 PM
a weird issue about which jiawj Red Hat 2 04-26-2005 10:06 AM
any improved version of iptraf or any other utility like iptraf..? shahg_shahg Linux - Networking 1 03-07-2005 01:58 AM
weird segfault issue FloydMorrison Linux - Software 4 01-28-2005 01:14 AM
Weird NVIDIA Issue cmckay Linux - Hardware 2 04-03-2003 08:38 AM


All times are GMT -5. The time now is 12:18 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration