Solved

SunOS locale issues

Posted on 2003-12-11
6
1,705 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

In tuning file systems on the Solaris Operating System, changing some parameters of a file system usually destroys the data on it. For instance, changing the cache segment block size in the volume of a T3 requires that you delete the existing volu…
A metadevice consists of one or more devices (slices). It can be expanded by adding slices. Then, it can be grown to fill a larger space while the file system is in use. However, not all UNIX file systems (UFS) can be expanded this way. The conca…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
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.

912 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now