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>