Problem
I installed OpenServer 5.0.4 and chose a non-POSIX language such as english_us.ascii. At startup, error messages similar to the following are displayed:
libc:setlocale:LC_TYPE::LANG= syntax error /etc/default/lang
FATAL_ERROR: see /usr/lib/sco/oadb/caldata/calsrvlog.I followed the instructions in TA105237, "I changed system locale and now the calendar server does not start", but this did not help.
Solution
Do _not_ use the workaround detailed in TA105237, which is intended for SCO OpenServer Release 5.0.0 and 5.0.2. The format of the file /usr/adm/ISL/iqm_file has changed in OpenServer 5.0.4.
Instead, take these steps:1. Log in as root.2. Using your preferred text editor, edit the default language system locale file /etc/default/lang so that first line without the # looks like the following:
LANG=C_C.C3. Using your preferred text editor, edit the calendar server startup file /etc/rc2.d/P95calserver and add the following lines, just after the comments that begin with #.
LANG=C_C.C
export LANG4. Bring up the system in multiuser mode.
NOTE: If you want your system to run in a foreign language
(such as German) and during installation you choose the
posix LANG de_DE.ISO8859-1, the calendar server will work
without problem. However, if you choose to change the LANG
to either posix or non-posix, the P95calserver will need to
be amended. See also
TA105237, "I changed system locale and now the calendar server does not start."