2013年3月26日星期二

2013年3月19日星期二

ORA-12560: TNS:protocol adapter error (DBD ERROR: OCIServerAttach)

Microsoft Windows [Version 5.2.3790]
(C) Copyright 1985-2003 Microsoft Corp.

C:\Documents and Settings\Administrator.DOMAIN>asmcmd
"asmcmd: the environment variable ORACLE_HOME is not set."

C:\Documents and Settings\Administrator.DOMAIN>set ORACLE_HOME=B:\oracle\product
\10.2.0\db_1

C:\Documents and Settings\Administrator.DOMAIN>set ORACLE_SID=RAC

C:\Documents and Settings\Administrator.DOMAIN>asmcmd
ORA-12560: TNS:protocol adapter error (DBD ERROR: OCIServerAttach)
C:\Documents and Settings\Administrator.DOMAIN>set ORACLE_SID=RAC1

C:\Documents and Settings\Administrator.DOMAIN>asmcmd
asmcmd: command disallowed by current instance type
C:\Documents and Settings\Administrator.DOMAIN>set ORACLE_SID=+ASM1

C:\Documents and Settings\Administrator.DOMAIN>asmcmd
ASMCMD>

I think i fixed it .. thanks anyways.. i was doing major mistakes... but thanks for responding


TAG: ORA-12560: TNS:protocol adapter error (DBD ERROR: OCIServerAttach)