标签:mod jar mct details 解决方案 object uri sysman accept
(1)安装到68%时出现弹出框
Error in invoking target ‘install‘ of makefile ‘/home/oracle/app/oracle/product/11.2.0/dbhome_1/ctx/lib/ins_ctx.mk‘. See ‘/home/oracle/oraInventory/logs/installActions2014-05-21_02-20-57PM.log‘ for details.
解决方案:
编辑创建脚本:
# Fix ctx/lib/ins_ctx.mk ORACLE_HOME=/u01/app/oracle/product/11.2.0/db_1 cat << __EOF__ > /tmp/memcpy_wrap.c #include <stddef.h> #include <string.h> asm (".symver wrap_memcpy, memcpy@GLIBC_2.14"); void *wrap_memcpy(void *dest, const void *src, size_t n) { return memcpy(dest, src, n); } __EOF__ if [[ -e "${ORACLE_HOME}/ctx/lib/ins_ctx.mk" ]]; then sed -i -e ‘s/\$(INSO_LINK)/\$(INSO_LINK) -Wl,--wrap=memcpy_wrap \$(ORACLE_HOME)\/ctx\/lib\/memcpy_wrap.o/g‘ ${ORACLE_HOME}/ctx/lib/ins_ctx.mk gcc -c /tmp/memcpy_wrap.c -o ${ORACLE_HOME}/ctx/lib/memcpy_wrap.o && rm /tmp/memcpy_wrap.c fi
运行脚本 并点击retry
下载路径及傻瓜式操作步骤下载链接:
(2)安装到70%多时出现弹出框
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/installActions2015-04-23_01-23-30PM.log‘ for details.
解决方案:编辑创建脚本:
# Fix sysman/lib/ins_emagent.mk ORACLE_SRC_INSTALL_DIR=/media/sf_uxora_share/database cd ${ORACLE_SRC_INSTALL_DIR}/stage/Components jar_file= for i_file in $( ls ./oracle.sysman.agent/*/1/DataFiles/filegroup*.jar ); do unzip -l ${i_file} sysman/lib/ins_emagent.mk 2>&1 1>/dev/null [[ $? -eq 0 ]] && jar_file=${i_file} && break done unzip ${jar_file} sysman/lib/ins_emagent.mk 2>&1 1>/dev/null if [[ $? -eq 0 ]]; then sed -i -e ‘s/\$(MK_EMAGENT_NMECTL)/\$(MK_EMAGENT_NMECTL) -lnnz11/g‘ sysman/lib/ins_emagent.mk jar -uvf ${jar_file} sysman/lib/ins_emagent.mk fi
运行脚本 并点击retry
下载路径及傻瓜式操作步骤下载链接:
(3)解决linux的-bash: ./xx: Permission denied
-bash: ./xx.sh: Permission denied
解决:
chmod 777 xx.sh
Linux chmod +755和chmod +777 各是什么意思呢?
755 代表用户对该文件拥有读,写,执行的权限,同组其他人员拥有执行和读的权限,没有写的权限,其他用户的权限和同组人员权限一样。
777代表,user,group ,others ,都有读写和可执行权限。
(4)安装Oracle,运行Database Configuration Assistant卡住
关闭防火墙即可
//临时关闭防火墙,重启后会重新自动打开 systemctl restart firewalld //检查防火墙状态 firewall-cmd --state firewall-cmd --list-all //Disable firewall systemctl disable firewalld systemctl stop firewalld systemctl status firewalld //Enable firewall systemctl enable firewalld systemctl start firewalld systemctl status firewalld
标签:mod jar mct details 解决方案 object uri sysman accept
原文地址:https://www.cnblogs.com/renzmin/p/12072732.html