Sponsored Content
Operating Systems Solaris Sol 10 on SUN V490: Setting LOCALE Post 302140651 by dewets on Monday 15th of October 2007 05:32:54 AM
Old 10-15-2007
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
LANG=
LC_CTYPE=en_US.ISO8859-1
LC_NUMERIC=en_US.ISO8859-1
LC_TIME=en_US.ISO8859-1
LC_COLLATE=en_US.ISO8859-1
LC_MONETARY=en_US.ISO8859-1
LC_MESSAGES="en_US.ISO8859-1"
LC_ALL=en_US.ISO8859-1

On the Solaris 10 the current values are:
$> locale
LANG=
LC_CTYPE="C"
LC_NUMERIC="C"
LC_TIME="C"
LC_COLLATE="C"
LC_MONETARY="C"
LC_MESSAGES="C"
LC_ALL=

Thanx
Thys de Wet
 

9 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

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. 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

7. 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

8. 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

9. 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
LOCALE.CONF(5)							    locale.conf 						    LOCALE.CONF(5)

NAME
locale.conf - Configuration file for locale settings SYNOPSIS
/etc/locale.conf DESCRIPTION
The /etc/locale.conf file configures system-wide locale settings. It is read at early-boot by systemd(1). The basic file format of locale.conf is a newline-separated list of environment-like shell-compatible variable assignments. It is possible to source the configuration from shell scripts, however, beyond mere variable assignments, no shell features are supported, allowing applications to read the file without implementing a shell compatible execution engine. Note that the kernel command line options locale.LANG=, locale.LANGUAGE=, locale.LC_CTYPE=, locale.LC_NUMERIC=, locale.LC_TIME=, locale.LC_COLLATE=, locale.LC_MONETARY=, locale.LC_MESSAGES=, locale.LC_PAPER=, locale.LC_NAME=, locale.LC_ADDRESS=, locale.LC_TELEPHONE=, locale.LC_MEASUREMENT=, locale.LC_IDENTIFICATION= may be used to override the locale settings at boot. The locale settings configured in /etc/locale.conf are system-wide and are inherited by every service or user, unless overridden or unset by individual programs or individual users. Depending on the operating system, other configuration files might be checked for locale configuration as well, however only as fallback. OPTIONS
The following locale settings may be set using /etc/locale.conf: LANG=, LANGUAGE=, LC_CTYPE=, LC_NUMERIC=, LC_TIME=, LC_COLLATE=, LC_MONETARY=, LC_MESSAGES=, LC_PAPER=, LC_NAME=, LC_ADDRESS=, LC_TELEPHONE=, LC_MEASUREMENT=, LC_IDENTIFICATION=. Note that LC_ALL may not be configured in this file. For details about the meaning and semantics of these settings, refer to locale(7). EXAMPLE
Example 1. German locale with English messages /etc/locale.conf: LANG=de_DE.UTF-8 LC_MESSAGES=en_US.UTF-8 SEE ALSO
systemd(1), locale(7), systemd-localed.service(8) systemd 208 LOCALE.CONF(5)
All times are GMT -4. The time now is 06:29 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy