Sponsored Content
Full Discussion: Dleting a Device in AIX 4.3
Top Forums UNIX for Dummies Questions & Answers Dleting a Device in AIX 4.3 Post 1010 by Neo on Friday 2nd of February 2001 02:26:37 PM
Old 02-02-2001
The 'device in use' error comes from the fact that there is a process running which has an open/active file descriptor associated with the device. You must determine the process(es) which is(are) associated with the device and kill it(them).

If the device is a tty then you have to determine which tty is in use (mouse, modems, console, logins, etc) and make sure when you kill the process that you are not killing the shell you are working in. For example, if you are at a console and logged in to the system, you cannot kill that tty. If you do, you will be kicked off, because your shell process (associated with the tty) will die.

Enjoy the detective work! It not too hard of a detective-problem and should be rewarding finding out which TTYs are associated with what process Smilie
 

7 More Discussions You Might Find Interesting

1. AIX

Telnet disconnects on handheld device AIX

I have intermec handheld device which is connecting to AIX Server on port 12431 or whatever. ( oracle application ) The handheld device connects for few seconds and then disconnects from the AIX server. Once it disconnects the handheld device automatically switches off. Are there any... (2 Replies)
Discussion started by: filosophizer
2 Replies

2. AIX

rmdev won't remove disk device AIX

Hi all, I'm attempting to remove some EMC hdisk devices which we recently had made available to one of our backup servers. This is an AIX 5.3 server. When I try doing an rmdev I get the following: root@********:/dev# rmdev -d -l hdisk495 Method error (/usr/lib/methods/ucfgdevice): ... (2 Replies)
Discussion started by: C.J.Hund
2 Replies

3. Red Hat

Unable To Activate Ethernet Network Device in RHEL 5.5 - e100 device eth0 does not seem to be presen

Hi All, Could anyone please help to resolve the below problem. I installed RHEL5.5 in my desktop.But when i try to activate the ethernet connection then it gives me the error. I spent 2 days for the above and go through with several suggestion found by googling. But no luck. ... (0 Replies)
Discussion started by: Tanmoy
0 Replies

4. HP-UX

Failed to open tape device /dev/rmt/0mn:Device busy (errno = 16)

Hi, Unable to make tape backup, please help. /opt/ignite/bin/make_tape_recovery -a /dev/rmt/?mn -I -v -m tar -x inc_entire=vg00 * Creating local directories for configuration files and archive. ======= 04/25/16 16:28:08 IST Started /opt/ignite/bin/make_tape_recovery. (Mon... (4 Replies)
Discussion started by: anuragr
4 Replies

5. AIX

AIX dump device not showing accurate size

I am trying to configure dump devices on my AIX server. Running 7100-03-04-1441. My dump device needs to be about 2GB in size. My PP Size is 1024MB, so I create the device with 2 PPs. When I run lslv on the dump device, it shows the 2 PPs, and a PP Size of 1024 megabytes. However, a dumpcheck... (4 Replies)
Discussion started by: paqman
4 Replies

6. AIX

AIX 7.2 - Error initializing a device into the kernel.

On a fresh bare metal (no LPARs) install of AIX 7.2 running cfgmgr is returning.. # cfgmgr Method error (/usr/lib/methods/cfgstorfworkcom -l sfwcomm2 ): 0514-040 Error initializing a device into the kernel. Method error (/usr/lib/methods/cfgstorfworkcom -l sfwcomm3 ): ... (1 Reply)
Discussion started by: c3rb3rus
1 Replies

7. AIX

AIX - NIC device explanation need

Hello, I have some doubt about the NIC device on my AIX box. When using lsdev command / > lsdev -Cc adapter | grep en ent0 Available 03-00 2-Port 10/100/1000 Base-TX PCI-Express Adapter (14104003) ent1 Available 03-01 2-Port 10/100/1000 Base-TX PCI-Express Adapter (14104003) ent2... (11 Replies)
Discussion started by: Phat
11 Replies
SHOWCONSOLE(8)						       The SuSE boot concept						    SHOWCONSOLE(8)

NAME
Showconsole - determines the underlying tty of stdin Setconsole - sets the underlying tty of /dev/console SYNOPSIS
showconsole [-n] setconsole /dev/tty<xy> < /dev/console DESCRIPTION
showconsole determines the underlying character device of the current stdin. This can be used on /dev/console as current character device to get the real character device back. setconsole sets the underlying tty of the system console /dev/console. This requires that the standard input is identical with /dev/con- sole and exactly one argument, a valid character device is given. OPTIONS
-n Return the major and minor device numbers instead of the device file name. This can be used to asked the kernel for the major and minor device numbers of a not existing device file in /dev. BUGS
showconsole needs a mounted /proc file system and tries to set the controlling tty to stdin if no controlling tty is found. After reading /proc the status of the controlling tty is restored to avoid problems with getty processes. FILES
/proc/<pid of showconsole>/stat the stat file of the showconsole process. /dev/console the system console. SEE ALSO
blogd(8), console(4), tty(4), proc(5). COPYRIGHT
2000 Werner Fink, 2000 SuSE GmbH Nuernberg, Germany. AUTHOR
Werner Fink <werner@suse.de> 3rd Berkeley Distribution Nov 10, 2000 SHOWCONSOLE(8)
All times are GMT -4. The time now is 03:51 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy