The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Operating Systems > AIX
.
google unix.com



AIX AIX is IBM's industry-leading UNIX operating system that meets the demands of applications that businesses rely upon in today's marketplace.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
fuser adrianlearnpro UNIX for Dummies Questions & Answers 8 03-11-2009 12:05 PM
help needed in fuser command anju Shell Programming and Scripting 1 02-20-2008 02:08 AM
fuser ?? Look at the script !! varungupta UNIX for Advanced & Expert Users 0 08-31-2007 07:27 AM
make fuser send SIGTERM? adamides HP-UX 4 03-08-2007 10:57 AM
Help with fuser vibhor_agarwali UNIX for Dummies Questions & Answers 11 04-18-2005 03:13 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 06-24-2005
bandaru bandaru is offline
Registered User
  
 

Join Date: Sep 2004
Posts: 12
fuser brought down the box

I issued
fuser -k -x -u ./amqcc_r

It brought down the whole box
The unix admin says if I had issued
fuser -k -x -u amqcc_r then it would have not brouht down the box.

Does it make sense to you guys
  #2 (permalink)  
Old 06-26-2005
DogDay's Avatar
DogDay DogDay is offline
Registered User
  
 

Join Date: Jun 2005
Location: /dev/null
Posts: 83
Sounds silly to me.

Did you check errpt?
Did you get a sysdump?
Did you get a core file?
Did you call IBM?
  #3 (permalink)  
Old 06-27-2005
bakunin bakunin is offline Forum Staff  
Bughunter Extraordinaire
  
 

Join Date: May 2005
Location: In the leftmost byte of /dev/kmem
Posts: 1,633
...
Did you get some errorcode on the LED-display or its respective successors (HMC, ...)?

Quote:
Sounds silly to me.
Me too. I don't think your issuing "fuser" really brought down the box. Maybe it was just coincidence and they are looking for someone to lay the blame on.

bakunin
  #4 (permalink)  
Old 07-02-2005
bandaru bandaru is offline
Registered User
  
 

Join Date: Sep 2004
Posts: 12
I tried it on a test box and that brought down the box too. I did open a PMR.
I don't have access to check the LED or go to the actual physical box.
  #5 (permalink)  
Old 07-08-2005
bakunin bakunin is offline Forum Staff  
Bughunter Extraordinaire
  
 

Join Date: May 2005
Location: In the leftmost byte of /dev/kmem
Posts: 1,633
Could you please give some additional data? I'll give the commands you could issue to determine what I'm interested in along with some sample output:

*) Maintenance level and OS

Code:
root@foobar:/ # instfix -i | grep "AIX_ML"
    All filesets for 5.1.0.0_AIX_ML were found.
    All filesets for 5100-01_AIX_ML were found.
    All filesets for 5100-02_AIX_ML were found.
    All filesets for 5100-03_AIX_ML were found.
    All filesets for 5100-04_AIX_ML were found.
    All filesets for 5100-05_AIX_ML were found.
    All filesets for 5100-06_AIX_ML were found.

*) Level of bos.rte.filesystem (the fileset containing fuser)

Code:
root@foobar:/ # lslpp -w /usr/sbin/fuser
  File                                        Fileset               Type
  ----------------------------------------------------------------------------
  /usr/sbin/fuser                             bos.rte.filesystem    File
root@foobar:/ # lslpp -l bos.rte.filesystem
  Fileset                      Level  State      Description         
  ----------------------------------------------------------------------------
Path: /usr/lib/objrepos
  bos.rte.filesystem        5.1.0.57  COMMITTED  Filesystem Administration

Path: /etc/objrepos
  bos.rte.filesystem        5.1.0.57  COMMITTED  Filesystem Administration

What you could also do is to analyse the dump the machine has written:

First, find out your dump device and make sure it is big enough to hold the dump: "sysdumpdev -e" gives an estimate how big the dump will be. Multiply that by at least 2 (out of pure paranoia and just to be on the save side). The dump will be written to the paging space so make sure it is big enough to hold that amount. During the following system startup the dump will be copied from the paging space to the designated dump-device, the manual only says it has to be a filesystem, but it hast to be in the rootvg too. Issue a "sysdumpdev -s <fs>" then to designate this location as the target device to copy the dump to at the reboot following the dump.

You could then use kdb (kernel debugger) to analyse the dump written.

bakunin
  #6 (permalink)  
Old 08-03-2005
Cranie Cranie is offline
Registered User
  
 

Join Date: Aug 2005
Posts: 16
The command you issued:

fuser -k -u -x ./file

Should not matter whether you run it with ./ or not, the command kills all processes running on that filesystem. So assuming the file was on a file system with OS commands running then you would of brought the box down.

Hope this helps.
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 01:15 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0