Set Locale problem (Solaris)

Hello all,
I'm having problems to use the "pt_BR" locale at solaris. every time i try to start my weblogic with the locale set to pt_BR (LANG=pt_BR) i get an error message saying "could not set locale correctly".
Anyone here can help me ??? (PLZ!!)
Thank you

every time i try to start my weblogic with
the locale set to pt_BR (LANG=pt_BR) i get an error
message saying "could not set locale correctly".Check if the variables listed by "locale" are set to a value listed by "locale -a" otherwise you might get the error message you mentioned.
HTH Jochim

Similar Messages

  • Setting up LOCALE in solaris sparc 10

    HI,
    Please let me know how to set the locale in solaris 10, whether it need to be set at a session level or OS level to install BO XI 3.1 SP3?
    What is the language (LANG) to set if LC_ALL is en_US.UTF-8.
    Thanks in Advance,
    Mani

    You have same post in another forum. I answered this question in the other post. Please refere it there:
    http://forum.java.sun.com/thread.jspa?threadID=5265020&tstart=0

  • "couldn't set locale correctly" after jumpstart

    Hi Guru,
    I've encountered the message of
    "couldn't set locale correctly" after jumpstart install of solaris 8 in Netra Sun machine.
    I found the Java version is 1.2.2,
    may I know how can I upgrade to Java 1.4.2?
    Kindly advice.
    Thank you very much.
    Regard,
    Goon Fui

    Hi,
    Looks like the locale is not set correctly.
    You may set your environment.
    From bash shell
    bash# export LC_ALL=C
    bash# export LANG=C
    for c -shell.
    setenv LC_ALL C
    setenv LANG C
    Hope this helps.
    Regards
    Pravat
    Anytime I restart a server or perform any other
    functions in my DSCC console I get errors saying
    "couldn't set locale correctly". Everything works
    fine but I still get the errors.
    When I do a "locale" at the prompt I get the
    following:
    LANG=
    LC_CTYPE="C"
    LC_NUMERIC="C"
    LC_TIME="C"
    LC_COLLATE="C"
    LC_MONETARY="C"
    LC_MESSAGES="C"
    LC_ALL=
    Can anyone tell me what I need to do to fix this
    problem?
    Thanks,
    MattIn your m/c fonts may not have set properly

  • Error when setting locale

    Hello,
    I'm installing locale nam (en_US.UTF-8) from solaris 10 DVD as follows in a non-global zone:
    localeadm -a nam -d /cdrom/sol_10_807_sparc/s0/Solaris_10/Product
    It does install some packages and then prompts :
    No solaris3 image has been found in
    /cdrom/sol_10_807_sparc/s0/Solaris_10/Product
    Please enter the path to this image/disk, or enter 'q' to quit:
    (if this image is on CD-ROM, please mount the disk and give the path to the CD-ROM drive e.g. /cdrom/cdrom0)
    But i dont know which DVD to insert because i have only one.
    I select quit and then type locale -a:
    # locale -a
    C
    POSIX
    en_AU.ISO8859-1
    en_AU.UTF-8
    en_CA
    en_CA.ISO8859-1
    en_CA.UTF-8
    en_NZ.ISO8859-1
    en_NZ.UTF-8
    en_US
    en_US.ISO8859-1
    en_US.ISO8859-15
    en_US.ISO8859-15@euro
    en_US.UTF-8
    es
    es_MX
    es_MX.ISO8859-1
    fr
    fr_CA
    fr_CA.ISO8859-1
    iso_8859_1
    Then i set LANG and LC_ALL variables for a user to en_US.UTF-8 and i get the error:
    couldn't set locale correctly
    Please advise how to correct this. Is it due to the additional DVD required...

    thanks Pascal,
    I tried the command but still same problem:
    Checking for a solaris3 in config file
    |.|
    No solaris3 image has been found in
    /cdrom/sol_10_807_sparc/s0/Solaris_10/Product
    Please enter the path to this image/disk, or enter 'q' to quit:
    (if this image is on CD-ROM, please mount the disk and give the path to the CD-ROM drive e.g. /cdrom/cdrom0)
    any other suggestions?

  • EIS error -  "Unable to set locale for GlobalC"

    Hello all!
    I'm working with Oracle Performance Scorecard and Oracle Integration Services to generate an Essbase cube. I'm not able no generate my cube from HPS even it doesn't showing any error in the screen but in the HPS log it shows the error message "Unable to set locale for GlobalC". So, i've noticed that the problem isn't with HPS, but EIS. I decided start the EIS shell (olapicmd.exe) and the same error message was showed in the cmd prompt. Could anyone help with this issue?
    Regards,
    Rafael

    Hello!
    I've opened a SR on Oracle support. They said that EIS doesn't work on 64 bits machine
    At.
    Rafael

  • Locale problem

    Hi,
    I experience various locale problems on Solaris 10.
    One of them relates to the thousand separator of the fr_CA locale : its value is A0 (hex) rather than a space. It can be easily reproduced by the following command :
    LC_ALL=fr_CA; export LC_ALL; locale -ck LC_MONETARY | grep thousands | od -x -c | grep a0
    Solaris 10 hosts with patch 119397-06 or 119397-07 return
    0000020 703d 22a0 220a
    Systems with patch 119397-05 do not seem to be affected.
    Is anyone affected by the same problem?
    Besides that, locale -ck LC_MONETARY gives a quite different output depending on the OS version (Solaris 9 or 10) or patch level (for Solaris 10).
    Thanks in advance,
    Olivier

    bump
    using
    new Locale("ja", "JP");
    and making a new formatted date gives me
    2007/03/23
    for japan
    and
    March 23, 2007
    for US_EN
    so it makes me think its missing some translations, any idea how to get the translations into the whatever so this works?

  • Locale problems

    Hi,
    I'm on a fresh installed Arch-X86_64/KDE.
    In order to maintain the main English (US) language, and add (initially missing) capability to display file names in Hebrew as well I:
    1. Created a /etc/locale.gen file (didn't exist initially) with:
    #en_US ISO-8859-1
    en_US.UTF-8
    #he_IL.UTF-8    UTF-8
    #he_IL    ISO-8859-8
    2. As root, ran locale-gen and rebooted.
    Now, I get the desired Hebrew file names, yet, running local yields some errors (see below).
    How can I fix this?
    Thanks
    -----------output of locale-----------
    $ locale
    locale: Cannot set LC_CTYPE to default locale: No such file or directory
    locale: Cannot set LC_MESSAGES to default locale: No such file or directory
    locale: Cannot set LC_ALL to default locale: No such file or directory
    LANG=en_US.UTF-8
    LC_CTYPE="en_US.UTF-8"
    LC_NUMERIC="en_US.UTF-8"
    LC_TIME="en_US.UTF-8"
    LC_COLLATE="en_US.UTF-8"
    LC_MONETARY="en_US.UTF-8"
    LC_MESSAGES="en_US.UTF-8"
    LC_PAPER="en_US.UTF-8"
    LC_NAME="en_US.UTF-8"
    LC_ADDRESS="en_US.UTF-8"
    LC_TELEPHONE="en_US.UTF-8"
    LC_MEASUREMENT="en_US.UTF-8"
    LC_IDENTIFICATION="en_US.UTF-8"
    LC_ALL=

    Hello,
    I have also been experiencing locale problems.  I've taken a look at all file contents, re-installed glibc, all with no impact.  Below, I've included contents of relevant files, copy and pasted from the files.
    rc.conf:
    LOCALE="en_US.UTF-8"
    DAEMON_LOCALE="yes"
    locale.gen:
    en_US.UTF-8 UTF-8
    en_US ISO-8859-1
    re-install of glibc:
    (1/1) upgrading glibc [######################] 100%
    Generating locales...
    en_US.UTF-8... done
    en_US.ISO-8859-1... done
    Generation complete.
    So I did some additional investigation. 
    /etc/locale.gen
    mentions
    /usr/share/i18n/locales
    and
    /usr/share/i18n/charmaps
    So I took a look at their contents:
    cd /usr/share/i18n/charmaps
    ls UT*
    UTF-8.gz
    cd ../locales
    ls en_U*
    en_US
    I do not see a file named
    en_US.UTF*
      Should there be?

  • How to set local currency in AR/Invoice through DI API SAP B1?

    Dear Expert,
    I am using DI API to add AR/Invoice document, but I can't find how to set local currency for BP with foreign currency.
    This my code snip :
            oSO = oCompany.GetBusinessObject(BoObjectTypes.oInvoices)
            oSO.DocDate = dtpPostDate.Value
            oSO.DocDueDate = dtpDueDate.Value
            oSO.TaxDate = dtpDocDate.Value
            oSO.Series = cSeries
            oSO.DocNum = txtNumber.Text
            oSO.DocCurrency = doccur
            oSO.CardCode = txtBP.Text
            oSO.CardName = txtName.Text
            oSO.ContactPersonCode = cntctCode
            oSO.JournalMemo = txtRemarks.Text
            For i = 0 To dgv.RowCount - 2
                oSO.Lines.SetCurrentLine(i)
                oSO.Lines.ItemCode = dgv.Item(0, i).Value
                oSO.Lines.ItemDescription = dgv.Item(2, i).Value
                oSO.Lines.Quantity = dgv.Item(4, i).Value
                oSO.Lines.Price = dgv.Item(5, i).Value
                oSO.Lines.DiscountPercent = dgv.Item(6, i).Value
                oSO.Lines.TaxCode = dgv.Item(7, i).Value
                oSO.Lines.LineTotal = dgv.Item(9, i).Value
                oSO.Lines.Currency = doccur
                oSO.Lines.Add()
            Next
            lRetCode = oSO.Add()
            If lRetCode <> 0 Then
                oCompany.GetLastError(lErrCode, sErrMsg)
                MsgBox(sErrMsg, 16, "Attention")
            Else
                MsgBox("Operation completed successfully.", 64, "Information")
             End If
    When trying to Add, system show error message " Enter valid currency code [OINV.DocCur][Line:1], '$' "
    I am not lucky after trying for a day , wish enlightenment from the experts here, Thank you.
    My machine : SAP B1 9 PL 4
    Best Regards,
    Muh.Ulfah

    Hi
    In the other thread I suggested that you can add document using interface first because there is a possibility that B1 doesn't accept this currency code not because you set it improperly in your code but because of some other reason, for example this currency is not valid for this particular business partner. Despite the fact that this way you can eliminate other possible problems you can also use DI to save an existing document as XML and check what is the actual currency code that B1 itself placed in the document lines object.
    Afterwards you can again try to add document using DI.
    btw
    check this thread:
    How to set local currency in sales order for BP with foreign currency through DI?
    Kind regards,
    Radek

  • Perl and locale problem

    hi,
    i have that problem: when launch mimeopen (perl application) i get this warning
    [mattia@arch-desktop ~]$ mimeopen /tmp/test.txt
    perl: warning: Setting locale failed.
    perl: warning: Please check that your locale settings:
    LANGUAGE = (unset),
    LC_ALL = (unset),
    LANG = "it_IT.utf8"
    are supported and installed on your system.
    perl: warning: Falling back to the standard locale ("C").
    any ideas on how solve it ?
    thanks

    same as before:
    [mattia@arch-desktop ~]$ locale -a
    locale: Cannot set LC_CTYPE to default locale: No such file or directory
    locale: Cannot set LC_MESSAGES to default locale: No such file or directory
    locale: Cannot set LC_COLLATE to default locale: No such file or directory
    C
    POSIX
    en_GB.utf8
    [mattia@arch-desktop ~]$ locale
    locale: Cannot set LC_CTYPE to default locale: No such file or directory
    locale: Cannot set LC_MESSAGES to default locale: No such file or directory
    locale: Cannot set LC_ALL to default locale: No such file or directory
    LANG=it_IT.utf8
    LC_CTYPE="it_IT.utf8"
    LC_NUMERIC="it_IT.utf8"
    LC_TIME="it_IT.utf8"
    LC_COLLATE="it_IT.utf8"
    LC_MONETARY="it_IT.utf8"
    LC_MESSAGES="it_IT.utf8"
    LC_PAPER="it_IT.utf8"
    LC_NAME="it_IT.utf8"
    LC_ADDRESS="it_IT.utf8"
    LC_TELEPHONE="it_IT.utf8"
    LC_MEASUREMENT="it_IT.utf8"
    LC_IDENTIFICATION="it_IT.utf8"
    LC_ALL=
    [mattia@arch-desktop ~]$ cat .bashrc
    # ~/.bashrc
    # If not running interactively, don't do anything
    [[ $- != *i* ]] && return
    PS1='[\u@\h \W]\$ '
    # Aliases
    alias rm='rm -v'
    alias rmdir='rmdir -pv'
    alias cp='cp -v'
    alias mv='mv -v'
    alias mkdir='mkdir -pv'
    alias df='df -hT'
    alias grep='grep --color=auto'
    alias ls='ls -alh --color=auto'
    alias upp='yaourt -Syu --aur'
    alias rem='sudo pacman -R'
    alias inst='sudo pacman -S'
    alias instu='sudo pacman -U'
    alias yy='yaourt'
    alias aur='yaourt -G'
    alias build='makepkg -s PKGBUILD'
    alias abs='mkdir abs && cd abs && ABSROOT="." abs'
    alias rmsvn='find . -depth -name .svn -type d -exec rm -fr {} \;'
    alias isomount='mount -o loop'
    alias wget='wget -c'
    alias ping='ping -c 5'
    alias nethogs='sudo nethogs eth0'
    alias mkvmerge-gui='mmg'
    alias lsusb.py='lsusb.py -c'
    alias pkgfile='pkgfile -gv'
    alias htop='htop -s PERCENT_CPU'
    alias chown='chown -R -v'
    alias chgrp='chown -R -v'
    alias chmod='chmod -R -v'
    alias swapoff='swapoff -v'
    alias swapon='swapon -v'
    alias pkgfile='sudo pkgfile'
    # Export variables
    if [ -n "$DISPLAY" ]; then
    export BROWSER='firefox'
    export EDITOR='geany'
    export VISUAL='geany'
    else
    export BROWSER='links'
    export EDITOR='nano'
    export VISUAL='nano'
    fi
    export WINEPREFIX="$HOME/.wine-office10/"
    export WINEARCH='win32'
    export WINEDLLOVERRIDES='winemenubuilder.exe=d'
    export _JAVA_OPTIONS='-Dawt.useSystemAAFontSettings=lcd -Dswing.aatext=true -Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel'
    # Complete
    complete -cf sudo
    complete -cf man
    complete -cf info
    complete -cf pkill
    complete -cf kill
    complete -cf killall
    complete -cf gdb
    complete -cf time
    complete -cf watch

  • WDDOINIT - SET LOCAL LANGUAGE out of parameter

    Hello,
    What I want to do is set the local language with an URL param.
    I tried two way which ended in a dead end.
    1. Read the param in the default handler:
    - In the Default handler it is possible to read params out of the URL
    - But it seams that it is to late to set the language with SET LOCALE LANGUAGE at this time
    2. Set Param in mehod WDDOINIT
    - When I set the language hardcoded in this method all works fine (textalias from otr will be displayed in correct language)
    - Bu it seams that there is no possibility to read the param in this method
    Does anybody have an idea how can I solve this Problem?
    Thanks

    Hm, it depends when you instantiate the corresponding texts in your Webdynpro Component.
    The "default handler" is the "HANDLEDEFAULT" method of the Window?
    This is called very late in the instantiation of the Component. The default texts should be read at this time.
    It may be a solution to build a WebDynpro-Component as framework that instantiates the needed Component after the Inbound is handled.
    (You can do this by defining your WDC as usage in the framework WDC.)
    Then you change the language by the imported URL-parameter in the frameworks-Inbound handler method.
    Then instantiate the embedded WDC (the one containing your application logic).
    This should then use your newly set language settings.

  • Setting locale before mounting local filesystems

    I have this problem when mounting an NTFS partition:
    http://www.ntfs-3g.org/support.html#locale
    I have figured out that the problem is that the locale is set after mounting the partitions (it is the last reason listed on the support question above).  Is there a way I can have the locale be set before mounting those partitions?  I figured it may be in /etc/rc.sysinit but don't know much about that file, so don't want to mess it up (as I have before).
    I know there is an option to set "locale=" in /etc/fstab, but I think the above solution would be better since it would work across the board with all the generated locales.

    Yes, I had all the locales set, and that's not the problem.  The problem is that the filesystem is mounted prior to the locale being set during boot (as mentioned in the link I posted).
    I  have set the "locale=en_US.utf-8" setting in /etc/fstab and it works, so it isn't really a big problem.  But I originally thought that I would need to set it as de_DE.utf8 to be able to read umlauts and what not, but it works with the en_US locale set under fstab.
    I was trying to find a solution without having to set "locale=" in fstab, but since the English worked, I'm OK with that.

  • Is it possible to set  Local Currency - INR in SAP B1 8.81

    Hi,
    In SAP B1 Version  8.81 , i have taken Type -Chart of Accounts - as Global
    and  Localization - United Kingdom  And just tell me is it possible to set
    Local Currency - INR in SAP B1 8.81

    Hi,
    You can set any currency till the time there is no transactions in the database.
    Please do remember that the on selection of the Localization UK, the legal aspects and the tax law pertaining to the UK will be applicable and also you have to check for the exchange rate calculation based on settings (direct/indirect).
    Also, taking INR as LC will lead to INR being the main currency and hence the reports generation and reconciliation of all the Multi-Currency will be performed in the Lead Currency.
    All the Best.
    Kind Regards,
    Jitin
    SAP Business One Forum Team

  • How "not to set locale " in user's profile?

    In the "Oracle Universal Content Management 11gR1 Differences between 11gR1 and 10gR3" document
    http://www.oracle.com/technology/products/content-management/ucm/diffsbetween10gand11g.pdf
    says:
    "If locale is not set in a user’s profile, Content Server can pick that up from a HTTP header variable."
    However, how do I "not to set locale " in user's profile? it appears as a dropdown list and there is no option to enter null.
    Thanks

    Hi there,
    What you're changing is per-user but those options are set in the Utilities->System Properties applet
    Here's how you change it:
    Go to the System Properties applet:
    UNIX: Start the System Properties utility by running the System_Properties script, which is located in the bin subdirectory of the Stellent Content Server installation directory.
    Windows: From the Windows Start menu, select Programs -> Content Server Content Server -> [Instance Name] -> Utilities -> System Properties.
    Then once the System Properties applet is started:
    # Open the Localization tab.
    # In the list of locales, you can Disable the locales you have here or maybe a new option with 11g will show up.
    # When you are done, click OK to apply the setting and exit System Properties.
    # Restart each instance of the content server.
    Cheers,
    malky

  • My home button is working intermittantly. Have Restored setting. still problem. Any ideas?

    my home button is working intermittantly. Have Restored setting. still problem. Any ideas?

    Did you actually restore the iPad? Or just restore settings?
    If you haven't "restored" the iPad...
    iTunes: Backing up, updating, and restoring your iPhone, iPad, or iPod touch software
    If a restore doesn't work...  >   Apple - Support - iPad - Hardware Service

  • Oracle to Mysql character set conversion problem!!! PLZ IGNORE

    Hi Experts,
    I have created a database link from Oracle 10g to Mysql 5.
    I have installed Oracle Gateway 11g for this purpose.
    When i retreive the data from sql plus the text is displayed as question marks.
    Oracle 10g Database character set is WE8MSWIN1252
    Mysql character set --->latin1
    Character set of ODBC connector for mysql is  latin7
    Character set in the parameter file of HS folder is WE8MSWIN1252When i retrieve data from sql developer the text is fine(as i think it directly takes the character set of target) but
    when i login from sqlplus i get question marks!
    I have another post in Heterogeneous Connectivity forum
    Re: Oracle to Mysql character set conversion problem!!! PLZ HELP
    Kindly update your comments there,
    @@@@@@@@@@@@@@2
    Appreciate your help,
    regards
    Edited by: user10243788 on Apr 21, 2010 3:25 AM

    It is OK to post a globalization-related question in this forum in addition to the forum pertaining to the main technology. Not all experts follow all possible forums on OTN. Of course, you should cross-link the posts to let people merge the answers.
    Regarding the problem itself, make sure that SQL*Plus has the right NLS_LANG setting in the environment. On Windows, in the Command Prompt:
    C:\> set NLS_LANG=.WE8PC850
    C:\> sqlplus ...On Unix:
    $ setenv NLS_LANG .WE8ISO8859P1   (or NLS_LANG=.WE8ISO8859P1; export NLS_LANG)
    $ sqlplus ...-- Sergiusz

Maybe you are looking for

  • Windows xp / new mac book pro

    I have just upgraded from a 13"Macbook black to a new 15'' pro. I need to install boot camp with windows xp as i use this as a platform for some lighting software that wont run on vista or 7. when i use the boot camp assistant, it makes no mention of

  • Modified NT CWS - Gateway Issue

    I am attempting to build a modified NT CWS for a special situation I have. I have a series of HTML documents, stored in a root folder. Several of these documents contain hyperlinks to other files that are stored in a sub-folder of the HTML documents.

  • Nokia asha 310 hotmail configuration

    Hey, just bought a nokia asha 310 and must say not really impressed with it and need lot of help. 1. i want to make my hotmail work on the phone and it keeps saying wrong account or wrong password, try again, but i am using the correct hotmail and pa

  • Play multiple MovieClips videos in sequence

    Hi, I've multiple videos stored as MovieClip objects and would like to merge them into a single MovieClip video object in order to play all of them in sequence (so that a user thinks it's a single longer video). Is it possible? Thanks a lot!

  • Bug?  Rated photos won't laod on 5G iPod

    Does anyone else have this issue. I posted earlier about problems getting all my photos on my ipod and only unrated photos got loaded. So I got home and put no rating on all those same photos and they loaded. Can anyone else confirm this?