참고글 및 문제해결/문제해결 31

ORA-29701: unable to connect to Cluster Manager

상황 : ASM이용하는 DB에서 서버다운 후 ASM이 mount가 되지 않는 현상 액션 : Cluster Manager 를 root로 start해줌 # crsctl start crs 시나리오 1. DB startup시도 (ASM이 mount안되어서 실패) 2. ASM mount 시도 (실패) 3. root로 로그인 후 Cluster Manager 시작 4. ASM mount 시도 (성공) 5. DB startup 1. DB startup시도 (ASM이 mount안되어서 실패) [oracle@server15 ~]$ sqlplus / as sysdba SQL*Plus: Release 10.2.0.1.0 - Production on Tue Apr 24 12:32:59 2012 Copyright (c) 1982..

EM사용중 에러 : connection to host as user oracle failed error nmo not setuid-root (unix-only)

참고사이트 : http://arjudba.blogspot.com/2008/09/in-em-connection-fails-with-error-nmo.html 원인 : Enterprise Manager binary file에 대한 some permission error 해결방법 : 1. EM 완전정지 2. /home/oracle/product/10g/root.sh 실행 3. EM 다시 시작 후 테스트 1. EM 완전정지 [oracle@server15 ~]$ emctl stop dbconsole TZ set to ROK Oracle Enterprise Manager 10g Database Control Release 10.2.0.1.0 Copyright (c) 1996, 2005 Oracle Corporati..

실행계획을 볼때 insufficient privileges 에러관련 해결방법

원인 : 해당 테이블에 접근할 수 없는 권한이 없을 때 해결 : 적합한 권한 제공 select a.TABLE_NAME, a.CONSTRAINT_NAME, b.COLUMN_NAME, a.CONSTRAINT_TYPE, a.R_CONSTRAINT_NAME from user_constraints a, user_cons_columns b where a.constraint_name = b.constraint_name; ...생략.... Execution Plan ---------------------------------------------------------- ERROR: ORA-01039: insufficient privileges on underlying objects of the view SP2-0612..

ORA-20446: The owner of the job is not registered

ORA-20446: The owner of the job is not registered ORA-06512: at “SYSMAN.MGMT_JOBS”, line 168 ORA-06512: at “SYSMAN.MGMT_JOBS”, line 86 ORA-06512: at line 1 상황 : Enterprise Manager를 이용한 import중 작업제출 시 위 에러발생 원인 : oracle 11g Bug 해결방법 : sysman으로 로그인 후 execute MGMT_USER.MAKE_EM_USER('USERNAME'); 실행 SQL> conn sysman/****** Connected. SQL> SQL> execute MGMT_USER.MAKE_EM_USER('SCOTT');

RAC 운영중 CLONEDB이용해서 무정지복구할때 undotbs issue

RAC를 운영하게 되면 각 노드마다의 undo tablespace가 따로따로 여러개 지정되어있습니다. 하지만, clone db는 single이기떄문에 undo tablespace를 하나만 복원해서 복구를 하게 되어도 되지 않을까 해서 하나만 복원하고 다른 undo tablespace는 복원하지 않게되면, 평상시 undo tablespace 가 에러나서 db가 open 되지 않는것과 같은 에러가 나면서 DB가 열리지 않습니다. 아무리 undo_tablespace 가 하나만 지정되어있다고 하더라도, undo는 모두 복원해야 복구 후에 DB를 열 수 있습니다. NAME TYPE VALUE ------------------------------------ ----------- -------------------..

RAC 운영중 스토리지 문제(lvscan 시 uuid 뜨는 문제)

[root@rac2 ~]# lvscan Couldn't find device with uuid 'j5Rf9k-PVGT-6D4Q-uTMH-Gmw5-Jp2g-J6T32h'. Couldn't find all physical volumes for volume group rac. Couldn't find device with uuid 'j5Rf9k-PVGT-6D4Q-uTMH-Gmw5-Jp2g-J6T32h'. Couldn't find all physical volumes for volume group rac. Couldn't find device with uuid 'j5Rf9k-PVGT-6D4Q-uTMH-Gmw5-Jp2g-J6T32h'. Couldn't find all physical volumes for volu..

RMAN 사용 중 ORA-07217: sltln: environment variable cannot be evaluated.

원인 : environment variable(환경변수)이 잘못 설정되었습니다. 조치 : .profile안이나 show all; 중 잘못된 설정을 제대로 바꾸세요 (다양한 원인과 조치가 있을 수 있습니다. 맨 아래 답글(comment)도 참조하세요) RMAN> backup database; Starting backup at 09-MAR-12 using target database control file instead of recovery catalog allocated channel: ORA_DISK_1 channel ORA_DISK_1: sid=136 instance=rac2 devtype=DISK channel ORA_DISK_1: starting full datafile backupset chann..

Hidden parameter를 SPFILE에서 적용하기

pfile을 사용중이라면, 해당 파일에 그냥 추가하고 다시 startup을 시키면 되지만, spfile은 어떻게 할까요? alter system set을 쓰면 되지!! ---> 맞습니다. 한번 써보죠(결론은 포스팅의 맨 마지막에서 확인) 1. 일단 현재상황 확인 현재상황 SQL> l 1 select a.ksppinm name, b.ksppstvl value,b.ksppstdf deflt, 2 decode (a.ksppity, 1, 'boolean', 3 2, 'string', 4 3, 'number', 5 4, 'file', 6 a.ksppity) type, 7 a.ksppdesc description 8 from sys.x$ksppi a, sys.x$ksppcv b 9 where a.indx = b.i..