zoukankan      html  css  js  c++  java
  • perl: warning: Please check that your locale settings

    perl: warning: Setting locale failed.

    perl: warning: Please check that your locale settings:
            LANGUAGE = (unset),
            LC_ALL = (unset),
            LANG = "zh_CN.GB2312;zh_CN.UTF-8;en_US;en_US.UTF-8"
        are supported and installed on your system.
    perl: warning: Falling back to the standard locale ("C").
    perl: warning: Setting locale failed.
    perl: warning: Please check that your locale settings:
            LANGUAGE = (unset),
            LC_ALL = (unset),
            LANG = "zh_CN.GB2312;zh_CN.UTF-8;en_US;en_US.UTF-8"
        are supported and installed on your system.
    perl: warning: Falling back to the standard locale ("C").

    在使用其它的某些命令时(如:mysqlhotcopy)也会也出现类似的提示。
    搜索了好一段时间,并试了几次,找到一个解决此问题的简单方法,如下:

    vi /root/.bashrc
    再最底部加上
    export LC_ALL=C
    或者直接运行
    echo "export LC_ALL=C" >> /root/.bashrc
    然后执行一下:
    source /root/.bashrc 

    好了。
  • 相关阅读:
    extjs 表单显示控制
    windows net user
    ORACLE截取时间
    oracle to_timestamp
    oracle to_date
    ext numberfield小数模式
    ext 仅文字field
    extjs 占位字段
    [转]CPU的位数与操作系统的位数的区别
    32位的Win7系统下安装64位的Sql Sever?
  • 原文地址:https://www.cnblogs.com/wowchky/p/2729212.html
Copyright © 2011-2022 走看看