permission issue

classic Classic list List threaded Threaded
40 messages Options
12
Reply | Threaded
Open this post in threaded view
|

permission issue

Roshan
Hi,

when I am running the post clone for application EBSR12.2.4, it completed 100% but failed.

   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,
Reply | Threaded
Open this post in threaded view
|

Re: permission issue

ErmanArslansOracleBlog
Administrator
Correct the permission.
chown and chmod are your friends.
Check permissions of  /u01/oracle/PREPROD. It should be writeable by application os owner(applmgr)
Reply | Threaded
Open this post in threaded view
|

Re: permission issue

Roshan
Thanks. But in /u01/oracle/PREPROD I have the database folder(db). It has oratest:oinstall permission. If I do chown -R appltest:appltest /u01/oracle/PREPROD, will it affect the database?
Reply | Threaded
Open this post in threaded view
|

Re: permission issue

ErmanArslansOracleBlog
Administrator
I dont have the details, but use this ;

chmod 777 /u01/oracle/PREPROD

Dont use "-R"
Reply | Threaded
Open this post in threaded view
|

Re: permission issue

Roshan
Thanks. I already did it. It was able to write. Now I am getting error for the OHS configuration. I cannot find error in the log

clone.rar

ApplyAppsTier_03232301 and ohsT2PApply
Reply | Threaded
Open this post in threaded view
|

Re: permission issue

ErmanArslansOracleBlog
Administrator
In reply to this post by ErmanArslansOracleBlog

SEVERE : Mar 23, 2016 11:28:46 PM - ERROR - CLONE-20218   Cloning is not successful.
SEVERE : Mar 23, 2016 11:28:46 PM - CAUSE - CLONE-20218   An internal operation failed.
SEVERE : Mar 23, 2016 11:28:46 PM - ACTION - CLONE-20218   Provide the clone log and error file for investigation.
oracle.as.t2p.exceptions.FMWT2PPasteConfigException: java.lang.Exception: Unable to start OHS Component.

-----

START: Instantiating the OHS Config.
Running /u01/oracle/PREPROD/fs2/FMW_Home/webtier/perl/bin/perl  -I/u01/oracle/PREPROD/fs2/FMW_Home/webtier/perl/lib/5.10.0 -I/u01/oracle/PREPROD/fs2/FMW_Home/webtier/perl/lib/site_perl/5.10.0 -I/u01/oracle/PREPROD/fs2/EBSapps/appl/au/12.0.0/perl -I/u01/oracle/PREPROD/fs2/FMW_Home/webtier/ohs/mod_perl/lib/site_perl/5.10.0/x86_64-linux-thread-multi /u01/oracle/PREPROD/fs2/EBSapps/appl/fnd/12.0.0/patch/115/bin/txkSetOHSConfig.pl cfgCloneInstance -ctxfile=/u01/oracle/PREPROD/fs2/inst/apps/PREPROD_ERPPREP/appl/admin/PREPROD_ERPPREP.xml -archvloc=/u01/oracle/PREPROD/fs2/EBSapps/comn/clone/FMW/OHS/ohsarchive.jar -mvpln=/u01/oracle/PREPROD/fs2/EBSapps/comn/clone/FMW/OHS/moveplan.xml -t2plogloc=/u01/oracle/PREPROD/fs2/inst/apps/PREPROD_ERPPREP/admin/log/clone/ohsT2PApply -logdir=/u01/oracle/PREPROD/fs2/inst/apps/PREPROD_ERPPREP/admin/log/clone -console=off -promptmsg=hide
Script Executed in 35254 milliseconds, returning status 255
ERROR: Script failed, exit code 255
Reply | Threaded
Open this post in threaded view
|

Re: permission issue

ErmanArslansOracleBlog
Administrator
This is again permission issue.

Set the fs2 environment and try to start apache(oracle http server) yourself manually, you will see the error.
then you will correct the permissions and retry your failing operation.
Reply | Threaded
Open this post in threaded view
|

Re: permission issue

Roshan
In reply to this post by ErmanArslansOracleBlog
I have seen it but it does not give precise details why it failed.
Reply | Threaded
Open this post in threaded view
|

Re: permission issue

ErmanArslansOracleBlog
Administrator
This is again permission issue.

Set the fs2 environment and try to start apache(oracle http server) yourself manually, you will see the error.
then you will correct the permissions and retry your failing operation.
Reply | Threaded
Open this post in threaded view
|

Re: permission issue

Roshan
In reply to this post by ErmanArslansOracleBlog
adapcctl.txt gives me:

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
Reply | Threaded
Open this post in threaded view
|

Re: permission issue

ErmanArslansOracleBlog
Administrator
1)Your /etc/hosts file includes the hostname right?
2)Is this system SSL enabled?
Reply | Threaded
Open this post in threaded view
|

Re: permission issue

ErmanArslansOracleBlog
Administrator
Just execute these , and retry:

chown root $FMW_HOME/webtier/ohs/bin/.apachectl
chmod 6750 $FMW_HOME/webtier/ohs/bin/.apachectl
Reply | Threaded
Open this post in threaded view
|

Re: permission issue

Roshan
In reply to this post by ErmanArslansOracleBlog
Yes. My hostname in /etc/hosts is correct.
172.25.43.147 ERPPREP.sunresort.local ERPPREP

I gave hostname ERPPREP and domain sunresort.local during configuration.

SSL I do not know
Reply | Threaded
Open this post in threaded view
|

Re: permission issue

Roshan
In reply to this post by ErmanArslansOracleBlog
are you sure as root? For application I have appltest:appltest
Reply | Threaded
Open this post in threaded view
|

Re: permission issue

ErmanArslansOracleBlog
Administrator
Execute commands;

chown root $FMW_HOME/webtier/ohs/bin/.apachectl
chmod 6750 $FMW_HOME/webtier/ohs/bin/.apachectl

Execute these commands in run filesystem and set run filesystem and start all the services.
Reply | Threaded
Open this post in threaded view
|

Re: permission issue

ErmanArslansOracleBlog
Administrator
Yes. I m sure about root
Reply | Threaded
Open this post in threaded view
|

Re: permission issue

Roshan
In reply to this post by ErmanArslansOracleBlog
same error
Reply | Threaded
Open this post in threaded view
|

Re: permission issue

ErmanArslansOracleBlog
Administrator
set the RUN filesystem environment
Start apache and send me ohs /apache start log file.
Reply | Threaded
Open this post in threaded view
|

Re: permission issue

Roshan
Reply | Threaded
Open this post in threaded view
|

Re: permission issue

ErmanArslansOracleBlog
Administrator
Send me this log:

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