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 102If 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 stop2) Stop CUPS using:# /etc/rc2.d/S99cups stop3) Restart CUPs using:# /etc/rc2.d/S99cups start4) Restart NFS using:# /etc/nfs start