Preface
 
    Yesterday I've installed the 11g GI software on CentOS 7.2.But I still encounter some troubles when I continue to install the database software in my environment.I've recorded the main evidences.They will be shown below.
 
Precedure
 
    First of all,when I exectued "./runInstaller",the OUI was still stucked in the step of checking semaphore.It shew the similar symptom like I was installing the GI software yesterday.
 
    Partial of installation log:
 [Worker ] [ -- ::33.038 BST ] [RuntimeExec.runCommand:]  /tmp/CVU_11.2.0..0_oracle/exectask.sh -getkernelparam semmsl
[Worker ] [ -- ::33.038 BST ] [RemoteExecCommand.validateCmdArgs:] Calling validateCmdArgs
[Worker ] [ -- ::33.038 BST ] [RemoteExecCommand.validateCmdArgs:] Checking for arguments validity
[performChecks.flowWorker] [ -- ::33.038 BST ] [Semaphore.acquire:] ClientResource Constructor:Blocking Semaphore owned by performChecks.flowWorker:Acquire called by thread performChecks.flowWorker m_count=
[Worker ] [ -- ::33.038 BST ] [RemoteExecCommand.execute:] Trying to runRemoteExecCmd first to check if server is already running
[Worker ] [ -- ::33.038 BST ] [RemoteExecCommand.executeInternal:] Calling executeInternal()
[Worker ] [ -- ::33.039 BST ] [RemoteExecCommand.executeInternal:] executing the command: '/tmp/CVU_11.2.0.4.0_oracle/exectask.sh' with args '-getkernelparam semmsl ', 'm_stdin == null ->true', 'm_localExecution ->false', 'm_chkException ->false'
[Worker ] [ -- ::33.046 BST ] [Utils.getLocalHost:] Hostname retrieved: rac1, returned: rac1
[Worker ] [ -- ::33.047 BST ] [NativeSystem.isCmdScv:] isCmdScv: cmd=[/usr/bin/ssh -o FallBackToRsh=no -o PasswordAuthentication=no -o StrictHostKeyChecking=yes -o NumberOfPasswordPrompts= rac2 -n ]
[Worker ] [ -- ::33.047 BST ] [NativeSystem.isCmdScv:] isCmdScv: /usr/bin/ssh is present.
[Worker ] [ -- ::33.047 BST ] [NativeSystem.isCmdScv:] isCmdScv: /usr/bin/ssh is a file.
[Worker ] [ -- ::33.047 BST ] [NativeSystem.isCmdScv:] isCmdScv: returned true
[Worker ] [ -- ::33.048 BST ] [RuntimeExec.runCommand:] Calling Runtime.exec() with the command
[Worker ] [ -- ::33.048 BST ] [RuntimeExec.runCommand:] /bin/sh
[Worker ] [ -- ::33.048 BST ] [RuntimeExec.runCommand:] -c
[Worker ] [ -- ::33.048 BST ] [RuntimeExec.runCommand:] /usr/bin/ssh -o FallBackToRsh=no -o PasswordAuthentication=no -o StrictHostKeyChecking=yes -o NumberOfPasswordPrompts= rac2 -n /tmp/CVU_11.2.0..0_oracle/exectask.sh -getkernelparam semmsl
[Thread-] [ -- ::33.050 BST ] [StreamReader.run:] In StreamReader.run
[Worker ] [ -- ::33.049 BST ] [RuntimeExec.runCommand:] runCommand: Waiting for the process
[Thread-] [ -- ::33.050 BST ] [StreamReader.run:] In StreamReader.run
[Thread-] [ -- ::33.069 BST ] [StreamReader.run:] In StreamReader.run
[Thread-] [ -- ::33.071 BST ] [StreamReader.run:] In StreamReader.run
[Worker ] [ -- ::33.071 BST ] [RuntimeExec.runCommand:] runCommand: Waiting for the process
[Thread-] [ -- ::33.183 BST ] [StreamReader.run:] OUTPUT><CV_VAL><CV_CUR>kernel.sem =
[Thread-] [ -- ::33.183 BST ] [StreamReader.run:] OUTPUT></CV_CUR><CV_CFG>kernel.sem =
[Thread-] [ -- ::33.183 BST ] [StreamReader.run:] OUTPUT></CV_CFG></CV_VAL><CV_VRES></CV_VRES><CV_LOG>Exectask: kernel param retrieval successful</CV_LOG><CV_ERES></CV_ERES>
[Worker ] [ -- ::33.183 BST ] [RuntimeExec.runCommand:] runCommand: process returns
[Worker ] [ -- ::33.183 BST ] [RuntimeExec.runCommand:] RunTimeExec: output>
[Worker ] [ -- ::33.183 BST ] [RuntimeExec.runCommand:] <CV_VAL><CV_CUR>kernel.sem =
[Worker ] [ -- ::33.183 BST ] [RuntimeExec.runCommand:] </CV_CUR><CV_CFG>kernel.sem =
[Worker ] [ -- ::33.184 BST ] [RuntimeExec.runCommand:] </CV_CFG></CV_VAL><CV_VRES></CV_VRES><CV_LOG>Exectask: kernel param retrieval successful</CV_LOG><CV_ERES></CV_ERES>
[Worker ] [ -- ::33.184 BST ] [RuntimeExec.runCommand:] RunTimeExec: error>
[Worker ] [ -- ::33.184 BST ] [RuntimeExec.runCommand:] Returning from RunTimeExec.runCommand
[Worker ] [ -- ::33.184 BST ] [UnixSystem.dorunRemoteExecCmd:] retval =
[Worker ] [ -- ::33.184 BST ] [UnixSystem.dorunRemoteExecCmd:] exitValue =
[Worker ] [ -- ::33.184 BST ] [RemoteExecCommand.executeInternal:] cmdSuccess status: true
[Worker ] [ -- ::33.184 BST ] [RemoteExecCommand.execute:] cmdSuccess status: true
[Worker ] [ -- ::33.184 BST ] [VerificationUtil.fetchTextByTags:]
Tags <CV_VAL> and </CV_VAL> contains:<CV_CUR>kernel.sem =
</CV_CUR><CV_CFG>kernel.sem =
</CV_CFG> [Worker ] [ -- ::33.184 BST ] [VerificationCommand.execute:] Formatted exectask output is:
<CV_VAL><CV_CUR>kernel.sem =
</CV_CUR><CV_CFG>kernel.sem =
</CV_CFG></CV_VAL><CV_VRES></CV_VRES><CV_LOG>Exectask: kernel param retrieval successful</CV_LOG><CV_ERES></CV_ERES>
[Worker ] [ -- ::33.184 BST ] [VerificationUtil.fetchTextByTags:]
Tags <CV_VRES> and </CV_VRES> contains: [Worker ] [ -- ::33.184 BST ] [VerificationCommand.execute:] VfyCode is:
[Worker ] [ -- ::33.184 BST ] [VerificationUtil.fetchTextByTags:]
Tags <CV_ERES> and </CV_ERES> contains: [Worker ] [ -- ::33.184 BST ] [VerificationUtil.fetchTextByTags:]
Tags <CV_CUR> and </CV_CUR> contains:kernel.sem = [Worker ] [ -- ::33.184 BST ] [VerificationUtil.fetchTextByTags:]
Tags <CV_CUR> and </CV_CUR> contains:kernel.sem = [Worker ] [ -- ::33.184 BST ] [VerificationUtil.fetchTextByTags:]
Tags <CV_CFG> and </CV_CFG> contains:kernel.sem = [Worker ] [ -- ::33.185 BST ] [ClusterConfig$ExecuteCommand.returnCommandToClient:] returnCommandToClient; fillCount= is full=false
[Worker ] [ -- ::33.185 BST ] [Semaphore.acquire:] SyncBufferEmpty:Acquire called by thread Worker m_count=
[Worker ] [ -- ::33.185 BST ] [Semaphore.release:] SyncBufferFull:Release called by thread Worker m_count=
[Worker ] [ -- ::33.185 BST ] [ClientResource.getListener:] Calling getListener
[Worker ] [ -- ::33.185 BST ] [ClusterConfig$ExecuteCommand.run:] Owner Thread name of the blocking Semaphore performChecks.flowWorker
[Worker ] [ -- ::33.185 BST ] [ClusterConfig$ExecuteCommand.run:] Obtained Semaphore
[Worker ] [ -- ::33.185 BST ] [Semaphore.release:] ClientResource Constructor:Blocking Semaphore owned by performChecks.flowWorker:Release called by thread Worker m_count=
[Worker ] [ -- ::33.185 BST ] [ClusterConfig$ExecuteCommand.run:] Released Semaphore by worker=Worker
[Worker ] [ -- ::33.185 BST ] [Semaphore.acquire:] SyncBufferFull:Acquire called by thread Worker m_count=
[performChecks.flowWorker] [ -- ::33.185 BST ] [ClusterConfig.block:] block acquired semnum=
[performChecks.flowWorker] [ -- ::33.185 BST ] [Semaphore.acquire:] ClientResource Constructor:Blocking Semaphore owned by performChecks.flowWorker:Acquire called by thread performChecks.flowWorker m_count=
^C

    Therefore,I specify "-ignorePrereq" option again to skip the unkown issue.

 [oracle@rac1 database]$ ./runInstaller -ignorePrereq
