본문 바로가기

ORACLE 에러노트

SP2-0618, SP2-0611 autotrace 에러 orcl@HR> set autot on SP2-0618: Cannot find the Session Identifier. Check PLUSTRACE role is enabled SP2-0611: Error enabling STATISTICS report 아래 스크립트를 실행한다. SQL> @/u01/app/oracle/product/11.2.0/dbhome_1/sqlplus/admin/plustrce.sql 권한을 해당 유저에게 할당한다 SQL> grant plustrace to hr; Grant succeeded. SQL> conn hr/hr Connected. SQL> set autotrace on SQL> autotrace 실행이 성공했다. 더보기
ORA-28365: wallet is not open ORA-28365: wallet is not open 암호화 오류 ORA-19914: unable to encrypt backup ORA-28365: wallet is not open --> CONFIGURE ENCRYPTION FOR DATABASE OFF; 로 변경 더보기
ORA-01031: insufficient privileges [oracle@dba01 ~]$ cat /etc/oratab -- 으로 내 계정 확인한후에 ASM이 먼저 켜져있는지 DB가 먼저 켜져있는지 확인한다 sqlplus / as sysasm -- ASM | . oraenv +ASM sqlplus / as sysdba -- 일반 DB | . oraenv ORCL ASM실행 오류 1. 반드시 계정 확인을 할것 !! 2. ASM 먼저 키고 DB를 킬것 ! ▶ 오류 찾기의 기본 oerr 명령어로 찾는다. 인터넷에 검색하지 않고도 쉽게 이유와 해결방법을 제시해 준다. [oracle@ocm01 ~]$ oerr ora 1031 01031, 00000, "insufficient privileges" // *Cause: An attempt was made to change t.. 더보기
ORA-00845: MEMORY_TARGET not supported on this system [ 원인 ] 오라클 11g에서 사용하는 AMM(automatic memory management)의 할당 메모리가 작다(memory_max_target,memory_target) 아래 명령어로 확인 시 결과가 나와야한다. SQL> show parameter memory [ 해결방법 ] - 확인 - #df로 확인 시 /dev/shm할당 메모리를 확인한다. 분명히 가용 메모리가 충분한데도 에러가 발생한다. # df -h [oracle@dba01 Desktop]$ df -h Filesystem Size Used Avail Use% Mounted on /dev/sda1 29G 21G 6.4G 77% / tmpfs 1.9G 999M 910M 53% /dev/shm /dev/sda2 24G 44M 23G 1% /B.. 더보기