zoukankan      html  css  js  c++  java
  • ORA-12705: Cannot access NLS data files or invalid environment specified

    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>

  • 相关阅读:
    django LDAP
    Python egg
    皮皮书屋
    Linux运维
    bash shell 快捷键汇总
    linux ldconfig
    Linux set env export declare unset
    OpenStack
    【LeetCode】258. Add Digits
    一个"Median Maintenance"问题
  • 原文地址:https://www.cnblogs.com/perfei/p/4799935.html
Copyright © 2011-2022 走看看