{"id":2071,"date":"2021-07-13T16:11:03","date_gmt":"2021-07-13T14:11:03","guid":{"rendered":"http:\/\/www.ludovicocaldara.net\/dba\/?p=2071"},"modified":"2021-07-13T16:11:03","modified_gmt":"2021-07-13T14:11:03","slug":"fpp-tmploc","status":"publish","type":"post","link":"https:\/\/www.ludovicocaldara.net\/dba\/fpp-tmploc\/","title":{"rendered":"Changing FPP temporary directory (\/tmp in noexec and other issues)"},"content":{"rendered":"<p>When using FPP, you might experience the following error (PRVF-7546):<\/p>\n<pre class=\"lang:sh decode:true\">$ rhpctl add workingcopy -workingcopy WC_db_19_11_FPPC -image db_19_11 -path \/u01\/app\/oracle\/product\/WC_db_19_11_FPPC -client fppc -oraclebase \/u01\/app\/oracle\r\nfpps01: Audit ID: 121\r\nPRGO-1260 : Cluster Verification checks for database home provisioning  failed for the specified working copy WC_db_19_11_FPPC.\r\nPRCR-1178 : Execution of command failed on one or more nodes\r\n \r\nPRVF-7546 : The work directory \"\/tmp\/CVU_19.0.0.0.0_oracle\/\" cannot be used on node \"fppc02\"<\/pre>\n<p>This is often related to the filesystem \/tmp that has the &#8220;noexec&#8221; option:<\/p>\n<pre class=\"lang:sh decode:true\">$ mount | grep \/tmp\r\ntmpfs on \/tmp type tmpfs (rw,nosuid,nodev,noexec)<\/pre>\n<p>Although it is tempting to just remount the filesystem with &#8220;exec&#8221;, you might be in this situation because your systems are configured to adhere to the STIG recommendations:<\/p>\n<p><strong>The noexec option must be added to the \/tmp partition<\/strong> (<a href=\"https:\/\/www.stigviewer.com\/stig\/red_hat_enterprise_linux_6\/2016-12-16\/finding\/V-57569\">https:\/\/www.stigviewer.com\/stig\/red_hat_enterprise_linux_6\/2016-12-16\/finding\/V-57569)<\/a><\/p>\n<p>FPP 19.9 contains fix <strong>30885598<\/strong> that allows specifying the temporary location for FPP operations:<\/p>\n<pre class=\"lang:plsql highlight:0 decode:true \">$ srvctl modify rhpserver  -tmploc &lt;new_tmp&gt;<\/pre>\n<p>After that, the operation should run smoothly:<\/p>\n<pre class=\"lang:plsql highlight:0 decode:true \">fppc02: Successfully executed clone operation.\r\nfppc02: Executing root script on nodes ltora401,ltora402.\r\nfppc02: Successfully executed root script on nodes fppc01,fppc02.\r\nfppc02: Working copy creation completed.\r\nfppc02: Oracle home provisioned.\r\nfpps01: Client-side action completed.<\/pre>\n<p>HTH<\/p>\n<p>&#8212;<\/p>\n<p>Ludo<\/p>\n","protected":false},"excerpt":{"rendered":"<p>When using FPP, you might experience the following error (PRVF-7546): $ rhpctl add workingcopy -workingcopy WC_db_19_11_FPPC -image db_19_11 -path \/u01\/app\/oracle\/product\/WC_db_19_11_FPPC -client fppc -oraclebase \/u01\/app\/oracle fpps01: Audit ID: 121 PRGO-1260 : Cluster Verification checks for database home provisioning failed for the &hellip; <a href=\"https:\/\/www.ludovicocaldara.net\/dba\/fpp-tmploc\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[333],"tags":[317,346,337,344,347,348,345,343],"class_list":["post-2071","post","type-post","status-publish","format-standard","hentry","category-oracle-fpp","tag-fpp","tag-noexec","tag-rhp","tag-rhpctl","tag-temp","tag-tempdir","tag-tmp","tag-tmploc"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.ludovicocaldara.net\/dba\/wp-json\/wp\/v2\/posts\/2071","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ludovicocaldara.net\/dba\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ludovicocaldara.net\/dba\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ludovicocaldara.net\/dba\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ludovicocaldara.net\/dba\/wp-json\/wp\/v2\/comments?post=2071"}],"version-history":[{"count":2,"href":"https:\/\/www.ludovicocaldara.net\/dba\/wp-json\/wp\/v2\/posts\/2071\/revisions"}],"predecessor-version":[{"id":2073,"href":"https:\/\/www.ludovicocaldara.net\/dba\/wp-json\/wp\/v2\/posts\/2071\/revisions\/2073"}],"wp:attachment":[{"href":"https:\/\/www.ludovicocaldara.net\/dba\/wp-json\/wp\/v2\/media?parent=2071"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ludovicocaldara.net\/dba\/wp-json\/wp\/v2\/categories?post=2071"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ludovicocaldara.net\/dba\/wp-json\/wp\/v2\/tags?post=2071"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}