Technical article 107713

I cannot connect to my OSES 5.0.x system after running commands "lli stop lli start" while logged in via modem.

OpenServer 5.0.0OpenServer 5.0.2OpenServer 5.0.4

Written · Last revised

Problem

While logged in to my SCO OpenServer 5.0.x system via modem, I run the commands:

# lli stop
# lli start

I am unable to connect again via modem. A subsequent cu attempt with the x9 option will result in the following:

altconn called Device Type ACU wanted lockname(/usr/spool/uucp/LCK..tty1a) File exists: link(/usr/spool/uucp/LTMP.6057, /usr/spool/uucp/LCK..tty1a) ulockf file /usr/spool/uucp/LCK..tty1a Lock File--process still active--not removed ungetty(/usr/spool/uucp/LCK..tty1a) lockfile '/usr/spool/uucp/LCK..tty1a' open lock pid = 560 mlock tty1A failed getto ret -1 Connect failed: DEVICE LOCKED call cleanup(1) call _mode(0)

Cause

The commands "lli stop" and "lli start" have caused the dlpid process to take control of the modem control port. It should release it but it does not, so getty is unsuccessful in a subsequent attempt at a login.

Normally, the command  "ps -ef | grep tty1A" would result in the
following:
root   548     1  0   Sep-09       ?    00:00:00 /etc/getty -t60 tty1A m
root  8167  8157  3 10:02:42   ttyp1    00:00:00 grep tty1A
If you run the command "ps -ef | grep dlpid" you will see that the
process has taken control of the port.

Solution

To work around this, go to a non-serial tty and run the commands:

# lli stop
# lli start

From the Xinuos technical article database, record 107713. Reproduced with permission. The original is at www.sco.com/ta/107713, which is reachable but blocked from search engines. Xinuos marks this article against a retired product line. That refers to the product’s lifecycle, not to whether the advice still works — plenty of it still applies to running systems.

Next step

Need this fixed rather than explained?

Tell us the release, what the system runs and what it is doing. We will reply by email with what we would do next.

  • You deal with the people who do the work
  • No obligation, and no upgrade required before we will help
  • We tell you plainly if something is not worth doing

Send an enquiry

We reply by email. If a server is down, say so in the first line. You can also write to help@scoexpert.com.