Have a Question?
Print

00894: Installing PRO/5, ” syntax error in /etc/default/lang file”

Title:

Installing PRO/5, ” syntax error in /etc/default/lang file”

Description:

Installing PRO/5 on a SCO 5.0.6 server , during the install received error messages that included: 

libc: set locale: LC_CTYPE: syntax error in /etc/default/lang 
libc: set locale: LC_NUMERIC: syntax error in /etc/default/lang 
libc: set locale: LC_TIME: syntax error in /etc/default/lang 


The same errors occurred when starting PRO/5.

Resolution:

The locale environment isn’t setup correctly and needs to be corrected at the O/S level. 

1. It’s probable that adding the following line (if it doesn’t already exist) to the /etc/default/lang file, the error will go away: 
LANG=en_US.ISO8559-1 

At the O/S prompt, type: 
        locale 

The following should be returned: 
        LANG=C_C.C 
        LC_CTYPE=”C_C.C” 
        LC_COLLATE=”C_C.C” 
        LC_TIME=”C_C.C” 
        LC_NUMERIC=”C_C.C” 
        LC_MONETARY=”C_C.C” 
        LC_MESSAGES=”C_C.C” 
        LC_ALL= 

2. Some other things to check for would be: 

        no leading spaces in the /etc/default/lang file 
        no extra spaces at the end of ANY of the lines prior to a return 
        no unprintable characters in the file. 

Use od -c to check file, characters like \m are unacceptable in the file and is indication of corruption.



Last Modified: 11/08/2002 Product: PRO/5 Operating System: SCO UNIX

BASIS structures five components of their technology into the BBx Generations.

Table of Contents
Scroll to Top