{"id":82,"date":"2016-06-08T11:14:31","date_gmt":"2016-06-08T11:14:31","guid":{"rendered":"http:\/\/www.enhisecure.com\/isecureblog\/?p=82"},"modified":"2016-07-14T19:37:06","modified_gmt":"2016-07-14T15:07:06","slug":"oracle-database-installation-circumventing-the-requirement-for-pdksh-package","status":"publish","type":"post","link":"https:\/\/www.enhisecure.com\/isecureblog\/2016\/06\/08\/oracle-database-installation-circumventing-the-requirement-for-pdksh-package\/","title":{"rendered":"Oracle Database Installation &#8211; Circumventing the requirement for pdksh package"},"content":{"rendered":"<p>&nbsp;<\/p>\n<p><a href=\"http:\/\/www.oracle.com\/technetwork\/database\/database-technologies\/express-edition\/documentation\/index.html\">Oracle Database 11G R2<\/a> has many packages as dependencies. Amongst such packages is <a href=\"http:\/\/www.cs.mun.ca\/~michael\/pdksh\/\">pdksh<\/a> packages which is no longer a part of yum repositories. The <a href=\"http:\/\/www.cs.mun.ca\/~michael\/pdksh\/\">pdksh<\/a>\u00a0is not \u00a0needed as long as your <a href=\"http:\/\/www.kornshell.com\/\">ksh<\/a> package is installed. <a href=\"https:\/\/www.oracle.com\/linux\/index.html\">Oracle Linux<\/a> has <a href=\"http:\/\/www.kornshell.com\/\">ksh<\/a> installed by default. Trying to install the <a href=\"http:\/\/www.cs.mun.ca\/~michael\/pdksh\/\">pdksh<\/a> using <a href=\"https:\/\/en.wikipedia.org\/wiki\/RPM_Package_Manager\">rpm<\/a> could cause a conflict between these packages.<\/p>\n<p>Problems with <a href=\"http:\/\/www.cs.mun.ca\/~michael\/pdksh\/\">pdksh<\/a>\u00a0could be easily resolved by modifying the configuration of the verification utility of the oracle database. By default, this utility assumes that the Linux distribution being used is <a href=\"https:\/\/www.oracle.com\/linux\/index.html\">OEL<\/a>4. All the dependencies were verified considering the <a href=\"https:\/\/www.oracle.com\/linux\/index.html\">OEL<\/a>4. Changing the value of Linux distribution being used could solve the problem with pdksh. If you are using<a href=\"https:\/\/www.oracle.com\/linux\/index.html\"> OEL<\/a> 6, change the value of Linux distribution <a href=\"https:\/\/www.oracle.com\/linux\/index.html\">OEL<\/a>6. Similarly if you are using <a href=\"https:\/\/www.oracle.com\/linux\/index.html\">OEL<\/a> 7 , change the value of Linux distribution to <a href=\"https:\/\/www.oracle.com\/linux\/index.html\">OEL<\/a>7.<\/p>\n<p>&nbsp;<\/p>\n<p>Following are the exact instructions regarding the procedure.<\/p>\n<p>&nbsp;<\/p>\n<p>Let \u00a0 &lt;db_extract&gt; \u00a0\u00a0\u00a0\u00a0 be the location of your database extract.<\/p>\n<pre>cd\u00a0\u00a0 &lt;db_extract&gt;\/database\/stage\/cvu\/admin\/\r\n\r\nvim cvu_config<\/pre>\n<p>The following screenshots guide you regarding the same:<\/p>\n<p>&nbsp;<\/p>\n<ol>\n<li>Navigating to the required directory<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-111\" src=\"http:\/\/www.enhisecure.com\/isecureblog\/wp-content\/uploads\/2016\/06\/PDKSHNEW1-1.png\" alt=\"PDKSHNEW1\" width=\"645\" height=\"231\" srcset=\"https:\/\/www.enhisecure.com\/isecureblog\/wp-content\/uploads\/2016\/06\/PDKSHNEW1-1.png 645w, https:\/\/www.enhisecure.com\/isecureblog\/wp-content\/uploads\/2016\/06\/PDKSHNEW1-1-300x107.png 300w\" sizes=\"auto, (max-width: 645px) 100vw, 645px\" \/><\/li>\n<li>Default cvu_config<\/li>\n<\/ol>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-112\" src=\"http:\/\/www.enhisecure.com\/isecureblog\/wp-content\/uploads\/2016\/06\/PDKSHNEW2.png\" alt=\"PDKSHNEW2\" width=\"663\" height=\"235\" srcset=\"https:\/\/www.enhisecure.com\/isecureblog\/wp-content\/uploads\/2016\/06\/PDKSHNEW2.png 663w, https:\/\/www.enhisecure.com\/isecureblog\/wp-content\/uploads\/2016\/06\/PDKSHNEW2-300x106.png 300w\" sizes=\"auto, (max-width: 663px) 100vw, 663px\" \/><\/p>\n<p>3.Modified cvu_config<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-113\" src=\"http:\/\/www.enhisecure.com\/isecureblog\/wp-content\/uploads\/2016\/06\/PDKSHNEW3.png\" alt=\"PDKSHNEW3\" width=\"478\" height=\"195\" srcset=\"https:\/\/www.enhisecure.com\/isecureblog\/wp-content\/uploads\/2016\/06\/PDKSHNEW3.png 478w, https:\/\/www.enhisecure.com\/isecureblog\/wp-content\/uploads\/2016\/06\/PDKSHNEW3-300x122.png 300w\" sizes=\"auto, (max-width: 478px) 100vw, 478px\" \/><\/p>\n<p>You should be finding a property named CVU_ASSUME_DISTID whose default value is <a href=\"https:\/\/www.oracle.com\/linux\/index.html\">OEL<\/a>4<\/p>\n<p>If you are using <a href=\"https:\/\/www.oracle.com\/linux\/index.html\">OEL6 <\/a>change it to <a href=\"https:\/\/www.oracle.com\/linux\/index.html\">OEL6<\/a>. If you are using <a href=\"https:\/\/www.oracle.com\/linux\/index.html\">OEL7<\/a> change it to<a href=\"https:\/\/www.oracle.com\/linux\/index.html\"> OEL<\/a>7.<\/p>\n<p>Restart the configuration utility and you should not be finding the requirement for <a href=\"http:\/\/www.cs.mun.ca\/~michael\/pdksh\/\">pdksh<\/a> anymore.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp; Oracle Database 11G R2 has many packages as dependencies. Amongst such packages is pdksh packages which is no longer a part of yum repositories. The pdksh\u00a0is not \u00a0needed as long as your ksh package is installed. Oracle Linux has ksh installed by default. Trying to install the pdksh using rpm could cause a conflict [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[16],"tags":[],"class_list":["post-82","post","type-post","status-publish","format-standard","hentry","category-technology"],"_links":{"self":[{"href":"https:\/\/www.enhisecure.com\/isecureblog\/wp-json\/wp\/v2\/posts\/82","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.enhisecure.com\/isecureblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.enhisecure.com\/isecureblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.enhisecure.com\/isecureblog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.enhisecure.com\/isecureblog\/wp-json\/wp\/v2\/comments?post=82"}],"version-history":[{"count":7,"href":"https:\/\/www.enhisecure.com\/isecureblog\/wp-json\/wp\/v2\/posts\/82\/revisions"}],"predecessor-version":[{"id":131,"href":"https:\/\/www.enhisecure.com\/isecureblog\/wp-json\/wp\/v2\/posts\/82\/revisions\/131"}],"wp:attachment":[{"href":"https:\/\/www.enhisecure.com\/isecureblog\/wp-json\/wp\/v2\/media?parent=82"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.enhisecure.com\/isecureblog\/wp-json\/wp\/v2\/categories?post=82"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.enhisecure.com\/isecureblog\/wp-json\/wp\/v2\/tags?post=82"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}