- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- HPUX 11i error
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-09-2009 09:27 AM
тАО11-09-2009 09:27 AM
I am running HPUX 11i using CDE. I modified my /etc/profile to add in an environment variable and now I am getting this warning everytime I open a terminal window. I have since removed the env variable from the /etc/profile and the warning still appears. Any help would be appreaiated.
---------------- 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.
(specs@ACT01)[/home/specs] 367:
$
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-09-2009 09:42 AM
тАО11-09-2009 09:42 AM
Re: HPUX 11i error
So now check
.profile
.dtprofile
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-09-2009 09:49 AM
тАО11-09-2009 09:49 AM
Solution11i v1 = 11.11
(11i v1.5 = 11.20 Itanium-only, obsoleted)
(11i v1.6 = 11.22 Itanium-only, obsoleted)
11i v2 = 11.23
11i v3 = 11.31
Which environment variable did you add? (Yes, I know you think you removed it later.)
You probably logged out of CDE and then back in after adding your secret variable. Did you try logging out & back in after removing it too?
When you're using CDE, /etc/profile can be executed when logging in to CDE too. This ensures any desktop menu items will behave just the same as when started from the command line. It also allows terminal windows to start up faster because there is no need to initialize them as "full" login shells - they just inherit their environment variables from the CDE session.
The system is trying to help you - as it says, it would be important to look at the output of the "locale" command, so please copy&paste the output into this thread.
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-09-2009 10:17 AM
тАО11-09-2009 10:17 AM
Re: HPUX 11i error
I am using B11.11 and the pesky varible i added was MCS_TOOL_NUM. I logged out and back in and even rebooted. Here is the output for the locale command.
LANG=BASIC
LC_CTYPE="C"
LC_COLLATE="C"
LC_MONETARY="C"
LC_NUMERIC="C"
LC_TIME="C"
LC_MESSAGES="C"
LC_ALL=
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-09-2009 11:45 AM
тАО11-09-2009 11:45 AM
Re: HPUX 11i error
these shell start-up files to try to see who
triggers the message?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-09-2009 01:31 PM
тАО11-09-2009 01:31 PM
Re: HPUX 11i error
This is NOT a valid locale. If you want American Nerd, you need to unset the variable or use "C".
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-10-2009 01:56 AM
тАО11-10-2009 01:56 AM
Re: HPUX 11i error
LANG=BASIC on the other hand would definitely cause the locale error message. LANG is one of the environment variables defining the locale settings.
LANG is one of the standard system environment variables described in environ(5) man page:
-----
LANG
Identifies the user's requirements for native language, local customs and coded character set, if the environment variables LC_ALL, LC_COLLATE, LC_CTYPE, LC_MESSAGES, LC_MONETARY, LC_NUMERIC, and LC_TIME are unset or null.
The format of LANG is:
LANG=language[_territory][.codeset]
The valid values for LANG are supported locales. (See lang(5).)
----
And to see the full list of supported locales, you can use the "locale -a" command... just as the original error message suggested.
Apparently someone else may have added the invalid "LANG=BASIC" setting at about the same time as you added MCS_TOOL_NUM.
As Dennis said, for traditional Unix behavior and ASCII character set, you can leave the LANG completely unset, or set it to value "C" or "POSIX" - all these three alternatives should result in exactly the same behaviour.
If you wish to use UTF-8 character encoding, the appropriate value for LANG in the US would be "C.utf8" or "en_US.utf8".
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-10-2009 08:51 AM
тАО11-10-2009 08:51 AM
Re: HPUX 11i error
I am sure you are corect in that it is the LANG=BASIC that is causing the issue. Any idea how I can change that? I don't see that being defined in the /etc/profile.
-S
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-10-2009 09:10 AM
тАО11-10-2009 09:10 AM
Re: HPUX 11i error
> I am sure you are corect in that it is the LANG=BASIC that is causing the issue. Any idea how I can change that? I don't see that being defined in the /etc/profile.
As Torsten said, look too in '${HOME}/.profile' and '${HOME}/.dtprofile'.
If you don't see an obvious "LANG=" setting, make sure that one of the login profiles isn't sourcing (reading) another local configuration file that in turn is causing the mis-setting.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-10-2009 05:00 PM
тАО11-10-2009 05:00 PM
Re: HPUX 11i error
Scan your . files for the word BASIC?
Add "set -x" in your ~/.profile and see where LANG is set.