About locale problem Plz help me

Who knows how solve this problem?
which file to edit can solve??
Help~~
thanks...........
Last edited by zqyking (2010-05-19 17:11:31)

the root home dir is:
[root@maschine ~]# ls -al
total 784
drwxr-x--- 20 root root 4096 May 20 02:02 .
drwxr-xr-x 21 root root 4096 May 19 04:15 ..
-rw------- 1 root root 151 May 20 00:32 .Xauthority
drwx------ 3 root root 4096 May 19 15:44 .adobe
-rw------- 1 root root 5198 May 20 01:45 .bash_history
drwxr-xr-x 3 root root 4096 May 19 15:22 .cache
drwxr-xr-x 6 root root 4096 May 19 20:09 .config
drwx------ 3 root root 4096 May 19 14:35 .dbus
-rw------- 1 root root 26 May 19 14:35 .dmrc
drwxr-xr-x 3 root root 4096 May 19 14:04 .emacs.d
drwx------ 3 root root 4096 May 20 00:32 .gconf
drwx------ 2 root root 4096 May 20 01:44 .gconfd
drwx------ 3 root root 4096 May 19 20:54 .gftp
drwx------ 3 root root 4096 May 19 14:35 .gnupg
drwxr-xr-x 2 root root 4096 May 19 14:35 .gstreamer-0.10
drwx------ 6 root root 4096 May 19 14:46 .kde4
drwxr-xr-x 3 root root 4096 May 19 14:35 .local
drwx------ 3 root root 4096 May 19 15:44 .macromedia
drwx------ 4 root root 4096 May 19 15:24 .mozilla
drwxr-xr-x 2 root root 4096 May 19 20:09 .mplayer
drwx------ 4 root root 4096 May 19 21:08 .thumbnails
-rw------- 1 root root 602382 May 20 02:08 .xsession-errors
drwxr-xr-x 2 root root 4096 May 19 15:25 Desktop
drwxr-xr-x 2 root root 4096 May 19 17:52 down
-rw-r--r-- 1 root root 42136 May 20 00:44 erro.png
-rwxr-xr-x 1 root root 7288 May 19 16:41 name
-rw-r--r-- 1 root root 435 May 19 16:40 name.c
-rw-r--r-- 1 root root 66 May 19 16:33 name.pl
-rw-r--r-- 1 root root 66 May 19 16:31 name.py
and flow the bash --verbose:
[root@maschine ~]# bash --verbose
# /etc/bash.bashrc
# This file is the systemwide bashrc file. While most of the
# environment is preserved when running an interactive shell
# the PS[1-4] variables, aliases and functions are reset.
# When running a non-login shell, apply the following settings:
# - Prompt defaults (PS[1-4], PROMPT_COMMAND)
# - bash_completion if it exists
# - source /etc/bash.bashrc.local
PS1='[\u@\h \W]\$ '
PS2='> '
PS3='> '
PS4='+ '
export PS1 PS2 PS3 PS4
if test "$TERM" = "xterm" -o \
"$TERM" = "xterm-color" -o \
"$TERM" = "xterm-256color" -o \
"$TERM" = "rxvt" -o \
"$TERM" = "rxvt-unicode" -o \
"$TERM" = "xterm-xfree86"; then
PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME%%.*}:${PWD/$HOME/~}\007"'
export PROMPT_COMMAND
fi
[ -r /etc/bash_completion ] && . /etc/bash_completion
[ -r /etc/bash.bashrc.local ] && . /etc/bash.bashrc.local
echo -ne "\033]0;${USER}@${HOSTNAME%%.*}:${PWD/$HOME/~}\007"
is also /etc/bash.bashrc

