본문 바로가기
데이터베이스

[Ubuntu 12.04] Oracle11g net service name is incorrectly specified

by 하센세 2013. 4. 2.

Oracle에 sysdba로 접속시 에러가 발생할 때 다음과 같은 에러가 발생하였다면.

ORACLE_SID를 쉘프로필에 넣어두지 않고 export하지 않으면 서비스 이르이 잘못 설정되었다는 에러 메시지가

나옵니다.


다음과 같이 해결합니다.

----------------------------------------------------------------

[oracle@localhost ~]$ ORACLE_SID="Oracle10g+ASM"

[oracle@localhost ~]$ export ORACLE_SID

[oracle@localhost ~]$ sqlplus


SQL*Plus: Release 10.2.0.1.0 - Production on Sat Oct 15 15:56:06 2005


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


Enter user-name: /as sysdba

Connected to an idle instance.


SQL> 

-> 해법 출처 : bosoa.egloos.com/1152733