測試oracle10g dg備庫ORA-12162處理一則

wisdomone1發表於2010-01-19
前言:在測試oracle10g dg時,備庫用sqlplus連線出現如題錯誤。
查閱相關文件,解決如下

1,-bash-3.1$ sqlplus sys/system as sysdba

SQL*Plus: Release 10.2.0.1.0 - Production on Tue Jan 19 04:48:02 2010

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

ERROR:
ORA-12162: TNS:net service name is incorrectly specified

2,配置ORACLE_SID
3,用sqlplus重連,ok
-bash-3.1$ sqlplus sys/system as sysdba

SQL*Plus: Release 10.2.0.1.0 - Production on Tue Jan 19 04:49:30 2010

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

Connected to an idle instance.

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/9240380/viewspace-625462/,如需轉載,請註明出處,否則將追究法律責任。

相關文章