09-11-2009
Ajouter la langue en_US sur Solaris 10
Bonjour,
J'ai une station Sun en Solaris 10 installe par defaut en Francais.
Je n'ai pas les Cds de cette installation d'OS.
J'ai un logiciel qui doit utiliser la langue en_US.
A la baniere de connection la langue choisi est C (pas de en_USxxxx disponible)
J'ouvre une console $LANG vaut C, si je tape sh pas de message, si LANG=en_US j'ai le message "couldn't set locale correctly"
-> Cela donne
Sun Microsystems Inc. SunOS 5.10 Generic January 2005
# echo $LANG
C
# sh
# LANG=en_US
couldn't set locale correctly
je penses qu'il faut :
modifier /etc/default/init qui contient actuellement
TZ=Europe/Paris
CMASK=022
LC_COLLATE=fr_FR.ISO8859-1
LC_CTYPE=fr_FR.ISO8859-1
LC_MESSAGES=fr
LC_MONETARY=fr_FR.ISO8859-1
LC_NUMERIC=fr_FR.ISO8859-1
LC_TIME=fr_FR.ISO8859-1
et virer tous LC_*
et installer le package de LANG en.US-UTF-8 avec un pkgadd .....
j'oublie quelque chose ?
Et surtout quel package ?
Merci d'avance
10 More Discussions You Might Find Interesting
1. HP-UX
salut admin,
Normalement mon serveur doit voir un de mes LDEV à partir de deux chemins sur le SAN et ainsi lui attribuer seulement deux Target LUNs. Or il lui en a attribué 8!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Très bizzare!
Auriez vous une idée.
Merci pour votre aide appréciée (2 Replies)
Discussion started by: hmaiida
2 Replies
2. AIX
please someone provide me the link for downloading en_us.utf-8 .....i have an issue with locale for which i need this :( (1 Reply)
Discussion started by: shubhendu.pyne
1 Replies
3. Solaris
Hy together,
I doesn't find a table of en_US.IS08859-1. Have someone a link or same else?
Thanks
Urs (1 Reply)
Discussion started by: MuellerUrs
1 Replies
4. Solaris
Hi,
I am looking to install en_US.UTF-8 on to a solaris 10 Sparc server. Is it possible to install this character set from the iso image? I have an iso image only (sol_10_u.iso) on CD.
I have used the command below but with no success. Any pointers to get this installed would be greatly... (5 Replies)
Discussion started by: gwhelan
5 Replies
5. Solaris
Hello,
I have a Sun Solaris 10 installs by default in French.
I do not have CDs of the OS installation.
I have a program use the language en_US.
At connection language chosen is C (en_USxxxx not available)
I open a console $ LANG C
if LANG = en_US I get "could not set correctly local" ... (2 Replies)
Discussion started by: XRay
2 Replies
6. Virtualization and Cloud Computing
Bonjour,
Tout est dans la question. Est-il possible de migrer des vm's de type Linux-VServer sur une infrastructure ESX ?
En d'autres termes, j'aimerai récupérer chaque vm individuellement puis me débarrasser de la technologie Linux-VServer. Ainsi toutes mes vm's seraient sur ESX.
Merci... (1 Reply)
Discussion started by: fiss
1 Replies
7. Shell Programming and Scripting
I'm parsing around 600K xml files, with roughly 1500 lines of text in each, some of the lines include Chinese, Russian, whatever language, with a bash script that uses
cat $i | xmlstarlet sel -t -m "//section1/section2/section3/section4/section5" -v "@VALUE" -n > somefile
which works, but I... (15 Replies)
Discussion started by: unclecameron
15 Replies
8. Shell Programming and Scripting
1) Comment utiliser les commandes shelll unix pour recherche sur windows vista, est-ce possible et dans ce cas comment
2) comment exécuter un .ksh ou .bat sous putty, j'ai essayé mais je reçois le message
ksh: ./: 0403-006 Execute permission denied. lors de la commande ./ testx
Merci d'avance (5 Replies)
Discussion started by: infosuni0309
5 Replies
9. Solaris
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
10. AIX
Upon doing an lslpp -L | grep ssh I notice the following package is missing:
openssh\.msg\.en_US - Open Secure Shell Messages
I would like to know what exactly does this package do, and is it needed.
It does not appear to be necessary as I can connect to my AIX boxes just fine without it.
... (4 Replies)
Discussion started by: busi386
4 Replies
LEARN ABOUT OPENSOLARIS
locale.conf
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.
/etc/vconsole.conf is usually created and updated using systemd-localed.service(8). localectl(1) may be used to alter the settings in this
file during runtime from the command line. Use systemd-firstboot(1) to initialize them on mounted (but not booted) system images.
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), localectl(1), systemd-localed.service(8), systemd-firstboot(1)
systemd 237 LOCALE.CONF(5)