라벨이 oracle인 게시물 표시

oracle 오류

ORA-12560 : TNS : protocol adapter error   - 공유메모리관련 시스템 충돌 문제 ORA-27154 on Database Startup After System Crash You experienced a system crash and had to recreate the Oracle user. When you try to startup the instance you get:    ORA-27154: post/wait create failed                       ORA-27300: OS system dependent operation:semget failed with  status: 17        ORA-27301: OS failure message: File exists      ORA-27302: failure occurred at: sskgpcreate The system crash left the shared memory and semaphores owned by the crashed Oracle instance on the system.  These have to be removed before enough resources are available to bring the Oracle instance. You need to remove stray shared memory segments and semaphores. To get a list of shared memory and semaphore id's: % ipcs -...

oracle database directory 변경

문제 : linux에서 파일 시스템에 오라클 database 저장소를 정했을 때, 다른 스토리지나 경로를 변경해야 할 문제가 생겼다. 1. 오라클을 실행 중지 한다.   ->sqlqlus '/as sysdba'   ->shutdown IMMEDIATE; 2. 리스너를 중지한다.   ->lsnrctl stop 3. 설치된 파일을 사용자가 바꾸고 싶은 곳으로 복사한다.   ->cp -a /u10/app/oracle/product/11.2.0/xe /home/oracle/t10    4. ORACLE_HOME path를 변경해준다.    ->vi /etc/environment   ->PATH="...........:/home/oracle/t01/bin"   ->ORACLE_HOME=/home/oracle/t01/xe   ->LD_LIBRARY_PATH=/home/oracle/t01/xe/lib 5. 오라클을 실행한다. 6. 리스너를 실행한다. * 주의 : 복사할 때 소유자와 그룹이 각각 oracle / dba 되어 있는것을 확인 해야한다.