Starting Oracle Universal Installer... Checking Temp space: must be greater than MB. Actual MB Passed
Checking swap space: must be greater than MB. Actual MB Passed
Checking monitor: must be configured to display at least colors. Actual Passed
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2018--28_01--14AM. Please wait ...[oracle@rac1 database]$ You can find the log of this install session at:
/u01/oraInventory/logs/installActions2018--28_01--14AM.log

    Then,I encountered another two making error in the step of linking binaries:

 
1. Exception String: Error in invoking target 'agent nmhs' of makefile '/u01/oracle/db/sysman/lib/ins_emagent.mk'.
    According to the MOS document “error in invoking target 'agent nmhs' of make file ins_emagent.mk while installing Oracle 11.2.0.4 on Linux (ID 2299494.1)”,to the two steps below:
 . vim $ORACLE_HOME/sysman/lib/ins_emagent.mk
. change "$(MK_EMAGENT_NMECTL)" into "$(MK_EMAGENT_NMECTL) -lnnz11"
. click "Retry" to continue the OUI installation.
2. Exception String: Error in invoking target 'irman ioracle' of makefile '/u01/oracle/db/rdbms/lib/ins_rdbms.mk'.
    The lib files of rman is correct:
 [oracle@rac1 bin]$ ldd rman
linux-vdso.so. => (0x00007fff017c4000)
librt.so. => /lib64/librt.so. (0x00007ffbcd0df000)
libclntsh.so.11.1 => /u01/oracle/db/lib/libclntsh.so.11.1 (0x00007ffbca677000)
libnnz11.so => /u01/oracle/db/lib/libnnz11.so (0x00007ffbca2aa000)
libdl.so. => /lib64/libdl.so. (0x00007ffbca0a6000)
libm.so. => /lib64/libm.so. (0x00007ffbc9da4000)
libpthread.so. => /lib64/libpthread.so. (0x00007ffbc9b88000)
libnsl.so. => /lib64/libnsl.so. (0x00007ffbc996e000)
libc.so. => /lib64/libc.so. (0x00007ffbc95a1000)
libaio.so. => /lib64/libaio.so. (0x00007ffbc939f000)
/lib64/ld-linux-x86-.so. (0x00007ffbcd2e7000)

    Execute the below command and retry making:

 [oracle@rac1 bin]$ /usr/bin/make -f $ORACLE_HOME/rdbms/lib/ins_rdbms.mk ioracle
