[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Sheflug] Process locking
> I Have another problem!
>
> I have been trying to run a packet radio program called TNT, but when I try
> logged in as root, all I get is an error message:
>
> Device /dev/ttyS0 is locked by process 621
>
> When logged in as myself, the same error message, but the process is 1438.
>
> What are these processes, and how do I unlock them?
>
> The ttyS0 permissions are Owner: root, Group uucp. I have added myself (users)
> to the uucp group.
>
ps auwx | grep 621 (or 1438) :-)
They're just other processes running making use of the port. If things are
more problematic and you can't trace it, "lsof /dev/ttyS0" or "fuser -v
/dev/ttyS0" will reveal the process using the device (generally speaking, I
prefer lsof - I sometimes have problems with fuser reporting back the right
data)
Find out what they are, decide if you want it running, and if not:
kill <pid>
eg,
kill 621
That should do the job :)
Chris...
--
Chris Johnson \ "If not for me then, do it for yourself. If not
sixie@nccnet.co.uk \ for then do it for the world." -- Stevie Nicks
www.nccnet.co.uk/~sixie/ ~---------------------------------------+
Redclaw chat - http://redclaw.org.uk - telnet redclaw.org.uk 2000 \______
---------------------------------------------------------------------
Sheffield Linux User's Group - http://www.sheflug.co.uk
To unsubscribe from this list send mail to
- <sheflug-request [at] vuw.ac.nz> - with the word
"unsubscribe" in the body of the message.
GNU the choice of a complete generation.