728x90
목차
1. Oracle Engine 19C deinstall log
1) Oracle DataBase 19C deinstall
Oracle DB 19C 제거 방법은 Oracle DB 설치시 제공되는 deinstall을 이용하면 된다.
Console에서 deinstall 디렉터리로 이동한뒤 ./deinstall 명령어를 입력하면 deinstall이 실행된다.
[oracle@JHI deinstall]$ pwd /oracle/app/oracle/product/19c/dbhome_1/deinstall [oracle@JHI deinstall]$ ./deinstall
2) deinstall log
deinstall 과정은 다음과 같다.
아래 처럼 출력되지 않는다면, Oracle DataBase가 제대로 제거되지 않은 것이기때문에 확인이 필요하다.
[oracle@JHI deinstall]$ ./deinstall Checking for required files and bootstrapping ... Please wait ... Location of logs /tmp/deinstall2022-08-24_09-01-58AM/logs/ ############ ORACLE DECONFIG TOOL START ############ ######################### DECONFIG CHECK OPERATION START ######################## # ## [START] Install check configuration ## Checking for existence of the Oracle home location /oracle/app/oracle/product/19c /dbhome_1 Oracle Home type selected for deinstall is: Oracle Single Instance Database Oracle Base selected for deinstall is: /oracle/app/oracle Checking for existence of central inventory location /oracle/app/oraInventory ## [END] Install check configuration ## Network Configuration check config START Network de-configuration trace file location: /tmp/deinstall2022-08-24_09-01-58AM /logs/netdc_check2022-08-24_09-02-04AM.log Network Configuration check config END Database Check Configuration START Database de-configuration trace file location: /tmp/deinstall2022-08-24_09-01-58A M/logs/databasedc_check2022-08-24_09-02-04AM.log Use comma as separator when specifying list of values as input Specify the list of database names that are configured in this Oracle home []: Database Check Configuration END ######################### DECONFIG CHECK OPERATION END ######################### ####################### DECONFIG CHECK OPERATION SUMMARY ####################### Oracle Home selected for deinstall is: /oracle/app/oracle/product/19c/dbhome_1 Inventory Location where the Oracle home registered is: /oracle/app/oraInventory Do you want to continue (y - yes, n - no)? [n]: y A log of this session will be written to: '/tmp/deinstall2022-08-24_09-01-58AM/lo gs/deinstall_deconfig2022-08-24_09-02-02-AM.out' Any error messages from this session will be written to: '/tmp/deinstall2022-08-2 4_09-01-58AM/logs/deinstall_deconfig2022-08-24_09-02-02-AM.err' ######################## DECONFIG CLEAN OPERATION START ######################## Database de-configuration trace file location: /tmp/deinstall2022-08-24_09-01-58A M/logs/databasedc_clean2022-08-24_09-02-04AM.log Network Configuration clean config START Network de-configuration trace file location: /tmp/deinstall2022-08-24_09-01-58AM /logs/netdc_clean2022-08-24_09-02-04AM.log De-configuring backup files... Backup files de-configured successfully. The network configuration has been cleaned up successfully. Network Configuration clean config END ######################### DECONFIG CLEAN OPERATION END ######################### ####################### DECONFIG CLEAN OPERATION SUMMARY ####################### ####################################################################### ############# ORACLE DECONFIG TOOL END ############# Using properties file /tmp/deinstall2022-08-24_09-01-58AM/response/deinstall_2022 -08-24_09-02-02-AM.rsp Location of logs /tmp/deinstall2022-08-24_09-01-58AM/logs/ ############ ORACLE DEINSTALL TOOL START ############ ####################### DEINSTALL CHECK OPERATION SUMMARY ####################### A log of this session will be written to: '/tmp/deinstall2022-08-24_09-01-58AM/lo gs/deinstall_deconfig2022-08-24_09-02-02-AM.out' Any error messages from this session will be written to: '/tmp/deinstall2022-08-2 4_09-01-58AM/logs/deinstall_deconfig2022-08-24_09-02-02-AM.err' ######################## DEINSTALL CLEAN OPERATION START ######################## ## [START] Preparing for Deinstall ## Setting LOCAL_NODE to JHI Setting CRS_HOME to false Setting oracle.installer.invPtrLoc to /tmp/deinstall2022-08-24_09-01-58AM/oraInst .loc Setting oracle.installer.local to false ## [END] Preparing for Deinstall ## Setting the force flag to false Setting the force flag to cleanup the Oracle Base Oracle Universal Installer clean START Detach Oracle home '/oracle/app/oracle/product/19c/dbhome_1' from the central inv entory on the local node : Done Delete directory '/oracle/app/oracle/product/19c/dbhome_1' on the local node : Do ne Delete directory '/oracle/app/oraInventory' on the local node : Done Delete directory '/oracle/app/oracle' on the local node : Done Oracle Universal Installer cleanup was successful. Oracle Universal Installer clean END ## [START] Oracle install clean ## ## [END] Oracle install clean ## ######################### DEINSTALL CLEAN OPERATION END ######################### ####################### DEINSTALL CLEAN OPERATION SUMMARY ####################### Successfully detached Oracle home '/oracle/app/oracle/product/19c/dbhome_1' from the central inventory on the local node. Successfully deleted directory '/oracle/app/oracle/product/19c/dbhome_1' on the l ocal node. Successfully deleted directory '/oracle/app/oraInventory' on the local node. Successfully deleted directory '/oracle/app/oracle' on the local node. Oracle Universal Installer cleanup was successful. Run 'rm -r /etc/oraInst.loc' as root on node(s) 'JHI' at the end of the session. Run 'rm -r /opt/ORCLfmap' as root on node(s) 'JHI' at the end of the session. Run 'rm -r /etc/oratab' as root on node(s) 'JHI' at the end of the session. Oracle deinstall tool successfully cleaned up temporary directories. ####################################################################### ############# ORACLE DEINSTALL TOOL END ############# [oracle@JHI deinstall]$
3) Oracle DataBase 19C 제거 완료
제거가 끝나면 $ORACLE_HOME에 있던 파일들이 제대로 제거 됐는지 재확인.
환경변수는 수동 제거해야한다.
3. 참고문서
본인 경험
728x90
'Database > Oracle Database' 카테고리의 다른 글
[Oracle DB Error ] ORA-65096 , create user without c## (0) | 2022.09.16 |
---|---|
Oracle DB sqlplus ????? 물음표 출력 error (0) | 2022.09.06 |