chmod /u01/oracle/db/bin
test ! -f /u01/oracle/db/bin/oracle ||\
mv -f /u01/oracle/db/bin/oracle /u01/oracle/db/bin/oracleO
mv /u01/oracle/db/rdbms/lib/oracle /u01/oracle/db/bin/oracle
chmod /u01/oracle/db/bin/oracle
[oracle@rac1 bin]$ /usr/bin/make -f $ORACLE_HOME/rdbms/lib/ins_rdbms.mk irman - Linking recovery manager (rman)
rm -f /u01/oracle/db/rdbms/lib/rman
gcc -o /u01/oracle/db/rdbms/lib/rman -m64 -z noexecstack -L/u01/oracle/db/rdbms/lib/ -L/u01/oracle/db/lib/ -L/u01/oracle/db/lib/stubs/ /u01/oracle/db/lib/s0main.o /u01/oracle/db/rdbms/lib/sskrmed.o /u01/oracle/db/rdbms/lib/skrmpt.o -ldbtools11 -lclient11 -lsql11 -lpls11 -lrt -lplp11 -lsnls11 -lunls11 -lnls11 -lslax11 -lpls11 -lrt -lplp11 /u01/oracle/db/lib/libplc11.a -lclntsh `cat /u01/oracle/db/lib/ldflags` -lncrypt11 -lnsgr11 -lnzjs11 -ln11 -lnl11 -lnro11 `cat /u01/oracle/db/lib/ldflags` -lncrypt11 -lnsgr11 -lnzjs11 -ln11 -lnl11 -lnnz11 -lzt11 -lztkg11 -lclient11 -lnnetd11 -lvsn11 -lcommon11 -lgeneric11 -lmm -lsnls11 -lnls11 -lcore11 -lsnls11 -lnls11 -lcore11 -lsnls11 -lnls11 -lxml11 -lcore11 -lunls11 -lsnls11 -lnls11 -lcore11 -lnls11 `cat /u01/oracle/db/lib/ldflags` -lncrypt11 -lnsgr11 -lnzjs11 -ln11 -lnl11 -lnro11 `cat /u01/oracle/db/lib/ldflags` -lncrypt11 -lnsgr11 -lnzjs11 -ln11 -lnl11 -lclient11 -lnnetd11 -lvsn11 -lcommon11 -lgeneric11 -lsnls11 -lnls11 -lcore11 -lsnls11 -lnls11 -lcore11 -lsnls11 -lnls11 -lxml11 -lcore11 -lunls11 -lsnls11 -lnls11 -lcore11 -lnls11 -lclient11 -lnnetd11 -lvsn11 -lcommon11 -lgeneric11 -lsnls11 -lnls11 -lcore11 -lsnls11 -lnls11 -lcore11 -lsnls11 -lnls11 -lxml11 -lcore11 -lunls11 -lsnls11 -lnls11 -lcore11 -lnls11 `cat /u01/oracle/db/lib/sysliblist` -Wl,-rpath,/u01/oracle/db/lib -lm `cat /u01/oracle/db/lib/sysliblist` -ldl -lm -L/u01/oracle/db/lib
test ! -f /u01/oracle/db/bin/rman ||\
mv -f /u01/oracle/db/bin/rman /u01/oracle/db/bin/rmanO
mv /u01/oracle/db/rdbms/lib/rman /u01/oracle/db/bin/rman
chmod /u01/oracle/db/bin/rman

    Finally,It turned out to be okay again:

    After I executed the scripts showed in the picture above on two nodes,the database software was installed normally and no more error occured.

