Technical article 114481

When I telnet from UnixWare 7.x to OpenServer 5.x, I see this message, "libc: setlocale: LC_MONETARY: no LANG= line in /etc/default/lang."

OpenServer 5.0.5OpenServer 5.0.6OpenServer 5.0.7

Written · Last revised

Problem

When I telnet from UnixWare 7.x to OpenServer 5.x, I see the following message:

libc: setlocale: LC_MONETARY: no LANG= line in /etc/default/lang

Cause

The LANG variable defined on the UnixWare 7 server is not defined in /etc/default/lang on the OpenServer server.

Solution

Once you have logged into the OpenServer server, run the following commands:

# echo $LANG
en_GB
# LANG=C_C.C export LANG

This assumes that C_C.C is defined in /etc/default/lang.

If it is not, you will need to specify a language appropriate to your locale.

You can also run the same commands on the UnixWare 7 server before you telnet.

See also

ta105796, "Using a non-posix language causes syntax errors in /etc/default/lang at bootup."

locale(M)

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