전체 글 110

[Oracle] ORA-28002 : the password will expire within %s days

// ORA-28002 : the password will expire within %s days // oracle 계정 account_status가 expired(grace)로 나타날 때 장애현상 : jdbc를 사용하는 어플리케이션에서 접근할 때 계정에 lock이 걸린 것 처럼 보여짐. 장애원인 : profile의 password_life_time과 password_grace_time이 설정되어 있었던 이력이 존재하고, 이 후 (password_life_time - password_grace_time)의 값에 도달한 jdbc connection 요청이 들어올 때 계정이 expired(grace)상태로 빠지게됨. 해결방법 : http://www.dba-oracle.com/t_ora_28002_passwo..

Oracle 2021.11.03

[Oracle] ORA-19206: Invalid value for query or REF CURSOR parameter

// Oracle version 9.2.0.7// ORA-19206: Invalid value for query or REF CURSOR parameter 장애현상 : exp명령을 수행하는 중간에 "EXP-00056: ORACLE error 19206 encountered", "ORA-19206: Invalid value for query or REF CURSOR parameter"의 메시지가 발생하면서 exp 수행되지 않음./* 에러 내용EXP-00056: ORACLE error 19206 encounteredORA-19206: Invalid value for query or REF CURSOR parameterORA-06512: at "SYS.DBMS_XMLGEN", line 83ORA-06512: ..

Oracle 2021.10.13

[Oracle] RMAN delete archived redo log files

// RMAN에서 backup archivelog all delete input 명령어를 통해 아카이브로그를 백업했는데 백업하고 보니 백업된 아카이브로그의 시퀀스번호와 남아있는 아카이브로그의 시퀀스번호 사이에 빠진 아카이브로그가 존재한다는 것을 발견함. // 이러한 버그는 DG운영 중일때 치명적일 수 있다고 생각되어짐. 참조 : http://www.dba-oracle.com/t_rman_delete_archived_redo_logs.htm RMAN delete archived redo log files Question: I have been backing-up my archived redo log files bit the files are not being removed from the archived ..

Oracle 2021.10.06

[Oracle] Oracle RAC 클러스터 노드 제거 (Delete cluster node)

// 노드 상태 확인# olsnodes -s -t// 제거할 노드가 pinned 상태라면 아래 명령어 적용// $ crsctl unpin css -n node_to_be_deleted // 제거할 노드에서 명령어 적용# ./runInstaller -updateNodeList ORACLE_HOME=Grid_home "CLUSTER_NODES= {node_to_be_deleted}" CRS=TRUE -silent -local# su - grid$ $GRID_HOME/deinstall/deinstall -local // ※ 주의 : -local 옵션을 붙이지 않으면 모든 노드의 클러스터가 삭제됨.// shared home 일 경우 아래 명령어를 적용// $ perl $GRID_HOME/crs/install/r..

Oracle 2021.08.12

[Oracle] ORA-29760: instance_number parameter not specified

// ORA-29760: instance_number parameter not specified 장애현상 : RAC 환경에서 특정노드에서 startup을 했을 때, "ORA-29760: instance_number parameter not specified" 메세지를 띄우면서 start 되지 않음. 장애원인 : spfile 또는 pfile에 해당노드의 번호로 parameter가 정의되지 않았을 때 나타남.ex ) 문제의 노드가 3번이라고 가정 (인스턴스 : ORADB3)SQL> create pfile from spfile;$ cat initORADB1.ora | grep instance_number  ORADB1.instance_number=1ORADB2.instance_number=2 장애처리 : pf..

Oracle 2021.08.09