CentOS 7.2安装11g数据库软件的更多相关文章

  1. 《Oracle Database 12c DBA指南》第二章 - 安装Oracle和创建数据库(2.1 安装Oracle数据库软件和创建数据库概览)

    当前关于12c的中文资料比较少,本人将关于DBA的一部分官方文档翻译为中文,很多地方为了帮助中国网友看懂文章,没有按照原文句式翻译,翻译不足之处难免,望多多指正. 2.1 安装Oracle数据库软件和 ...

  2. 静默方式安装10g数据库软件+升级patch+手工建库

    通常我们安装Oracle数据库软件,都是用OUI图形界面来完成的,但有些Unix/Linux系统中并未安装图形系统,也就无法使用图形界面来安装Oracle的产品了,对于这种场景,就只能采用静默方式来安 ...

  3. 在Centos中yum安装和卸载软件的使用方法(转)

    在Centos中yum安装和卸载软件的使用方法 安装方法 安装一个软件时 yum -y install httpd 安装多个相类似的软件时 yum -y install httpd* 安装多个非类似软 ...

  4. CentOS 6.5 安装MySQL数据库

    CentOS 6.5 安装MySQL数据库 [root@seeker~]# yum -y install mysql-server //安装命令 [root@seeker~]# service mys ...

  5. 在Centos中yum安装和卸载软件的使用方法(转载)

    转自: http://gzmaster.blog.51cto.com/299556/72278 原创作品,允许转载,转载时请务必以超链接形式标明文章 原始出处 .作者信息和本声明.否则将追究法律责任. ...

  6. 卸载oracle 11g数据库软件

    卸载oracle,从11g开始使用deinstall卸载数据库软件可以干净卸掉oracle $ cd $ORACLE_HOME/deinstall $ ls -l total 152 -rwxr-xr ...

  7. CentOS 7.2安装lepus数据库监控系统

      环境说明 系统版本 CentOS 7.2 x86_64 软件版本 lepus 3.7 Lepus是一套开源的数据库监控平台,目前已经支持MySQL.Oracle.SQLServer.MongoDB ...

  8. 在centos上编译安装mariadb数据库

    一.安装前提(准备数据文件.安装其他依赖的软件) 1.准备数据存放的目录 [root@localhost ~]# fdisk /dev/sdb  (fdisk /dev/sdb 创建一个逻辑分区/de ...

  9. centos 下 yum安装和卸载软件

    安装的命令是,yum install xxx,yum会查询数据库,有无这一软件包,如果有,则检查其依赖冲突关系,如果没有依赖冲突,那么最好,下载安装;如果有,则会给出提示,询问是否要同时安装依赖,或删 ...

