/etc/default/init LANG Setting Not Working


 
Thread Tools Search this Thread
Operating Systems Solaris /etc/default/init LANG Setting Not Working
# 8  
Old 11-16-2015
Okay, so that pointed me in the right direction. My terminal is sending the en_US.UTF-8 LANG setting.

What was curious the same configuration didn't produce the same results on the old server. What I found was that the old server didn't have the en_US.UTF-8 locale installed. So the terminal was attempting to set it but it wasn't accepted on the other side and dropped to the C locale by default.

Code:
bash-3.2# locale -a
C
POSIX
en_CA
en_CA.ISO8859-1
en_CA.UTF-8
en_US
en_US.ISO8859-1
en_US.ISO8859-15
en_US.ISO8859-15@euro
es
es_MX
es_MX.ISO8859-1
es_MX.UTF-8
fr
fr_CA
fr_CA.ISO8859-1
fr_CA.UTF-8
iso_8859_1

The new server has the locale after installing the North America (nam) region from disk. Doesn't look like I can remove en_US.UTF-8 without removing the entire nam region according to localeadm. Had the same trouble when attempting to just install en_US. I had to install all of nam.

Guess I just need to override it in the profiles for the application. Thanks for your help guys.
Login or Register to Ask a Question

Previous Thread | Next Thread

7 More Discussions You Might Find Interesting

1. AIX

Undestanding LANG setting in /etc/environment

Hi All, We had issue with a application which reports process counts in log, application used to log process counts as Integer data type (1500). One fine morning we started seeing process counts in application log as Decimal (1,500). Our UNIX admin did investigate and figured-out that... (5 Replies)
Discussion started by: Aaron Boyce
5 Replies

2. Red Hat

init-script failing because of /etc/rc.d/init.d/functions

I encountered a problem on one of our database servers. OS: CentOS 5.5 final Kernel: 2.6.18-238.5.1.el5.028stab085.2 (OpenVZ kernel) We wrote some DB-Start/Stop-scripts ("/db2/admin/scripts_dba/start_services.ksh" and ".../stop_services.ksh") to start the database instances. (Database... (1 Reply)
Discussion started by: bakunin
1 Replies

3. Debian

Iomega ix2-200 Custom Debian - Autostart script in init.d not Working

!!Hello Everyone!! I Recently purchased a Iomega iX2-200 NAS that runs a custom debian installed by Iomega (Linux Debian 5.0.2 ( 2.6.22.18 armv5tejl)) . I have SSH access. I installed Transmission since the factory installed torrents manager that Iomega uses is terrible. Transmission-daemon... (1 Reply)
Discussion started by: stejimenez
1 Replies

4. Linux

How to I change init levels after typing init 1

Dear all, I typed in init 1 on my redhat box as root and according to wikipedia (http://en.wikipedia.org/wiki/Runlevel): 1 Single-User Mode Does not configure network interfaces, start daemons, or allow non-root logins So now I can't connect back to it. How do I change the init back to 3?... (8 Replies)
Discussion started by: z1dane
8 Replies

5. UNIX for Dummies Questions & Answers

Setting the $LANG info needed

Hello (Very New to UNIX -Solaris 10) I'm trying to set the LANG variable to C but not sure if it's getting set, need some help on this. Currently I have it set to en_GB.UTF-8 I need to set it to C for an install. but when I run set LANG=C and then run echo $LANG its still set to... (2 Replies)
Discussion started by: deedaz
2 Replies

6. Solaris

Solaris 10 - init stops working

I have a really strange issue on Solaris 10 running on v490. I'm running Oracle 10g on the box. Everything runs fine and all of a sudden I get a call from a DBA. I check and none of the Oracle processes are running. They were definitely running after the system booted and nobody stopped them. I try... (0 Replies)
Discussion started by: GKnight
0 Replies

7. AIX

Setting Variables not working

Hi all, I am trying to set up some variables in a shell script. The variables contain values of various paths needed to run a java module. The problem is the variables dont seem to be setting at all. here is what i am trying to do : JAR_HOME=/home/was5/bdcms/scheduledjobs/lib export... (1 Reply)
Discussion started by: rpandey
1 Replies
Login or Register to Ask a Question
KBDMAP(1)						    BSD General Commands Manual 						 KBDMAP(1)

NAME
kbdmap, vidfont -- front end for syscons and vt SYNOPSIS
kbdmap [-K] [-V] [-d | -default] [-h | -help] [-l | -lang language] [-p | -print] [-r | -restore] [-s | -show] [-v | -verbose] DESCRIPTION
The kbdmap utility allows easy setting of available keymaps. The vidfont command allows the setting of fonts. Both examine a database for the keymaps and fonts. Descriptions are in English by default, but may also be in other languages. These programs are interactive and expect to run in a terminal to get required input (e.g., a keymap selection) from the user. It is strongly recommended to not choose MSDOS codepage keymaps or fonts. Use the ISO standard version if available! X11 does not support MSDOS codepage. The following options are available: -K Run as command kbdmap. -V Run as command vidfont. -d, -default Use default language. Ignore LANG environment variable. -h, -help Print options and exit. -l, -lang language Use language for description and menu. -p, -print Print description of available keymaps or fonts to stdout and exit. -r, -restore Load default font from /etc/rc.conf. -s, -show Show currently supported languages and exit. -v, -verbose More warnings. ENVIRONMENT
LANG preferred language FILES
/usr/share/syscons/keymaps/INDEX.keymaps /usr/share/vt/keymaps/INDEX.keymaps database for keymaps /usr/share/syscons/fonts/INDEX.fonts /usr/share/vt/fonts/INDEX.fonts database for fonts /etc/rc.conf default font /usr/local/share/locale/locale.alias describe common LANG values SEE ALSO
dialog(1), kbdcontrol(1), vidcontrol(1), syscons(4), vt(4), kbdmap(5), rc.conf(5) HISTORY
The kbdmap and vidfont commands appeared in FreeBSD 2.1. AUTHORS
Wolfram Schneider <wosch@FreeBSD.org> wrote the original Perl version. The current version was rewritten in C by Jonathan Belson <jon@witchspace.com> for FreeBSD 5.0. BUGS
The kbdmap and vidfont utilities work only on a (virtual) console and not with X11. BSD
July 3, 2002 BSD