I need to delete a TTY in my AIX 4.3 system. I have tried using the smit but everytime I try it, there is a message telling me that the device is in use and cannot be changed. How do I take the device "offline", so to speak, so that I can edit the settings and/or delete it.
Location: Asia Pacific, Cyberspace, in the Dark Dystopia
Thanks Given: 2,351
Thanked 3,359 Times in 1,878 Posts
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
Did the detective work, but no luck -- -REAL Dummy here!!!
I ran the ps -A command to display all the processes but I did not find any process associated with the TTY that I want deleted (TTY15) A serial Terminal interface. I don't want to kill processes arbitrarily.
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)
On a fresh bare metal (no LPARs) install of AIX 7.2 running cfgmgr is returning..
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)
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)
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)
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)
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)
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)