분류 전체보기 104

[OS/macOS] remote 서버 접근 ip 저장 script (vmgmt)

# vmgmt# 원하는 위치에 script를 놓고 사용한다.SCRIPT_DIR=/usr/local/scriptsCOMMAND=$1HEAD="###########################################\n################# My VM ###################\n###########################################";TAIL="###########################################";TXT_FILE="$SCRIPT_DIR/.remote_vmaddr.txt"SED=/usr/bin/sedSSH=/usr/bin/sshif [ -z $COMMAND ];thenecho 'ERROR : Please input your comman..

OS/macOS 2021.06.18

[Oracle] Error in invoking target 'agent nmhs' of makefile

Exception String: Error in invoking target 'agent nmhs' of makefile '/u01/app/oracle/product/11.2.0/db_1/sysman/lib/ins_emagent.mk'. See '/u01/app/oraInventory/logs/installActions2021-04-19_03-13-59PM.log' for details // 시스템상에 Oracle 11g R2를 Install하는 동안 “Error in invoking target 'agent nmhs' of makefile - during 11g Installation”과 같은 오류가 보고되는 경우 그냥 무시를 하고 진행해도 되지만 “$ emctl status dbconsole” 또는 ..

Oracle 2021.04.19

[PostgreSQL] 복구 시 테이블에 AccessExclusiveLock

// version 10.15 // occur AccessExclusivLock on table when recover using recover_target_time // 데이터베이스 사용자가 실수로 table drop을 했다고 가정하여 복구 테스트 // base backup -bash-4.2$ pg_basebackup -D /postgres/basebackup/backup_20210315 -p 5401 -F t -z -bash-4.2$ ls -l /postgres/basebackup/backup_20210315 -rw-r--r--. 1 postgres postgres 15531124 Mar 15 15:45 base.tar.gz -rw-------. 1 postgres postgres 18432 Mar ..

PostgreSQL 2021.03.15

[Oracle] Oracle grid rac 설치 시 root.sh 에러 (CRS-4046, CRS-4000, CLSRSC-331)

# root.sh error when oracle grid rac installation 2021/03/12 10:25:54 CLSRSC-594: Executing installation step 9 of 19: 'ConfigOLR'. PROCL-00041: Oracle Local Registry is incorrectly configured clsu-00600: Internal Error [(:CLSUG00122:)] [5] [OLR error] [41] [Error retrieving olrconfig_loc property.] CRS-4046: Invalid Oracle Clusterware configuration. CRS-4000: Command Create failed, or completed..

Oracle 2021.03.12