Solved

SunOS locale issues

Posted on 2003-12-11
6
1,706 Views
Last Modified: 2013-12-27
I recently changed the locale on our 5.8 system to:
LANG=el_GR.ISO8859-7
LC_ALL=el_GR.ISO8857-7
after a previous question here. Now, after giving some commands (e.g. man) I get the "couldn't set locale correctly" message. In fact, I get it several times. Should I worry?



0
Comment
Question by:piou
  • 2
  • 2
6 Comments
 
LVL 16

Expert Comment

by:Hanno Schröder
ID: 9919633
This look like you have not installed all the required software packages for you locale.
Check with
  locale -a
if the one you need is present.
0
 

Author Comment

by:piou
ID: 9919644
I set the particular locale after checking with locale -a. It exists alright.

0
 
LVL 16

Expert Comment

by:Hanno Schröder
ID: 9933587
Getting the message indicates you don't have the message catalogs for the setting you entered. Could you try a different one and see what happens?

The complete set of locale varaibles is as follows (see also in /etc/default/init):
LC_COLLATE=C
LC_CTYPE=C
LC_MESSAGES=C
LC_MONETARY=C
LC_NUMERIC=C
LC_TIME=C
0
 

Author Comment

by:piou
ID: 9940403
There were only TZ and cMASK in the init file. I updated it as you suggested, but it didn't change a thing. I still get the same message. Just once, I even got it after a 'clear' command!

0
 
LVL 1

Accepted Solution

by:
Computer101 earned 0 total points
ID: 10002671
PAQed, with points refunded (50)

Computer101
E-E Admin
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction Regular patching is part of a system administrator's tasks. However, many patches require that the system be in single-user mode before they can be installed. A cluster patch in particular can take quite a while to apply if the machine…
Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap (http://www.tcpdump.org) Version 1.2 2.      Jpcap(http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/index.html) Version 0.6 Prerequisite: 1.      GCC …
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question