6 Replies Latest reply on Mar 24, 2016 5:21 AM by 2907350

    permission issue

    2907350

      Oracle Linux 6.5

      Oracle Database 11.2.0.3

      Oracle EBSR12.2.4

       

      Hi,

       

      after post clone of EBSR12.2.4 application, it completed 100% and in the logs I am getting this:

       

      03232153/adadmrat.sql

         setting permissions: 600

         setting ownership: appltest:appltest

       

       

      instantiate file:

         source : /u01/oracle/PREPROD/fs2/EBSapps/appl/ad/12.0.0/admin/template/EBSapps_ux.env

         dest   : /u01/oracle/PREPROD/EBSapps.env

         backup : /u01/oracle/PREPROD/EBSapps.env to /u01/oracle/PREPROD/fs2/inst/apps/PREPROD_ERPPREP/admin/out/03232153/EBSapps.env

      DEBUG : The destination file does not have write permission  /u01/oracle/PREPROD/EBSapps.env

      DEBUG : Changing the permission  of the file failed

      AC-00444: Unable to write to file: java.io.FileNotFoundException: /u01/oracle/PREPROD/EBSapps.env (Permission denied)

      Raised by oracle.apps.ad.autoconfig.InstantiateProcess

      AC-00439: Creation of file /u01/oracle/PREPROD/EBSapps.env failed

      Raised by oracle.apps.ad.autoconfig.InstantiateProcess

         setting permissions: 644

      AC-00425: Setting permissions failed for file: /u01/oracle/PREPROD/EBSapps.env

      Raised by oracle.apps.ad.autoconfig.InstantiateProcess

         setting ownership: appltest:appltest

       

      Thanks

      Roshan

        • 1. Re: permission issue
          Hussein Sawwan-Oracle
          AC-00444: Unable to write to file: java.io.FileNotFoundException: /u01/oracle/PREPROD/EBSapps.env (Permission denied)

           

          As applmgr (appltest) user, can you simply create a test file? Issue "/u01/oracle/PREPROD/EBSapps_TEST.env" to confirm.

           

          If not, make sure this directory is written by applmgr/appltest user.

           

          Thanks,

          Hussein

          • 2. Re: permission issue
            2907350

            Hi,

             

            thanks for the tips. I have given chmod 777 to PREPROD and it worked.

             

            After the clone completed, it faied to start OHS. When I started it manually using adapcctl I got

             

             

             

            03/23/16-23:33:32 :: adapcctl.sh version 120.0.12020000.6

            03/23/16-23:33:32 :: adapcctl.sh: starting OPMN if it is not running

             

             

            opmnctl start: opmn is already running.

             

             

            03/23/16-23:33:32 :: adapcctl.sh: starting OPMN managed OHS instance

             

             

            opmnctl startproc: starting opmn managed processes...

            ================================================================================

            opmn id=ERPPREP.sunresort.local:6701

            Response: 0 of 1 processes started.

             

             

            ias-instance id=EBS_web_PREPROD_OHS1

            ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

            --------------------------------------------------------------------------------

            ias-component/process-type/process-set:

              EBS_web_PREPROD/OHS/OHS/

             

             

            Error

            --> Process (index=1,uid=1851522771,pid=1207)

              failed to get an IP for the hostname

              failed to start a managed process after the maximum retry limit

              failed to get an IP for the hostname

              Log:

              /u01/oracle/PREPROD/fs2/FMW_Home/webtier/instances/EBS_web_PREPROD_OHS1/diagnostics/logs/OHS/EBS_web_PREPROD/console~OHS~1.log

             

             

             

             

            03/23/16-23:33:42 :: adapcctl.sh: exiting with status 204

             

             

            ================================================================================

            • 3. Re: permission issue
              Hussein Sawwan-Oracle

              Error

              --> Process (index=1,uid=1851522771,pid=1207)

                failed to get an IP for the hostname

                failed to start a managed process after the maximum retry limit

                failed to get an IP for the hostname

                Log:

                /u01/oracle/PREPROD/fs2/FMW_Home/webtier/instances/EBS_web_PREPROD_OHS1/diagnostics/logs/OHS/EBS_web_PREPROD/console~OHS~1.log

               

              Do you have a proper entry in the hosts file?

               

              Any details about the error in the log file?

               

              Thanks,

              Hussein

              • 4. Re: permission issue
                2907350

                Here is my complete entry in hosts file:

                Capture.PNG

                 

                 

                I do not see any errors in the log. It says check in the log file containing the ip error

                • 5. Re: permission issue
                  Ramaraju

                  Hi,

                  Please make sure /etc/hosts entries like below. Do not disable localhost details.

                  Enable localhost details and try again.

                   

                  127.0.0.1localhost.localdomain localhost
                  ::1localhost6.localdomain6 localhost6
                  100.103.111.187ebsr12.mycompany.comebsr12

                   

                  Thanks,

                  Ramaraju

                  1 person found this helpful
                  • 6. Re: permission issue
                    2907350

                    Thanks. It worked