SUMMARY "couldnt set locale correctly"

From: Datareactor <talha_at_worldcall.net.pk>
Date: Fri Oct 03 2003 - 09:54:31 EDT
Thanks who replyed

Alerks
omer

the following solution solved my problem

Thanks

./DR


_____________________________________________________________________________
___________________________
-----------------------------------------------------------------------------
-------------------------------------


How to view the current locale setting

----------------------------------------------------

# locale
LANG=en_US
LC_CTYPE= "en_US"
LC_NUMERIC= "en_US"
LC_TIME= "en_US"
LC_COLLATE= "en_US"
LC_MONETARY= "en_US"
LC_MESSAGES= "en_US"
LC_ALL=en_US



How to change the locale setting


----------------------------------------------------

* Via the CDE login locale

* As a user-specific locale

* As a system default locale

To change the current locale setting, first confirm that the desired locale is
installed on the system with:

# locale -a
de
en_AU
en_CA
en_UK
C

If the desired locale is not in the list, you will need to install the
appropriate packages for that locale. See the Note below for more information
about locale packages.



How to change the locale via the CDE login locale


----------------------------------------------------

On the CDE login banner:
Choose options - languages
Under languages - choose the new locale
The CDE banner will re-cycle and then you can login to the selected locale.

NOTE: If a user has a different default locale set in their environment, the
that locale setting will override the selected CDE login locale.



How to set a user-specific locale


----------------------------------------------------

Note:

For sh, ksh:
# LANG=C; export LANG
# LC_ALL=C; export LC_ALL

Example:
# LANG=C; export LANG
# LC_ALL=C; export LC_ALL


For csh:
# setenv LANG C
# setenv LC_ALL C

Example:
# setenv LANG C
# setenv LC_ALL C

Note: To set a default locale for a user's environment, set the LANG or LC_*
variables in a user's shell intialization file such as $HOME/.profile or
$HOME/.cshrc

How to change the locale by setting the system default locale


----------------------------------------------------

LANG=C
LC_ALL=C

Example from the /etc/default/init file:

# Lines of this file should be of the form VAR=value, where VAR is one of
# TZ, LANG, or any of the LC_* environment variables.
LANG=C
LC_ALL=C

Note: The system must be rebooted after making changes to the
/etc/default/init file in order for the changes to take effect.

How to verify the locale setting

----------------------------------------------------

After setting or changing the locale, verify that the locale is set correctly:

Check if the locale is set correctly by running the locale command without any
options:

# locale
LANG=C
LC_CTYPE= "C"
LC_NUMERIC= "C"
LC_TIME= "C"
LC_COLLATE= "C"
LC_MONETARY= "C"
LC_MESSAGES= "C"
LC_ALL=C




----- Original Message -----
From: Datareactor
To: sunmanagers@sunmanagers.org
Sent: Tuesday, September 30, 2003 8:23 PM
Subject: "couldnt set locale correctly"



Dear List-


i have installed solaris 9 on Ultra sparc E250
but after i try to boot the system i get following error:

"starting rpcbind couldnt set locale correctly"

i am able to boot in command line only i try to start /etc/init.d/dtlogin
start

i get same error as mention above.

any suggestions ?


Regards

./DR
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
Received on Fri Oct 3 09:54:26 2003

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:43:23 EST