Similar Messages

  • ADF locale problem plz help

    I am using ADF to develop a multilingual application
    I have a problem with locale in Dialogs,
    In index page I placed two buttons , one for english and the other for arabic,I used the following code
    FacesContext ctx = FacesContext.getCurrentInstance();
    UIViewRoot uiRoot = ctx.getViewRoot();
    Locale locale = new Locale("ar");
    uiRoot.setLocale(locale);
    which works pretty fine with normal JSF navigation with redirect false
    but when using dialog (Ex: Dialog:FAQ) , it is not working.
    I tried to set the locale property of view tag in dialog JSF to be an attribute of managed bean but it did not work also
    Please help

    I don't see that error, but you could make the custom page lifecycle code more defensive by changing lines 37-47 of CustomFacesPageLifecycle.java from:
          for (ControlBinding cb : (List<ControlBinding>)lfContext.getBindingContainer().getControlBindings()) {
            if (cb instanceof JUCtrlListBinding) {
              JUCtrlListBinding lb = (JUCtrlListBinding)cb;
              // If the list has a translatable null value
              if (lb.hasNullValue()) {
                // Force the list of values for the list binding to be recalculated
                // so that the null value text will be in the new locale.
                ((JUCtrlListBinding)cb).setValueList(null);
          }to this instead:
          if (lfContext.getBindingContainer() != null) {
          for (ControlBinding cb : (List<ControlBinding>)lfContext.getBindingContainer().getControlBindings()) {
            if (cb instanceof JUCtrlListBinding) {
              JUCtrlListBinding lb = (JUCtrlListBinding)cb;
              // If the list has a translatable null value
              if (lb.hasNullValue()) {
                // Force the list of values for the list binding to be recalculated
                // so that the null value text will be in the new locale.
                ((JUCtrlListBinding)cb).setValueList(null);
        }I'm not familiar with working in right-to-left locales myself, so not sure if that will present any additional issues.
    I just wanted you to see a working example of a two-locale solution which you hopefully can then evolve if needed to ensure that it works for the specific two locales you need to support.

  • Hi, Please tell me how can I send the Music Videos to the I Pod From the Computer, I'm so upset about this problem, Please help me ASAP.

    Hi, Please tell me how can I send the Music Videos to the I Pod From the Computer, I'm so upset about this problem, Please help me ASAP.

    Here:
    iTunes 11 for Mac: Set up syncing for iPod, iPhone, or iPad
    or
    iTunes 11 for Windows: Set up syncing for iPod, iPhone, or iPad

  • Audio Clip problem plz help..

    There is some problem with my code. It is actually for simply playing a wav file.
    It gives errors on two lines....
    import java.awt.*;
    import java.awt.event.*;
    import java.io.*;
    import javax.swing.*;
    public class MediaPlayerDemo extends JFrame
         AudioClip clip; //Error Here
         public MediaPlayerDemo(String title)
              super(title);
         clip = getAudioClip(getCodeBase(),"access.wav"); //Error Here
         clip.loop();
         public static void main(String args[])
              MediaPlayerDemo m = new MediaPlayerDemo("Title");
              m.setSize(400,400);
              m.setVisible(true);
    }

    "Audio Clip problem plz help"
    You have to learn to help yourself.
    Have you done anything to try to fix the errors yourself?
    AudioClip clip; //Error Here
    the error generated here is self-explanatory.
    if you can't fix this, you should get a good book on java basics and start again.
    the other error is also easy to fix.

  • Classpath problem plz help me

    hi!
    i am unable to run my RMI server program .Name of My server class is SumServer.java,it implements SumInterface.java all the files(.class,.java and stub) are at location c:\javaprog\rmi\sum.
    I have not put them in any package.
    value of classpath is
    classpath=c:\jdk1.4\lib;.;c:\javaprog\rmi\sum
    i go in sum folder and run the program
    c:\javaprog\rmi\sum > SumServer
    it gives me following exception.plz help me out.
    Thx in advance.
    Exception occur.Unable to register serverjava.rmi.ServerException: RemoteExcepti
    on occurred in server thread; nested exception is:
    java.rmi.UnmarshalException: error unmarshalling arguments; nested excep
    tion is:
    java.lang.ClassNotFoundException: SumServer_Stub

    Deepa lakshmi wrote:
    Hi,
    Am new to weblogic.
    Am using the tools are,
    Weblogic8.1 version
    MySql5.0,mysql-connector-java-3.1.12-bin.jar file
    While test configuration of connection pooling am getting the error is "JDBC Driver is not on the classpath".
    How can i solve this problem
    plz help me
    regards
    DeepaEdit the start-weblogic script. Near the bottom, you will see
    lines that create a CLASSPATH for the weblogic server. Add a
    script line that adds the mysql driver to the classpath there.
    Joe

  • Problem PLZ Help me

    Hi Guys,
    I have a problem to make a developer application Client/Server.
    When i install forms Runtime on the Client`s computer and i open the application, i get the error that he can`t find the menu and the libraries.
    The menu path is for example on my computer F:\s3\Salesmenu
    But on the client it can be a different path an then he can`t find the menu.
    Now the properties for the main form are:
    Menu module f:\s3\Salesmenu
    Initial menu Salemenu
    Does anyone know how to fix this problem for example:
    1) by let the program search for the menu.
    2) .....
    Plz Help
    Vincent

    set your FORMS60_PATH on the client to Formspath;libpath;menupath so it looks in every dir named in the path.

  • Big Problem, PLZ HELP

    So, when i click on the itunes shortcut, which has the same icon as the Apple Software Updater, I get a box that says that iTunes has encountered a problem and needs to close. We are sorry for the inconvenience. I hit send once and sent the error report, and then restarted my computer to see if that would help. It didnt, so, now i cant access itunes this is a major problem cause i have all my songs on this computer. I also tried to plug in my ipod and see if that would make it load.
    I installed iTunes 7.0 on my laptop, the exact same way, and i works on my laptop, but not on my computer.
    PLZ HELP ME

    ok this is what i did when that happened to me. i uninstalled quicktime then went here: http://www.apple.com/quicktime/win.html and reinstalled the latest version :0)

  • Very Weird Problem plz help!!

    Here's what happened:
    Every night before I go to bed, I charge my iPhone 3g. Last night I plugged it in to charge it,
    and I made sure that it saidmitnwas charging before I went to sleep. When I went to unplug it this morning, it said that the battery was only at 20% left. I checked the plug ( where usb
    plug plugs into wall adapter), and it wasn't fully plugged in. This is where it gets weird.
    I pushed the USB ug fully into the wall adapter, it came up saying it was fully charged,
    and I unplugged it from the wall outlet. I keep the charger in a place where myself or
    nothing else would have been able to unplug it. It seems to be working fine now, but this was really weird.
    It said it had only 20% battery life left, and then one second later it was fully charged.
    Plz help me!

    possibly the screen had frozen during a display, or hadbeen about to display the 20% status and froze. It still took the full charge and the displayed an action in its cache memory that was no longer accurate hence it then flicked to showing full charge.

  • Creating user problem----- plz help

    Hii for all....
    I am using oracle 11g . I created a user as student like below....
    SQL> CREATE USER student IDENTIFIED by learn
    2 DEFAULT TABLESPACE users
    3 TEMPORARY TABLESPACE temp;
    User created.
    SQL> grant connect , resource to student;
    Grant succeeded.
    SQL> conn
    Enter user-name: student
    ERROR:
    ORA-00604: error occurred at recursive SQL level 1
    ORA-01830: date format picture ends before converting entire input string
    ORA-06512: at line 2
    Warning: You are no longer connected to ORACLE.
    Plz help me how to connect the student User..........

    Thnaks you "ordba " .................
    Can you please explain what is link between the logon trigger and the user creation......
    my trigger code is below.........
    SQL> CREATE OR REPLACE PROCEDURE foo (c VARCHAR2) AS
    2 BEGIN
    3 INSERT INTO audit_table (user_at) VALUES(c);
    4 END;
    5 /
    Procedure created.
    SQL> CREATE OR REPLACE TRIGGER logontrig AFTER LOGON ON DATABASE
    2 -- Just invoke an existing procedure. The ORA_LOGIN_USER is a function
    3 -- that returns information about the event that fired the trigger.
    4 CALL foo (ora_login_user)
    5 /
    Trigger created.

  • Nokia n79 problem Plz Help!

    Hello!My nokia just stuck,or hang in(i dont now english good) but i cant do enything.Evry button just dont work only at start when i write my pi(and somethimes then too).Works only power button.Its weard.Plz help.Somethimes a whole day are no problems somhetimes a whol day.

    hey ivee n everyone else .. i'm facing the same problem.. n i need to fix this problem myself..
    my n79 gets hang constantly nowadays.. i've used this phone for 1 year plus now so warranty's no more..... none of the buttons on the keypad works when it gets hang.. onli the power button is functioning.. now it's gettin worse .. it even hangs before i insert my pincode... i cant sms, call , or anything.. it hangs after i pressed a few buttons..
    so ivee u've fixed ur n79 youself right..? umm.. can u explain to me wat a smallboard is? is that the board at the lower part of the keypad where u can see buttons underneath the white layer? and is that board expensive?
    pls reply asap anyone.. urgent

  • N79 hanging problem plz help....

    while unlocking the keypad of my n79 sometimes the phone gets hanged then i have to take the battery out and then again switch on the phone........plz help me how to get rid of this problem???

    I have also same problem with my Nokia N79, I just cancelled sensor for automatic themes from cover. Just open back cover & stick some paper or plastic cello tape on four hole marks of covers wich r sensor for automatic themes to change colour of back cover same as theme colour. From 2 days I feel my mobile working fine without hanging ! so try it, all the best.

  • Bluetooth connection problem plz help...

    hi everyone, just bought a new pearl 9105. everything works fine and even bluetooth... through which i can transfer data from blackberry to other mobiles(samsung,sony ericsson)... but the problem is i could not recieve data from other mobiles.i should get contacts list from the other mobiles... but due to this problem i couldnt. plz help me out..

    The best way to receive a file from another device via bluetooth is to go to Media, then press Menu, choose Receive Using Bluetooth, waiting for connection will be display, then send from the other device. It should work without hassle.

  • Applet problem plz HELP

    Hi all,
    I have a problem when I am trying to run a jar file from an applet. The jar is for remote desktop application. Jrdp.jar.
    And the Exception is���.
    Exception in thread "Thread-6" java.security.AccessControlException: access denied (java.util.PropertyPermission gnu.posixly_correct read)
    at java.security.AccessControlContext.checkPermission(Unknown Source)
    at java.security.AccessController.checkPermission(Unknown Source)
    at java.lang.SecurityManager.checkPermission(Unknown Source)
    at java.lang.SecurityManager.checkPropertyAccess(Unknown Source)
    at java.lang.System.getProperty(Unknown Source)
    at gnu.getopt.Getopt.<init>(Getopt.java:617)
    at gnu.getopt.Getopt.<init>(Getopt.java:581)
    at net.propero.rdp.Rdesktop.main(Rdesktop.java:290)
    at net.propero.rdp.applet.RdpThread.run(RdpApplet.java:190)
    can any one suggest me what I have to do???? Plz give your valuable suggestion in that matter. Should I have to do any thing in java.policy file. In that case what would be the syntax and what have allow. If possible plz help me out.
    Thanking you,
    With regards
    Shibaji Sabyal

    Try googling on how to sign your applet. The error you're getting can usually be solved by signing it.

  • Package Problem : Plz help

    I've make two classes named First.java and Second.java in e:\javafiles\test\vg folder
    package vg;
    public class First
              public int m = 100;
              public int n = 200;
    package vg;
    public class Second
              public static void me0()
                   System.out.println("Stupid cant u see the value of m is zero");
              public static void mgrn()
                   System.out.println("Yaar m is greater than n");
              public static void neven()
                   System.out.println("The value of n is Even");
    and a Third class
    import vg.*;
    public class Last
              public static void main(String robert[])
                   Second d = new Second();
                   First f = new First();
                   if(f.m==0)
                        d.me0();
                   if(f.m>f.n)
                        d.mgrn();
                   if((f.n%2)==0)
                        d.neven();
                   else
                        System.out.println("The value of n is Odd");
    Now the problem is that if I put the Last.java at e:\javafiles\test and compile it , it works fine but if I put the Last.java anywhere else e.g at e:\javafiles and try to compile it it does not works and gives error
    E:\JavaFiles>javac Last.java
    Last.java:1: package vg does not exist
    import vg.*;
    even if I change classapth variable as E:\javafiles\test or even E:\javafiles\test\vg
    plz help me in this regard

    You need to change where it is trying to find the 'vg' package. So, if your Last.java is in e:\javafiles, then you need to
    import test.vg.*
    e.g.
    import test.vg.*;           // Change this line
    public class Last
              public static void main(String robert[])
                   Second d = new Second();
                   First f = new First();
                   if(f.m==0)
                        d.me0();
                   if(f.m>f.n)
                        d.mgrn();
                   if((f.n%2)==0)
                        d.neven();
                   else
                        System.out.println("The value of n is Odd");
    Alan

  • IPod Touch 4g Battery Problem Plz Help

    I will plug my iPod touch in before I go to bed each night and it has been working fine since Ive had it shipped to me about a year now. But the past two nights I plug it in and in the morning it says 20% battery remaining. When I plug it in it says it's charging with the battery charging icon and everything. So I tried plugging it in to my computer USB and it worked and got past 20% but I have never seen it at 100% ever since two nights ago. My other iOS devices like my iPad charge perfectly fine on the same wall charger I use with my iPod. Is something wrong with my iPod touch 4th generation battery! Plz help Thanks for reading.

    Sorry to hear that.
    If you set it up "as new" without using the latest backup afterwards and the battery life did not get better, you'll have to get it serviced or make an appointment at your next Apple Store. Maybe your battery is damaged.
    You can check your warranty status here: Apple - Support - Check Your Service and Support Coverage

Maybe you are looking for