2012年(33)
分类: 系统运维
2012-02-25 16:55:29
dbrac1:oracle:orcl1 > emctl status dbconsole
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LC_ALL = (unset),
LC__FASTMSG = "true",
LANG = "AMRICAN"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
Oracle Enterprise Manager 11g Database Control Release 11.1.0.6.0
Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
Oracle Enterprise Manager 11g is running.
------------------------------------------------------------------
Logs are generated in directory /u01/app/oracle/product/11.1.0/db/dbrac1_orcl1/sysman/log
根据报错的提示信息,设置相关环境变量
dbrac1:oracle:orcl1 > export LC_ALL=C
dbrac1:oracle:orcl1 > echo $LC_ALL
C
dbrac1:oracle:orcl1 > echo $LC__FASTMSG
true
dbrac1:oracle:orcl1 > echo $LANG
AMRICAN
再次执行emctl命令,发现报错信息消失了。
dbrac1:oracle:orcl1 > emctl status dbconsole
Oracle Enterprise Manager 11g Database Control Release 11.1.0.6.0
Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
Oracle Enterprise Manager 11g is running.
------------------------------------------------------------------
Logs are generated in directory /u01/app/oracle/product/11.1.0/db/dbrac1_orcl1/sysman/log
从命令执行的结果来看,该报错信息不影响emctl命令的正常运行。