{"id":945,"date":"2015-06-26T01:14:20","date_gmt":"2015-06-26T01:14:20","guid":{"rendered":"http:\/\/www.theSQLReport.com\/?p=945"},"modified":"2015-06-27T13:51:12","modified_gmt":"2015-06-27T13:51:12","slug":"after-cloning-a-12c-oracle-home-sqlplus-error-exec-0509-036","status":"publish","type":"post","link":"http:\/\/www.theSQLReport.com\/?p=945","title":{"rendered":"After Cloning a 12c Oracle Home &#8211; SQLPLUS error exec(): 0509-036"},"content":{"rendered":"<h2>Problem:<\/h2>\n<p>After cloning a 12c Oracle Home to another AIX 7.1 server, I received the following error when I started SQLPLUS.<\/p>\n<pre>$\u00a0 .\/sqlplus \/nolog\r\n exec(): 0509-036 Cannot load program sqlplus because of the following errors:\r\n rtld: 0712-001 Symbol CreateIoCompletionPort was referenced\r\n \u00a0\u00a0\u00a0\u00a0\u00a0 from module \/oracle\/12.1.0.2.2\/lib\/libttsh12.so(), but a runtime definition\r\n \u00a0\u00a0\u00a0\u00a0\u00a0 of the symbol was not found.\r\n rtld: 0712-001 Symbol GetMultipleCompletionStatus was referenced\r\n \u00a0\u00a0\u00a0\u00a0\u00a0 from module \/oracle\/12.1.0.2.2\/lib\/libttsh12.so(), but a runtime definition\r\n \u00a0\u00a0\u00a0\u00a0\u00a0 of the symbol was not found.\r\n rtld: 0712-002 fatal error: exiting.<\/pre>\n<p>&nbsp;<\/p>\n<h2>Cause:<\/h2>\n<p>The I\/O Completion Port was not correctly configured on the AIX operating system.\u00a0 The parameter is configured to its default of &#8220;Defined&#8221;, and Oracle 12c requires this parameter to be configured as &#8220;Available&#8221;.<\/p>\n<h3>Verify:<\/h3>\n<p>$ <strong>lsdev -c iocp<\/strong><\/p>\n<p><a href=\"http:\/\/www.theSQLReport.com\/wp-content\/uploads\/2015\/06\/iocp_defined.jpg\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-955 size-full\" src=\"http:\/\/www.theSQLReport.com\/wp-content\/uploads\/2015\/06\/iocp_defined.jpg\" alt=\"iocp_defined\" width=\"515\" height=\"92\" \/><\/a><\/p>\n<h2>Resolution:<\/h2>\n<p><strong>Note:<\/strong> May need to do this as (or sudo to) the root user.<\/p>\n<p>$ <strong>smitty iocp<\/strong><\/p>\n<p><a href=\"http:\/\/www.theSQLReport.com\/wp-content\/uploads\/2015\/06\/smitty_iocp.jpg\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-951 size-full\" src=\"http:\/\/www.theSQLReport.com\/wp-content\/uploads\/2015\/06\/smitty_iocp.jpg\" alt=\"smitty_iocp\" width=\"478\" height=\"95\" srcset=\"http:\/\/www.theSQLReport.com\/wp-content\/uploads\/2015\/06\/smitty_iocp.jpg 478w, http:\/\/www.theSQLReport.com\/wp-content\/uploads\/2015\/06\/smitty_iocp-300x59.jpg 300w, http:\/\/www.theSQLReport.com\/wp-content\/uploads\/2015\/06\/smitty_iocp-210x41.jpg 210w\" sizes=\"(max-width: 478px) 100vw, 478px\" \/><\/a><\/p>\n<p>The default is the highlighted &#8220;<strong>Change \/ Show\u00a0 Characteristics of I\/O Completion Ports<\/strong>&#8220;, just hit the <strong>Enter<\/strong> key.<\/p>\n<p><a href=\"http:\/\/www.theSQLReport.com\/wp-content\/uploads\/2015\/06\/change_iocp.jpg\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-948 size-full\" src=\"http:\/\/www.theSQLReport.com\/wp-content\/uploads\/2015\/06\/change_iocp.jpg\" alt=\"change_iocp\" width=\"919\" height=\"200\" srcset=\"http:\/\/www.theSQLReport.com\/wp-content\/uploads\/2015\/06\/change_iocp.jpg 919w, http:\/\/www.theSQLReport.com\/wp-content\/uploads\/2015\/06\/change_iocp-300x65.jpg 300w, http:\/\/www.theSQLReport.com\/wp-content\/uploads\/2015\/06\/change_iocp-210x45.jpg 210w\" sizes=\"(max-width: 919px) 100vw, 919px\" \/><\/a><\/p>\n<p>Hit the <strong>tab key<\/strong> to until &#8220;<strong>Available<\/strong>&#8221; is shown in the right column, then hit the &#8220;<strong>Enter<\/strong>&#8221; key.<\/p>\n<p><a href=\"http:\/\/www.theSQLReport.com\/wp-content\/uploads\/2015\/06\/change_to_available.jpg\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-966 size-full\" src=\"http:\/\/www.theSQLReport.com\/wp-content\/uploads\/2015\/06\/change_to_available.jpg\" alt=\"change_to_available\" width=\"1118\" height=\"210\" srcset=\"http:\/\/www.theSQLReport.com\/wp-content\/uploads\/2015\/06\/change_to_available.jpg 1118w, http:\/\/www.theSQLReport.com\/wp-content\/uploads\/2015\/06\/change_to_available-300x56.jpg 300w, http:\/\/www.theSQLReport.com\/wp-content\/uploads\/2015\/06\/change_to_available-1024x192.jpg 1024w, http:\/\/www.theSQLReport.com\/wp-content\/uploads\/2015\/06\/change_to_available-210x39.jpg 210w\" sizes=\"(max-width: 1118px) 100vw, 1118px\" \/><\/a><\/p>\n<p>Smitty will display a status, hit the <strong>F10<\/strong> key to exit from Smitty.<\/p>\n<p><a href=\"http:\/\/www.theSQLReport.com\/wp-content\/uploads\/2015\/06\/iocp_changed.jpg\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-950 size-full\" src=\"http:\/\/www.theSQLReport.com\/wp-content\/uploads\/2015\/06\/iocp_changed.jpg\" alt=\"iocp_changed\" width=\"970\" height=\"242\" srcset=\"http:\/\/www.theSQLReport.com\/wp-content\/uploads\/2015\/06\/iocp_changed.jpg 970w, http:\/\/www.theSQLReport.com\/wp-content\/uploads\/2015\/06\/iocp_changed-300x74.jpg 300w, http:\/\/www.theSQLReport.com\/wp-content\/uploads\/2015\/06\/iocp_changed-210x52.jpg 210w\" sizes=\"(max-width: 970px) 100vw, 970px\" \/><\/a><\/p>\n<p>Again run the following command to verify the change was made to &#8220;Available&#8221;:<\/p>\n<p>$ <strong>lsdev -c iocp<\/strong><\/p>\n<p><a href=\"http:\/\/www.theSQLReport.com\/wp-content\/uploads\/2015\/06\/verify_iocp_available.jpg\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-956 size-full\" src=\"http:\/\/www.theSQLReport.com\/wp-content\/uploads\/2015\/06\/verify_iocp_available.jpg\" alt=\"verify_iocp_available\" width=\"578\" height=\"124\" srcset=\"http:\/\/www.theSQLReport.com\/wp-content\/uploads\/2015\/06\/verify_iocp_available.jpg 578w, http:\/\/www.theSQLReport.com\/wp-content\/uploads\/2015\/06\/verify_iocp_available-300x64.jpg 300w, http:\/\/www.theSQLReport.com\/wp-content\/uploads\/2015\/06\/verify_iocp_available-210x45.jpg 210w\" sizes=\"(max-width: 578px) 100vw, 578px\" \/><\/a><\/p>\n<p>In my case, I did not need to restart the operating system.\u00a0 I was at this point able to access Oracle&#8217;s SQLPLUS.<\/p>\n<p><a href=\"http:\/\/www.theSQLReport.com\/wp-content\/uploads\/2015\/06\/SqlPlus12c.jpg\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-952 size-full\" src=\"http:\/\/www.theSQLReport.com\/wp-content\/uploads\/2015\/06\/SqlPlus12c.jpg\" alt=\"SqlPlus12c\" width=\"951\" height=\"202\" srcset=\"http:\/\/www.theSQLReport.com\/wp-content\/uploads\/2015\/06\/SqlPlus12c.jpg 951w, http:\/\/www.theSQLReport.com\/wp-content\/uploads\/2015\/06\/SqlPlus12c-300x63.jpg 300w, http:\/\/www.theSQLReport.com\/wp-content\/uploads\/2015\/06\/SqlPlus12c-210x44.jpg 210w\" sizes=\"(max-width: 951px) 100vw, 951px\" \/><\/a><\/p>\n<p>For more details: see section 3.10 of the<a title=\"Oracle Database Preinstallation Tasks\" href=\"https:\/\/docs.oracle.com\/database\/121\/AXDBI\/pre_install.htm#AXDBI8086\" target=\"_blank\"> Oracle 12c Database Pre-Installation Tasks<\/a><\/p>\n<p>Thanks to <strong><a title=\"Oracle 12.1.0.2 on AIX \u2013 rtld: 0712-001 Symbol CreateIoCompletionPort was referenced\" href=\"http:\/\/www.martinberger.com\/?p=289\" target=\"_blank\">Martin Berger&#8217;s blog<\/a><\/strong> (<a href=\"http:\/\/www.martinberger.com\/?p=289\">http:\/\/www.martinberger.com\/?p=289<\/a>).\u00a0 With the help of his blog post, I was able to resolve this issue.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Problem: After cloning a 12c Oracle Home to another AIX 7.1 server, I received the following error when I started SQLPLUS. $\u00a0 .\/sqlplus \/nolog exec(): 0509-036 Cannot load program sqlplus &hellip; <a class=\"readmore\" href=\"http:\/\/www.theSQLReport.com\/?p=945\">Continue Reading &rarr;<\/a><\/p>\n","protected":false},"author":1,"featured_media":955,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7,3],"tags":[50,48,49],"class_list":["post-945","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-aix","category-oracle","tag-aix-7-1","tag-io-completion-port","tag-iocp"],"_links":{"self":[{"href":"http:\/\/www.theSQLReport.com\/index.php?rest_route=\/wp\/v2\/posts\/945"}],"collection":[{"href":"http:\/\/www.theSQLReport.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.theSQLReport.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.theSQLReport.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.theSQLReport.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=945"}],"version-history":[{"count":10,"href":"http:\/\/www.theSQLReport.com\/index.php?rest_route=\/wp\/v2\/posts\/945\/revisions"}],"predecessor-version":[{"id":967,"href":"http:\/\/www.theSQLReport.com\/index.php?rest_route=\/wp\/v2\/posts\/945\/revisions\/967"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/www.theSQLReport.com\/index.php?rest_route=\/wp\/v2\/media\/955"}],"wp:attachment":[{"href":"http:\/\/www.theSQLReport.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=945"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.theSQLReport.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=945"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.theSQLReport.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=945"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}