Problem
When booting or shutting down an SCO OpenServer 5.0.2 system that has PC-Interface version 5.0.9 installed, this error message appears several times:
lmfmsg: Couldn't open message file dosmsg Cause
There are two possible causes of this problem:
1. The system locale may not be fully specified in /etc/default/lang.
2. The relevant message file for the system locale may not be present on the system.
Solution
1. As root, edit the file /etc/default/lang using your preferred
text editor. The first line of this file that does not begin
with a '#' character or a blank should be a fully specified
locale name like this:LANG=C_C.Cor, if a German locale is being used, it may look like:
LANG=german_germany.8859If instead, the first line of this file looks like:
LANG=Cor:LANG=germanthen add the rest of the locale name to the file.
If you are not sure of the locale name, the locale(C) utility displays a list of all publicly available locales on your system.
2. The directory /usr/lib/pci should contain a message file which matches the system locale set in the /etc/default/lang file. The system locale is the first line in the /etc/default/lang file which does not begin with a '#' character. For instance, if the system locale is set to:
C_C.Cthen the relevant message file under /usr/lib/pci should be:
C_C.lmfIf the appropriate message file does not exist under /usr/lib/pci, then create it by copying one of the files already in that directory, for example:
ln -s /usr/pci/lib/english.lmf /usr/pci/lib/C_C.lmf