Technical article 105301

PC-Interface gives lmfmsg errors at startup and shutdown.

OpenServer 5.0.2

Written · Last revised

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.C

or, if a German locale is being used, it may look like:

LANG=german_germany.8859

If instead, the first line of this file looks like:

LANG=C
or:
LANG=german

then 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.C

then the relevant message file under /usr/lib/pci should be:

C_C.lmf

If 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

From the Xinuos technical article database, record 105301. Reproduced with permission. The original is at www.sco.com/ta/105301, 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.