码迷,mamicode.com
首页 > 数据库 > 详细

ORA-12705: Cannot access NLS data files or invalid environment specified

时间:2015-09-11 10:34:21      阅读:834      评论:0      收藏:0      [点我收藏+]

标签:

ASM实例无法启动

[grid@data ~]$ sqlplus / as sysasm

SQL*Plus: Release 11.2.0.4.0 Production on Fri Sep 11 09:00:34 2015

Copyright (c) 1982, 2013, Oracle. All rights reserved.

ERROR:

ORA-12705: Cannot access NLS data files or invalid environment specified

 

无法访问NLS数据或者非法的环境,检查grid用户的环境变量,发现NLS_LANG设置错误了

export NLS_LANG=AMERICAN_AMERICAN.AL32UTF8

正确的应该是

export NLS_LANG=AMERICAN_AMERICA.AL32UTF8

 

更正之后,就能连接ASM实例了

[grid@data ~]$ sqlplus / as sysasm

SQL*Plus: Release 11.2.0.4.0 Production on Fri Sep 11 09:04:15 2015

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 Automatic Storage Management option

SQL>

ORA-12705: Cannot access NLS data files or invalid environment specified

标签:

原文地址:http://www.cnblogs.com/perfei/p/4799935.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!