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. PHP------TP控制器

    TP控制器 打开  Home文件夹: 如果不想使用Index控制器,想新建一个自己使用的控制器,就可以在Controller文件夹下,新建一个文件(这个文件的命名规则,要按照控制器的命名规则来.第一个 ...

  2. HDU 3292 【佩尔方程求解 && 矩阵快速幂】

    任意门:http://acm.hdu.edu.cn/showproblem.php?pid=3292 No more tricks, Mr Nanguo Time Limit: 3000/1000 M ...

  3. idea教程视频以及常用插件整理

    最近在同事的强烈安利下把eclipse换成idea了,本以为需要经历一个艰难的过渡期,谁知道不到3天就深感回不去了. 哎,只能说有时候人的惰性是多么可怕! idea实在是太太太强大了. 不要再问原因. ...

  4. java和spring 线程池总结

    1. spring 的线程池 ThreadPoolTaskExecutor @Configuration public class ThreadPoolConfig { @Bean("thr ...

  5. PAT——1001. 害死人不偿命的(3n+1)猜想

    卡拉兹(Callatz)猜想: 对任何一个自然数n,如果它是偶数,那么把它砍掉一半:如果它是奇数,那么把(3n+1)砍掉一半.这样一直反复砍下去,最后一定在某一步得到n=1.卡拉兹在1950年的世界数 ...

  6. jQuery序列化Ajax提交表单

    var formData=$("form").serialize(); $.ajax({ type: "POST", url: "/front/EPt ...

  7. Impossible WHERE noticed after reading const tables

    阿里云反馈的慢SQL,执行计划返回如下:Impossible WHERE noticed after reading const tables sql很简单: SELECT * FROM deposi ...

  8. sharePoint中简单的父页面跳转子页面代码!

    1,SharePoint中挺简单的一个父页面跳转到子页面的Js代码!常常用到,每次都到以前的项目中去找代码,挺麻烦! (1)父页面代码. function imgAddParentclick() { ...

  9. MyBatis之Mapper XML 文件详解(一)

    MyBatis 的真正强大在于它的映射语句,也是它的魔力所在.由于它的异常强大,映射器的 XML 文件就显得相对简单.如果拿它跟具有相同功能的 JDBC 代码进行对比,你会立即发现省掉了将近 95% ...

  10. 【Graphql实践】使用 Apollo(iOS) 访问 Github 的 Graphql API

    最近在协助调研 Apollo 生成的代码是否有可能跨 Query 共享模型的问题,虽然初步结论是不能,并不是预期的结果,但是在调研过程中积累的一些经验,有必要记录下.如果你也对 Graphql 感兴趣 ...