Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Getting 'Device Locked' connecting to a modem

Status
Not open for further replies.

ddthomas00

Technical User
Aug 16, 2002
3
US
I am trying to configure a Hayes Accura modem on a server running 4.1.3. When I issue the command cu -ml tty1, I get a message saying 'Connection Failed- Device Locked'. Any ideas of what this menas? Have changed cables, switched modem, ran diags on the port...all seems well.

Thans in advance!
DThomas
 
The "cu -ml tty1" command returns "Cannot Access Device" or "Device Locked"

The response will be Cannot Access Device or Device Locked.
This means some other process has control of the tty. To find out what
the process is, type from the command line:

ps -ef | grep tty1

If the process is a getty, run pdisable tty1.

If it is some other process, run kill -9 <process id>.

NOTE: Some processes must not be stopped with the -9 option (i.e. slattach), take the appropriate steps to kill the process if slattach
process and free the port.
 
Using kill -9 on slattach has the possibility to hang a system so don't use the -9. Also, there is a possibility there is a lock file, and I cannot remember the entire path, but I believe it is under /etc/uucp/devices. You can remove the lock file if it exists.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top