{"id":484,"date":"2024-05-03T03:29:12","date_gmt":"2024-05-02T19:29:12","guid":{"rendered":"https:\/\/www.lisq.net\/?p=484"},"modified":"2024-05-04T08:09:05","modified_gmt":"2024-05-04T00:09:05","slug":"11-2-0-4-rac-on-oel9-2","status":"publish","type":"post","link":"https:\/\/www.lisq.net\/?p=484","title":{"rendered":"11.2.0.4 RAC on OEL9.2"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">\u4e3b\u673a\u51c6\u5907<\/h2>\n\n\n\n<p>OEL 9.2 \u8981\u9009RHCK\u7684\u5185\u6838<\/p>\n\n\n\n<p><code>[grid@cluster04-db01 ~]$ uname -sr<\/code><br><code>Linux 5.14.0-284.11.1.el9_2.x86_64<\/code><\/p>\n\n\n\n<p>\u4e00\u822cRAC\u5b9e\u65bd\u7684\u51c6\u5907\u5de5\u4f5c\uff08\u78c1\u76d8\u7ec4\u3001\u5173\u95ed\u9632\u706b\u5899\u7b49\u7b49\uff09<\/p>\n\n\n\n<p>GI 19.23.0.0.240416 (36233263)<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u9047\u5230\u95ee\u9898\u95ee\u9898<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">\u4e00\u3001\u9700\u8981\u624b\u52a8\u5b89\u88c5\u4e00\u4e9b\u5305\u6bd4\u5982<\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code> wget https:\/\/yum.oracle.com\/repo\/OracleLinux\/OL7\/latest\/x86_64\/getPackage\/compat-libstdc++-33-3.2.3-72.el7.x86_64.rpm\ndnf install compat-libstdc++-33-3.2.3-72.el7.x86_64.rpm \ndnf install gcc-c++\ndnf install elfutils-libelf-devel\ndnf install libaio-devel<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">\u4e8c\u3001\u4e00\u4e9b\u52a8\u6001\u5e93\u8981\u624b\u52a8\u4fee\u4e00\u4e0b<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>1\u3001 libclntshcore.so<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code> Failed to link libclntshcore.so.12.1<\/code><\/pre>\n\n\n\n<p>\u53c2\u8003 <a href=\"https:\/\/gitee.com\/src-openeuler\/glibc\/issues\/I5F6U6\">https:\/\/gitee.com\/src-openeuler\/glibc\/issues\/I5F6U6<\/a> \u7ed9\u6587\u4ef6\u505a\u4e2alink<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>libpthread_nonshared.a\u8fd9\u4e2a\u6587\u4ef6\u662f\u4e2a\u7a7a\u6587\u4ef6\uff0c\u4e34\u65f6\u7684\u89c4\u907f\u65b9\u6848\u9009\u62e9\u5982\u4e0b\u4e4b\u4e00\u5904\u7406\uff1a\n\n    glibc-devel\u5305\u4e2d\u6709libpthread.a\uff0c\u53ef\u4ee5\u5efa\u4e2a\u8f6f\u8fde\u63a5\u8fc7\u53bb\u3002ln -s libpthread.a libpthread_nonshared.a\n    ar cr \/usr\/lib64\/libpthread_nonshared.a\u751f\u6210\u4e00\u4e2a\u7a7a\u7684\u9759\u6001\u6587\u4ef6\u3002\n<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li>2\u3001ins_precomp<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>APPLIES TO:\nOracle Database - Enterprise Edition - Version 11.2.0.4 and later\nInformation in this document applies to any platform.\nSYMPTOMS\nWhile installing 11.2.0.4 binary on RHEL8.6, relink issues are seen as below :\n\nmake&#91;1]: Entering directory '&lt;ORACLE_HOME&gt;\/product\/precomp\/lib' Linking &lt;ORACLE_HOME&gt;\/precomp\/lib\/proc \/\/usr\/lib64\/libaio.so.1: undefined reference to `__stack_chk_fail@GLIBC_2.4' collect2: error: ld returned 1 exit status \/bin\/chmod: cannot access '&lt;ORACLE_HOME&gt;\/precomp\/lib\/proc': No such file or directory make&#91;1]: *** &#91;&lt;ORACLE_HOME&gt;\/precomp\/lib\/ins_precomp.mk:118: &lt;ORACLE_HOME&gt;\/precomp\/lib\/proc] Error 1 make&#91;1]: Leaving directory '\/ORACLE\/11.2.0.4\/product\/precomp\/lib' make: *** &#91;\/ORACLE\/11.2.0.4\/product\/precomp\/lib\/ins_precomp.mk:28: proc] Error 2 Error in invoking target 'links proc gen_pcscfg' of makefile '&lt;ORACLE_HOME&gt;\/precomp\/lib\/ins_precomp.mk'. See '&lt;ORACLE_HOME&gt;\/install\/relinkActions2023-02-16_03-01-23-PM.log' for details.<\/code><\/pre>\n\n\n\n<p>\u53c2\u8003 <a href=\"http:\/\/www.hcdba.cc\/?p=664\">http:\/\/www.hcdba.cc\/?p=664<\/a> <\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>3.invoking target &#8216;agent nmhs&#8217; of makefile ins_emagent.mk <\/li>\n<\/ul>\n\n\n\n<p>\u53c2\u8003 <a href=\"http:\/\/www.hcdba.cc\/?p=664\">http:\/\/www.hcdba.cc\/?p=664<\/a> <\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>4.PRVF-4037 : CRS is not installed on any of the nodes<\/li>\n<\/ul>\n\n\n\n<p>\u53c2\u8003 <strong>RAC RDBMS Installation fails with Error:&#8221;PRVF-4037 : CRS is not installed on any of the nodes&#8221; (\u6587\u6863 ID 2315020.1)<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>.\/runInstaller  -updateNodeList ORACLE_HOME=\"\/u01\/app\/19.3.0\/grid\/\" \"CLUSTER_NODES={cluster04-db01,cluster04-db02}\" CRS=true<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">\u4e09\u3001\u4e00\u4e9b\u672a\u77e5\u95ee\u9898<\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li>scp\u5728\u4ee3\u7801\u4e2d\u5931\u6548\uff0c\u5bfc\u81f4\u7b49\u6548\u6821\u9a8c\u65e0\u6cd5\u901a\u8fc7<\/li>\n<\/ol>\n\n\n\n<p>\u6bd4\u5982\u5728\u914d\u7f6e\u4e24\u8282\u70b9\u7b49\u6548\u540e\uff0c\u4e0b\u4e00\u6b65\u63d0\u793a\u8fdc\u7a0b\u6821\u9a8c\u5931\u8d25\uff0cdebug\u770b\u662f\u65e0\u6cd5scp\u590d\u5236\u6587\u4ef6\u5230\u8fdc\u7aef\u8282\u70b9\uff0c\u5373\u4f7f\u624b\u52a8scp\u8fc7\u53bb\uff0c\u91cd\u8bd5\u7684\u8fc7\u7a0b\u4e2d\u4f1a\u5220\u9664\u8fdc\u7aef\u7684\u76ee\u5f55<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&#91;Worker 1] &#91; 2024-05-01 18:03:08.306 CST ] &#91;RuntimeExec.runCommand:75]  Calling Runtime.exec() with the command \n&#91;Worker 1] &#91; 2024-05-01 18:03:08.306 CST ] &#91;RuntimeExec.runCommand:77]  \/usr\/bin\/scp \n&#91;Worker 1] &#91; 2024-05-01 18:03:08.306 CST ] &#91;RuntimeExec.runCommand:77]  -p \n&#91;Worker 1] &#91; 2024-05-01 18:03:08.306 CST ] &#91;RuntimeExec.runCommand:77]  \/opt\/media\/database\/install\/..\/stage\/cvu\/\/cv\/remenv\/runfixup.sh \n&#91;Worker 1] &#91; 2024-05-01 18:03:08.307 CST ] &#91;RuntimeExec.runCommand:77]  cluster04-db02:'\/tmp\/\/CVU_11.2.0.4.0_oracle\/runfixup.sh' \n&#91;Thread-1468] &#91; 2024-05-01 18:03:08.316 CST ] &#91;StreamReader.run:61]  In StreamReader.run \n&#91;Worker 1] &#91; 2024-05-01 18:03:08.321 CST ] &#91;RuntimeExec.runCommand:142]  runCommand: Waiting for the process\n&#91;Thread-1467] &#91; 2024-05-01 18:03:08.321 CST ] &#91;StreamReader.run:61]  In StreamReader.run \n&#91;Thread-1468] &#91; 2024-05-01 18:03:08.696 CST ] &#91;StreamReader.run:65]  ERROR&gt;dest open(\"'\/tmp\/\/CVU_11.2.0.4.0_oracle\/runfixup.sh'\"): No such file or directory\n&#91;Thread-1468] &#91; 2024-05-01 18:03:08.697 CST ] &#91;StreamReader.run:65]  ERROR&gt;failed to upload file \/opt\/media\/database\/install\/..\/stage\/cvu\/\/cv\/remenv\/runfixup.sh to '\/tmp\/\/CVU_11.2.0.4.0_oracle\/runfixup.sh'<\/code><\/pre>\n\n\n\n<p>\u89e3\u51b3\u65b9\u6cd5\u662f\u7528for\u5faa\u73af\u6765\u81ea\u52a8\u590d\u5236\u6587\u4ef6\u5230\u8fdc\u7a0b<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>for((i=1;i&lt;=10000;i++)); do  scp -pr  \/tmp\/CVU_11.2.0.4.0_oracle\/* cluster04-db02:\/tmp\/CVU_11.2.0.4.0_oracle\/ ;  done<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li>2. scp\u5728\u4ee3\u7801\u4e2d\u5931\u6548\uff0c\u5bfc\u81f4oraclehome\u6ca1\u6709\u590d\u5236\u5230\u8fdc\u7aef<\/li>\n<\/ul>\n\n\n\n<p>ui\u9875\u9762\u4e0a\u63d0\u793a\u9700\u8981\u6267\u884c runInstaller -attachHome \uff0c\u5b9e\u9645\u4e0a\u8fdc\u7aef\u8282\u70b9\u90fd\u6ca1\u6709\u83b7\u53d6\u5230\u6587\u4ef6\uff0c\u624b\u52a8scp home \u5230\u8fdc\u7aef\u8282\u70b9\u540e\uff0c\u6267\u884c\u811a\u672c\u5c31\u53ef\u4ee5\u4e86<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code> \/u01\/app\/oracle\/product\/11.2.0.4\/db_1\/oui\/bin\/runInstaller -attachHome -noClusterEnabled ORACLE_HOME=\/u01\/app\/oracle\/product\/11.2.0.4\/db_1 ORACLE_HOME_NAME=OraDb11g_home1 CLUSTER_NODES=cluster04-db01,cluster04-db02 \"INVENTORY_LOCATION=\/u01\/app\/oraInventory\" LOCAL_NODE=\"cluster04-db02\"\nStarting Oracle Universal Installer...\n\nChecking swap space: must be greater than 500 MB.   Actual 8187 MB    Passed\nThe inventory pointer is located at \/etc\/oraInst.loc\nThe inventory is located at \/u01\/app\/oraInventory\n'AttachHome' was successful.<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u4e3b\u673a\u51c6\u5907 OEL 9.2 \u8981\u9009RHCK\u7684\u5185\u6838 [grid@c &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"enabled":false},"version":2}},"categories":[2],"tags":[],"class_list":["post-484","post","type-post","status-publish","format-standard","hentry","category-oracle"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p7zRbQ-7O","_links":{"self":[{"href":"https:\/\/www.lisq.net\/index.php?rest_route=\/wp\/v2\/posts\/484","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.lisq.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.lisq.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.lisq.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.lisq.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=484"}],"version-history":[{"count":4,"href":"https:\/\/www.lisq.net\/index.php?rest_route=\/wp\/v2\/posts\/484\/revisions"}],"predecessor-version":[{"id":489,"href":"https:\/\/www.lisq.net\/index.php?rest_route=\/wp\/v2\/posts\/484\/revisions\/489"}],"wp:attachment":[{"href":"https:\/\/www.lisq.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=484"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.lisq.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=484"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.lisq.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=484"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}