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. Java实现 lower_bound() 和 upper_bound()

    Java实现 lower_bound() 和 upper_bound() lower_bound() 函数 lower_bound() 在 [begin, end) 进行二分查找,返回 大于或等于 t ...

  2. HDU 2097 sky数 (进制转化)

    传送门: Sky数 Time Limit: 1000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others)Total S ...

  3. Ubuntu下配置安装telnet server

    1.安装xinetd 以及telnetd # apt-get install xinetd telnetd 2.配置文件/etc/inetd.conf #vi /etc/inetd.conf # St ...

  4. DIAView组态软件笔记

    1.为了节省成本,我们往往会在PLC将多个开关量整合到同一个word中,这样关联的变量可以从原有的16个变成现在的一个.这样做带来的麻烦就是需要我们在脚本中自己来解析出数据,通过对2求余(mod 2) ...

  5. Selenium基本用法以及元素定位

    一.Selenium 简介 Selenium是ThroughtWorks公司一个强大的开源Web功能测试工具系列,提供一套测试函数,用于支持Web自动化测试.函数非常灵活,能够完成界面元素定位.窗口跳 ...

  6. 纯 js 实现跨域接口调用 jsonp

    开发「bufpay.com 个人即时到账收款平台」的时候,支付页面需要 poll轮询 查询订单状态. bufpay 支付接口如下: 接口地址:https://bufpay.com/api/pay/ai ...

  7. [开源]JSON文本格式化工具(简码万能助手开源扩展程序)

    现在的网站大多都是使用json进行API式前后端数据交互, 有时抓包得到的是一串没格式化的JSON文本, 不太方便分析, 所以我自行写了个开源扩展程序, 可以方便地格式化JSON文本.   当然,你也 ...

  8. Centos7验证Kickstart文件是否完整方法

    1.1    功能简介 CentOS 7 包含 ksvalidator 命令行程序,可使用该程序进行确认Kickstart文件.这个工具是 pykickstart 软件包的一部分.要安装pykicks ...

  9. 跨浏览器实现placeholder效果的jQuery插件

    曾经遇到这样一个问题,处理IE8密码框placeholder属性兼容性.几经周折,这个方案是可以解决问题的. 1.jsp页面引入js插件 <script type="text/java ...

  10. pom.xml文件报MavenArchiver错误 org.apache.maven.archiver.MavenArchiver.getManifest(org.apache.maven.project.MavenProject, org.apache.maven.archiver.MavenArchiveConfiguration)

    第一种方式 war项目 <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId> ...