Technical article 127587

SCO OpenServer 5.0.7V: StartListening: Unable to bind socket for address 000000:631 - Address already in use

OpenServer 5.0.7

Written · Last revised

Problem

Sometimes when I boot my OpenServer 5.0.7V Virtual Machine running on Microsoft Hyper-V the CUPS printer daemon fails to start with the error:

child process terminated with status 102

If I look in the /var/log/cups/error_log log file I see:

StartListening: Unable to bind socket for address 000000:631 - Address already in use

Solution

The problem occurs sometimes when booting an SCO OpenServer 5.0.7V Virtual Machine on a Microsoft Hyper-V platform.

The problem occurs because the NFS Lock Manager daemon, lockd(NADM) binds to port 631 before cupsd(8) has started.

This problem has been reported to SCO Engineering.

To workaround the problem do the following as root:

1) Stop NFS using:
# /etc/nfs stop
2) Stop CUPS using:
# /etc/rc2.d/S99cups stop
3) Restart CUPs using:
# /etc/rc2.d/S99cups start
4) Restart NFS using:
# /etc/nfs start

From the Xinuos technical article database, record 127587. Reproduced with permission. The original is at www.sco.com/ta/127587, which is reachable but blocked from search engines.

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.