随机推荐

  1. maven编译package慢

    mvn package编译出现连接不上mvn库的问题: [root@localhost nnnnn]# mvn package[INFO] Scanning for projects...Downlo ...

  2. PL\SQL设置中文

    打开PL\SQL 1.菜单->Tools ->preferences->User Interface -> Appearance -> Language 选择 Chine ...

  3. 【转载】iPhone屏幕尺寸、分辨率及适配

    iPhone屏幕尺寸.分辨率及适配 转载http://m.blog.csdn.net/article/details?id=42174937 1.iPhone尺寸规格 iPhone 整机宽度Width ...

  4. Vue教程:计算属性computed与侦听器watch(三)

    计算属性computed 模板内的表达式非常便利,但是设计它们的初衷是用于简单运算的.在模板中放入太多的逻辑会让模板过重且难以维护.例如: <div id="example" ...

  5. java SSM 框架 代码生成器 websocket即时通讯 shiro redis

    1.   权限管理:点开二级菜单进入三级菜单显示 角色(基础权限)和按钮权限      角色(基础权限): 分角色组和角色,独立分配菜单权限和增删改查权限.      按钮权限: 给角色分配按钮权限. ...

  6. update更新修改数据

    update ---整表更新数据 update  表名  set  需要调整字段1= '值1' ,需要调整字段2= '值2'  …… ---更新条件数据 update  表名  set  需要调整字段 ...

  7. MySQL中的事件/定时任务

    转载自:http://www.cnblogs.com/chenpi/p/5137310.html 什么是事件 一组SQL集,用来执行定时任务,跟触发器很像,都是被动执行的,事件是因为时间到了触发执行, ...

  8. 初窥UIKit Dynamics

    原文来自这里. iOS7中可以方便的给物体添加动态物理特性,主要使用到UIDynamicAnimator,UIDynamicBehavior以及实现了UIDynamicItem协议的对象.在iOS7中 ...

  9. 可能是catalan数吧

    What's the number of distinct BSTs containing nodes {1, 2, 3 ,4}? 包含节点{1,2,3,4}的不同二叉搜索树有多少棵? int Num ...

  10. eclipse官方下载地址

    下载地址:  https://www.eclipse.org/downloads/packages/release/Luna/SR2 选择不同版本