Visit The New, Modern Unix Linux Community

Sol 10 on SUN V490: Setting LOCALE

Thread Tools Search this Thread
Operating Systems Solaris Sol 10 on SUN V490: Setting LOCALE
# 1  
Sol 10 on SUN V490: Setting LOCALE

Hi all,

We've upgraded/migrated our production server from Sol 9 on a Sun V480 to Sol 10 on a V490 server.

How do I set/change the following values on Solaris 10:

Solaris 9:
$> locale

On the Solaris 10 the current values are:
$> locale

Thys de Wet
# 2  
root@mp-wst01 # locale
root@mp-wst01 #
root@mp-wst01 # cat /etc/default/init
# Copyright 1992, 1999-2002 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#ident "@(#)init.dfl 1.7 02/12/03 SMI"
# This file is /etc/default/init. /etc/TIMEZONE is a symlink to this file.
# This file looks like a shell script, but it is not. To maintain
# compatibility with old versions of /etc/TIMEZONE, some shell constructs
# (i.e., export commands) are allowed in this file, but are ignored.
# Lines of this file should be of the form VAR=value, where VAR is one of
# TZ, LANG, CMASK, or any of the LC_* environment variables. value may
# be enclosed in double quotes (") or single quotes (').
root@mp-wst01 #

you can find your installed locales in /usr/lib/locale, or try the command "locale -a". for the current session you can set it with "export LC_ALL=<locale>"


Last edited by pressy; 10-19-2007 at 08:13 AM..
# 3  

Will do that.

Previous Thread | Next Thread
Thread Tools Search this Thread
Search this Thread:
Advanced Search

Test Your Knowledge in Computers #636
Difficulty: Easy
Apple reported that as of September 2016, there have been over 190 billion app downloads from their App Store.
True or False?

9 More Discussions You Might Find Interesting

1. Solaris

Solaris 10 1/13 & Sun Fire V490 Server

Hi Solaris/Unix Experts, I've installed Oracle Solaris 10 1/13 on a Sun Fire V490 Server via its external Serial Port using a Cisco Console Cable connected to my Laptop PC running SecureCRT terminal emulation software emulating VT100 Terminal. The Sun Fire V490 server has two on-board... (1 Reply)
Discussion started by: ssabet
1 Replies

2. Solaris

Help with Solaris 8 10/00 Installation on Sun Fire V490 Server

cat note Hi Sun Solaris Experts, When I try to install Solaris 8 10/00 OS via the Solaris 8 Installation Disk on our Sun Fire V490 Server using the command , I get: boot: cannot open kernel/sparcv9/unix which means it can't find the unix kernel file on the installation disk . By the way, I... (5 Replies)
Discussion started by: ssabet
5 Replies

3. Solaris

Reset password RSC SUN V490

Dear all Can you help me to reset RSC from Sun V490 Inside this machine the Operating System is broken.. please help guys thanks (1 Reply)
Discussion started by: gema.utama
1 Replies

4. Solaris

setting locale en_US.UTF-8

hi, I am using SOLARIS sparc 64 bit, during installation of Oracle i receive an error required OS locale en_US.UTF-8 does not exist on the installation computer. To avoid this issue, please ensure that the locale en_US.UTF-8 exists on the installation computer prior to installing Oracle. when... (4 Replies)
Discussion started by: zeeshan047
4 Replies

5. Solaris

Sun Fire V490 occasionally downs

I can't find why but I suppose it is because of some hardware failures... I have a Sun Fire V490 with Solaris 10 5/08 which runs Sun Cluster 3.2 and it downs occasionally with a circumstances I can't define... Also I note some strange behavior after server failures: when I ran any diagnostics from... (6 Replies)
Discussion started by: Sapfeer
6 Replies

6. UNIX for Dummies Questions & Answers

Disable Serials ports in Sun Fire v490

Hello people from Argentina i said you Hello. I am doing some works from an auditory. They want to disable login prompts on serial ports. Somebody knows how to do that? Thank your time. (1 Reply)
Discussion started by: enkei17
1 Replies

7. Red Hat

Setting a locale in Redhat ES 4

Hi, I am writing a shell script which would ask user to select a locale and should set the locale for them. In the script I am doing export LANG=<user selected locale> and i do 'locale' it would show me the changed locale. But, when I come out of the program and do 'locale' it... (3 Replies)
Discussion started by: eamani_sun
3 Replies

8. UNIX for Dummies Questions & Answers

Solaris 8 locale setting

Hello does anybody know how to change the LC_TIME locale on solaris 8 to dd/mm/YYYY currently it is set to. #locale -ck LC_TIME d_fmt="%m/%d/%y" Thanks (1 Reply)
Discussion started by: thangorn
1 Replies

9. Programming

Locale setting

Hi, In the sample program, I am trying to print a Japanese string. The code is as follows: main() { setlocale(LC_ALL,""); printf("String is %S\n", L"JAP"); // Note "JAP" is a valid japanese string } If locale is C, the string gets printed, but if it a valid japanese locale, it... (1 Reply)
Discussion started by: Dippan
1 Replies

Featured Tech Videos