Summary:: Port /dev/term/b is busy

From: Raj, Dilip <DRaj_at_gi.com>
Date: Fri Aug 10 2001 - 12:13:56 EDT
Original message:
================
Sun Gurus,

When I do
 
# tip /dev/term/b   

It says all Ports are busy.

Is there anyway to clear it without rebooting it.
**************************************************
I got a bunch of responses. Special thanks to

Modrego K. SBD [ModregoK@bancsabadell.com]
safuan@frontline.com.my
Wyman Eric Miles [wymanm@is.rice.edu]
ed.rolison@power.alstom.com
Sun Tech Engineer.
**************************************************
SOLUTION:
========
1.	Check if any tip sessions are running. Kill that sessions 
	# ps -ef | grep tip
	# fuser /dev/term/b. or fuser /dev/cua/b You can find any process
"tip".  or do a fuser -c /dev/term/a or b...
2.	Install "lsof" to list all files, processes.
3.	Check /var/spool/locks file for the Process ID.
4.	Disable to delete port monitor using admintool, then recreate it. 
5.	We did also run "devlinks" and "ports", still no results.

Note:	I end up rebooting it as none of the aboe fixed it. Looks like one
of the < defunct> process was holding the ports, and I did not know how to
get rid off the <defunct> process. If any one knows how to clean the defunct
process, please let me know.

I got a good response from Sun Engineer.
Please check Doc Id# 14672
Or 
Check the following Web site, it has a bunch of information about serial
ports.
http://www.riddleware.com/solx86/
********************************

Thanks.

Dilip
Received on Fri Aug 10 17:13:56 2001

This archive was generated by hypermail 2.1.8 : Wed Mar 23 2016 - 16:25:01 EDT