Online Expert Day - HPE Data Storage - Live Now
April 24/25 - Online Expert Day - HPE Data Storage - Live Now
Read more
System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

locale variable issue on hp-ux server

gab_in
Regular Advisor

locale variable issue on hp-ux server

Any idea why the below message is displaying, when executing our application statup script and how to stop this Warning message.

Warning! One or more of your selected locales are not available.
Please invoke the commands "locale" and "locale -a" to verify your
selections and the available locales.
Continuing processing using the "C" locale.

Process [DRAGONManager] is already running....

Thanks in advance
3 REPLIES
Dennis Handly
Acclaimed Contributor

Re: locale variable issue on hp-ux server

What command is giving that warning?
What is the value of LANG? Does it show up as one of the locales when you do "locale -a"?

You may have to set LANG to American Nerd or just unset it:
export LANG=C
unset LANG
gab_in
Regular Advisor

Re: locale variable issue on hp-ux server

Thanks for the reply. Please find below the details..

var/opt/DRAGON/MANAGER/runtime>locale

Warning! One or more of your selected locales are not available.
Please invoke the commands "locale" and "locale -a" to verify your
selections and the available locales.

Continuing processing using the "C" locale.

LANG=en_US.utf8
LC_CTYPE="C"
LC_COLLATE="C"
LC_MONETARY="C"
LC_NUMERIC="C"
LC_TIME="C"
LC_MESSAGES="C"
LC_ALL=
/var/opt/DRAGON/MANAGER/runtime>ls /usr/lib/nls/msg

Warning! One or more of your selected locales are not available.
Please invoke the commands "locale" and "locale -a" to verify your
selections and the available locales.

Continuing processing using the "C" locale.

Dennis Handly
Acclaimed Contributor

Re: locale variable issue on hp-ux server

>LANG=en_US.utf8

I don't think this locale is installed on your system. As mentioned in your warning, what does "locale -a" show?
What OS version do you have?