[20201123]NLS_LANG环境变量问题.txt

来源:这里教程网 时间:2026-03-03 16:16:57 作者:

[20201123]NLS_LANG环境变量问题.txt --//链接http://www.itpub.net/thread-2139939-1-1.html的问题,导致使用asmcmd进入磁盘管理,发现无法进入正确的实例里面. --//仔细检查才发现链接export NLS_LANG=AMERICAN.AMERICA_AL32UTF8定义错误。应该写成 export NLS_LANG=AMERICAN_AMERICA.AL32UTF8 $ export NLS_LANG=AMERICAN.AMERICA_AL32UTF8 $ rlsql SQL*Plus: Release 11.2.0.4.0 Production on Mon Nov 23 15:50:13 2020 Copyright (c) 1982, 2013, Oracle.  All rights reserved. ERROR: ORA-12705: Cannot access NLS data files or invalid environment specified  $ oerr ora 12705 12705, 00000, "Cannot access NLS data files or invalid environment specified" // *Cause: Either an attempt was made to issue an ALTER SESSION command //         with an invalid NLS parameter or value; or the environment //         variable(s) NLS_LANG, ORA_NLSxx, or ORACLE_HOME was incorrectly //         specified, therefore the NLS data files cannot be located. // *Action: Check the syntax of the ALTER SESSION command and the NLS //          parameter, correct the syntax and retry the statement, or //          specify the correct directory path/values in the environment //          variables. $ export NLS_LANG=AMERICAN_AMERICA.AL32UTF8 $ rlsql SQL*Plus: Release 11.2.0.4.0 Production on Mon Nov 23 15:51:01 2020 Copyright (c) 1982, 2013, Oracle.  All rights reserved. Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production With the Partitioning, OLAP, Data Mining and Real Application Testing options --//工作中注意这些细节。

相关推荐