SunOS locale issues

Posted on 2003-12-11
Last Modified: 2013-12-27
I recently changed the locale on our 5.8 system to:
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?

Question by:piou
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
LVL 16

Expert Comment

by:Hanno P.S.
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.

Author Comment

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

LVL 16

Expert Comment

by:Hanno P.S.
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):

Author Comment

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!


Accepted Solution

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

E-E Admin

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Oracle Finace 3 102
Solaris 4.1.3 cloning and booting 13 95
UNIX Script. Send email if failure 8 93
Testing site for http code 200 or curl equiv for Windows 2 97
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…
Installing FreeBSD… FreeBSD is a darling of an operating system. The stability and usability make it a clear choice for servers and desktops (for the cunning). Savvy?  The Ports collection makes available every popular FOSS application and packag…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
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.
Suggested Courses

732 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