Oracle listener and gsd are unknown, what is the reason(crs-0216)

 

- crs_stat –t 상태를 봤을 때 다음과 같이 unknow 이 나온다면 여러가지 이유가 있을 수 있지만 다음을 확인 해 볼 것을 권합니다.

1. /etc/hosts

2. /etc/sysconfig/network

3./etc/init.d/network restart 시 정상 수행 되는지 확인

4. network 카드 점검

ORA-29701: unable to connect to Cluster Manager

 

- +ASM mount 할때 위의 오류가 발생 한다면 루트 계정에서 다음을 실행 시키면 됩니다.

root#] $ORACLE_HOME/bin/localconfig delete

root#] $ORACLE_HOME/bin/localconfig add

 

이제 오라클 계정으로 바꾼다음

oracle#]export ORACLE_SID=+ASM

oracle#]sqlplus / as sysdba

$startup 하시면 마운트 성공!!

 

 

- 그 다음

oracle#]export ORACLE_SID=testdb

oracle#]sqlplus / as sysdba

$startup

DATABASE CONFIGURATION FAILED DUE TO THE FOLLOWING ERROR FALIED TO ALLOCATE PORT(S).

In the specified ranges for the following processes

JMS(5540-559), RMI(5520-5539), database control(5500-5519), Em Agent (3938)|(1830-1849) refer to the log file at

 

- 88% 에서 이런 오류가 발생 했습니다.

- 아마도 리스너 구성 후 listener start 를 안시켜서 그런 것 같습니다.

 

- 역시 그랬다. 리스너 구성중에 server110 으로 host 명이 잡혀있었는데 /etc/hosts/ 파일이 잘 못 되있었다 수정하고 tnsping 확인하고 리스너를 올리니 바로 확인 누르면 완료 넘어간다.

 

RMAN-06004: ORACLE error from recovery catalog database:

RMAN-20035: invalid high recid

 

- 전에 Recovery 할 때 Close backup 파일들로 DB 를 그냥 올린적이 있었는데 아무리 expired 된 backupset 을 삭제하려 해도 되지 않고 방금처럼 RMAN 으로 전체 backup 을 받으려 해도 다음과 같은 오류를 발생 시켰다.

 

- list incarnation 을 확인하니 현재 inc number 가 현재 DB 의 incarnation number 와 맞지 않는 것을 확인 할 수 있었다. 그래서 rman 에서

RMAN>list incarnation of database testdb;

RMAN>reset database to incarnation <inc no>;

 

- 그리고 운영 디비를 내렸다가 다시 올리니 backup 이 수행된다.

- 정확한 내용을 확인 해야 할 것 같다.

[ERROR] ORA-01123 : cannot start online backup; media recovery not enabled

원인 :  Begin backup 은 noarchive log mod 에서는 수행할 수 없음
          archive log mode 인지 확인

해결방안 : mount 단계에서 archive log mode 로 변경
alter database archivelog
- 창피하다……


우선 좀 읽어봐라!!!!!!!!!!!

 

Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.

C:\Users\Yeon>sqlplus sys/oracle@TAF as sysdba

SQL*Plus: Release 10.2.0.4.0 - Production on Wed Aug 10 02:58:32 2011

Copyright (c) 1982, 2007, Oracle.  All Rights Reserved.

ERROR:
ORA-12170: TNS:Connect timeout occurred


Enter user-name:
ERROR:
ORA-12560: TNS:protocol adapter error


Enter user-name:
ERROR:
ORA-12560: TNS:protocol adapter error


SP2-0157: unable to CONNECT to ORACLE after 3 attempts, exiting SQL*Plus

============================================================================================================
원인 - sqlnet.ora 파일 설정이 잘 못 되있을 경우
         --> ex)
                    SQLNET.AUTHENTICATION_SERVICES=( NTS)

                    NAMES.DIRECTORY_PATH=(TNSNAMES, EZCONNECT)  ->자세히 보면 공백이 존재한다.
         --> 어처구니 없지만 이러한 이유로도 접속이 안될 수도 있다

해결 -
                    SQLNET.AUTHENTICATION_SERVICES=(NTS)

                    NAMES.DIRECTORY_PATH=(TNSNAMES,EZCONNECT)


# chown -R oracle.dba    /usr/local/java 
# chown -R oracle.dba /usr/local/jre

jdk 와 jre 디렉토리의 권한이 oracle . dba 로 되어있는지 확인.

+ Recent posts