设为首页 收藏本站
查看: 1065|回复: 0

[经验分享] EBS R12 修改 apps 密码[Z]

[复制链接]

尚未签到

发表于 2015-9-23 09:11:37 | 显示全部楼层 |阅读模式
  注意:
修改密码时应保证所有用户已退出, 最好是关闭应用实例。不用关闭数据库。在修改密码之前一定要改备下数据库中的FND_ORACLE_USERID和FND_USER表。
FNDCPASS工具会自动把APPS用户的密码和APPLSYS用户的密码和APPLSYS用户的密码同步设置成一样的。
在修改完APPLSYS和APPS用户的密码后, 需要重新启动并发管理器。
在修改完APPLSYS和APPS用户的密码后,要求将已经处在登录状态的用户完全退出, 然后重新登录。
修改APPS用户的密码不支持直接在数据库中使用ALTER USER 命令。
在任何情况下,都不能直接使用操纵数据库的密码去直接修改APPS用户密码。
一定要用FNDCPASS去修改APPS密码, 在ORACLE 12.1.2中可以用AFPASSWD命令。
在修改密码过程中,要仔细,反复确认FNDCPASS日志,如果在FNDCPASS日志中发现了任何错误信息,在没弄清楚错误原因之前不要手动去运行AUTOCONFIG命令。
在修改用户密码过程中,如果出现ERP系统不能登录的问题, 不要再随便运行AUTOCONFIG命讼。
  密码修改失败以后修复办法:



[sql] view plaincopy

  • truncate table fnd_user;  
  • truncate table fnd_oracle_userid;  
  • insert into fnd_user select * from 前面的备份表;  
  • insert into fnd_oracle_userid select * from ......;  
  • commit;  
  
修改案例:
1. 停止实例:



[sql] view plaincopy

  • [ebsapp@gd1ebs132 ~]$ /u01/PROD/PROD/inst/apps/PROD_gd1ebs132/admin/scripts/adstpall.sh apps/apps  
  •   
  • You are running adstpall.sh version 120.10.12010000.4  
  •   
  • The logfile for this session is located at /u01/PROD/PROD/inst/apps/PROD_gd1ebs132/logs/appl/admin/log/adstpall.log  
  • Executing service control script:  
  • /u01/PROD/PROD/inst/apps/PROD_gd1ebs132/admin/scripts/jtffmctl.sh stop  
  • script returned:  
  • ****************************************************  
  •   
  • You are running jtffmctl.sh version 120.3  
  •   
  • Shutting down Fulfillment Server for PROD on port 9307 ...  
  •   
  • jtffmctl.sh: exiting with status 0  
  •   
  •   
  • .end std out.  
  •   
  • .end err out.  
  •   
  • ****************************************************  
  •   
  •   
  • Executing service control script:  
  • /u01/PROD/PROD/inst/apps/PROD_gd1ebs132/admin/scripts/adcmctl.sh stop  
  • script returned:  
  • ****************************************************  
  •   
  • You are running adcmctl.sh version 120.17.12010000.5  
  •   
  • Shutting down concurrent managers for PROD ...  
  • ORACLE Password:  
  • Submitted request 403157 for CONCURRENT FND SHUTDOWN   
  •   
  •   
  • adcmctl.sh: exiting with status 0  
  •   
  •   
  • adcmctl.sh: check the logfile /u01/PROD/PROD/inst/apps/PROD_gd1ebs132/logs/appl/admin/log/adcmctl.txt for more information ...   
  •   
  •   
  • .end std out.  
  •   
  • .end err out.  
  •   
  • ****************************************************  
  •   
  •   
  • Executing service control script:  
  • /u01/PROD/PROD/inst/apps/PROD_gd1ebs132/admin/scripts/adoafmctl.sh stop  
  • script returned:  
  • ****************************************************  
  •   
  • You are running adoafmctl.sh version 120.8  
  •   
  • Stopping OPMN managed OAFM OC4J instance ...  
  •   
  • adoafmctl.sh: exiting with status 0  
  •   
  • adoafmctl.sh: check the logfile /u01/PROD/PROD/inst/apps/PROD_gd1ebs132/logs/appl/admin/log/adoafmctl.txt for more information ...   
  •   
  •   
  • .end std out.  
  •   
  • .end err out.  
  •   
  • ****************************************************  
  •   
  •   
  • Executing service control script:  
  • /u01/PROD/PROD/inst/apps/PROD_gd1ebs132/admin/scripts/adformsctl.sh stop  
  • script returned:  
  • ****************************************************  
  •   
  • You are running adformsctl.sh  version 120.16.12010000.3  
  •   
  • Stopping OPMN managed FORMS OC4J instance  ...  
  •   
  • adformsctl.sh: exiting with status 0  
  •   
  • adformsctl.sh: check the logfile /u01/PROD/PROD/inst/apps/PROD_gd1ebs132/logs/appl/admin/log/adformsctl.txt for more information ...   
  •   
  •   
  • .end std out.  
  •   
  • .end err out.  
  •   
  • ****************************************************  
  •   
  •   
  • Executing service control script:  
  • /u01/PROD/PROD/inst/apps/PROD_gd1ebs132/admin/scripts/adoacorectl.sh stop  
  • script returned:  
  • ****************************************************  
  •   
  • You are running adoacorectl.sh version 120.13  
  •   
  • Stopping OPMN managed OACORE OC4J instance ...  
  •   
  • adoacorectl.sh: exiting with status 0  
  •   
  • adoacorectl.sh: check the logfile /u01/PROD/PROD/inst/apps/PROD_gd1ebs132/logs/appl/admin/log/adoacorectl.txt for more information ...   
  •   
  •   
  • .end std out.  
  •   
  • .end err out.  
  •   
  • ****************************************************  
  •   
  •   
  • Executing service control script:  
  • /u01/PROD/PROD/inst/apps/PROD_gd1ebs132/admin/scripts/adapcctl.sh stop  
  • script returned:  
  • ****************************************************  
  •   
  • You are running adapcctl.sh version 120.7.12010000.2  
  •   
  • Stopping OPMN managed Oracle HTTP Server (OHS) instance ...  
  • opmnctl: stopping opmn managed processes...  
  •   
  • adapcctl.sh: exiting with status 0  
  •   
  • adapcctl.sh: check the logfile /u01/PROD/PROD/inst/apps/PROD_gd1ebs132/logs/appl/admin/log/adapcctl.txt for more information ...   
  •   
  •   
  • .end std out.  
  •   
  • .end err out.  
  •   
  • ****************************************************  
  •   
  •   
  • Executing service control script:  
  • /u01/PROD/PROD/inst/apps/PROD_gd1ebs132/admin/scripts/adalnctl.sh stop  
  • script returned:  
  • ****************************************************  
  •   
  • adalnctl.sh version 120.3  
  •   
  • Shutting down listener process APPS_PROD.  
  •   
  • adalnctl.sh: exiting with status 0  
  •   
  •   
  • adalnctl.sh: check the logfile /u01/PROD/PROD/inst/apps/PROD_gd1ebs132/logs/appl/admin/log/adalnctl.txt for more information ...   
  •   
  •   
  • .end std out.  
  •   
  • .end err out.  
  •   
  • ****************************************************  
  •   
  •   
  • Executing service control script:  
  • /u01/PROD/PROD/inst/apps/PROD_gd1ebs132/admin/scripts/adopmnctl.sh stop  
  • script returned:  
  • ****************************************************  
  •   
  • You are running adopmnctl.sh version 120.6.12010000.5  
  •   
  • Stopping Oracle Process Manager (OPMN)  and the managed processes ...  
  • opmnctl: stopping opmn and all managed processes...  
  •   
  • adopmnctl.sh: exiting with status 0  
  •   
  • adopmnctl.sh: check the logfile /u01/PROD/PROD/inst/apps/PROD_gd1ebs132/logs/appl/admin/log/adopmnctl.txt for more information ...   
  •   
  •   
  • .end std out.  
  •   
  • .end err out.  
  •   
  • ****************************************************  
  •   
  •   
  • All enabled services on this node are stopped.  
  •   
  • adstpall.sh:Exiting with status 0  
  •   
  • adstpall.sh: check the logfile /u01/PROD/PROD/inst/apps/PROD_gd1ebs132/logs/appl/admin/log/adstpall.log for more information ...   
  
2. 进入数据库备份相关表:



[sql] view plaincopy

  • SQL> conn apps/apps  
  • Connected.  
  • SQL> create table fnd_user_bak as select * from fnd_user;  
  •   
  • Table created.  
  •   
  • SQL> create table fnd_oracle_userid_bak as select * from fnd_oracle_userid;  
  •   
  • Table created.  
  
3. 修改密码:



[sql] view plaincopy

  • [ebsapp@gd1ebs132 ~]$ FNDCPASS apps/apps 0 Y system/manager SYSTEM APPLSYS vipshop   
  • Log filename : L403158.log  
  •   
  •   
  • Report filename : O403158.out  
  
查看日志:



[sql] view plaincopy

  • [ebsapp@gd1ebs132 ~]$ more L403158.log  
  • +---------------------------------------------------------------------------+  
  • Application Object Library: Version : 12.0.0  
  •   
  • Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.  
  •   
  • module:   
  • +---------------------------------------------------------------------------+  
  •   
  • Current system time is 13-JUN-2013 11:15:15  
  •   
  • +---------------------------------------------------------------------------+  
  •   
  • Working...  
  •   
  •   
  • +---------------------------------------------------------------------------+  
  • Concurrent request completed successfully  
  • Current system time is 13-JUN-2013 11:15:15  
  •   
  • +---------------------------------------------------------------------------+  
  • 修改正常。  
  
4. 以新密码启动应用。



[sql] view plaincopy

    • [ebsdb@gd1ebs131 ~]$ sqlplus apps/apps  
    •   
    • SQL*Plus: Release 11.2.0.3.0 Production on Thu Jun 13 11:11:54 2013  
    •   
    • Copyright (c) 1982, 2011, Oracle.  All rights reserved.  
    •   
    • ERROR:  
    • ORA-01017: invalid username/password; logon denied  
    •   
    •   
    • Enter user-name: ^C  
    • [ebsdb@gd1ebs131 ~]$ sqlplus apps/vipshop   
    •   
    • SQL*Plus: Release 11.2.0.3.0 Production on Thu Jun 13 11:12:06 2013  
    •   
    • Copyright (c) 1982, 2011, Oracle.  All rights reserved.  
    •   
    •   
    • Connected to:  
    • Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production  
    • With the Partitioning, OLAP, Data Mining and Real Application Testing options  
    •   
    • SQL>   
    •   
    •   
    • [ebsapp@gd1ebs132 ~]$ /u01/PROD/PROD/inst/apps/PROD_gd1ebs132/admin/scripts/adstrtal.sh apps/vipshop  
    •   
    • You are running adstrtal.sh version 120.15.12010000.3  
    •   
    • The logfile for this session is located at /u01/PROD/PROD/inst/apps/PROD_gd1ebs132/logs/appl/admin/log/adstrtal.log  
    • Executing service control script:  
    • /u01/PROD/PROD/inst/apps/PROD_gd1ebs132/admin/scripts/adopmnctl.sh start  
    • script returned:  
    • ****************************************************  
    •   
    • You are running adopmnctl.sh version 120.6.12010000.5  
    •   
    • Starting Oracle Process Manager (OPMN) ...  
    • opmnctl: opmn started.  
    •   
    • adopmnctl.sh: exiting with status 0  
    •   
    • adopmnctl.sh: check the logfile /u01/PROD/PROD/inst/apps/PROD_gd1ebs132/logs/appl/admin/log/adopmnctl.txt for more information ...   
    •   
    •   
    • .end std out.  
    •   
    • .end err out.  
    •   
    • ****************************************************  
    •   
    •   
    • Executing service control script:  
    • /u01/PROD/PROD/inst/apps/PROD_gd1ebs132/admin/scripts/adalnctl.sh start  
    • script returned:  
    • ****************************************************  
    •   
    • adalnctl.sh version 120.3  
    •   
    • Checking for FNDFS executable.  
    • Starting listener process APPS_PROD.  
    •   
    • adalnctl.sh: exiting with status 0  
    •   
    •   
    • adalnctl.sh: check the logfile /u01/PROD/PROD/inst/apps/PROD_gd1ebs132/logs/appl/admin/log/adalnctl.txt for more information ...   
    •   
    •   
    • .end std out.  
    •   
    • .end err out.  
    •   
    • ****************************************************  
    •   
    •   
    • Executing service control script:  
    • /u01/PROD/PROD/inst/apps/PROD_gd1ebs132/admin/scripts/adapcctl.sh start  
    • script returned:  
    • ****************************************************  
    •   
    • You are running adapcctl.sh version 120.7.12010000.2  
    •   
    • Starting OPMN managed Oracle HTTP Server (OHS) instance ...  
    • opmnctl: opmn is already running.  
    • opmnctl: starting opmn managed processes...  
    •   
    • adapcctl.sh: exiting with status 0  
    •   
    • adapcctl.sh: check the logfile /u01/PROD/PROD/inst/apps/PROD_gd1ebs132/logs/appl/admin/log/adapcctl.txt for more information ...   
    •   
    •   
    • .end std out.  
    •   
    • .end err out.  
    •   
    • ****************************************************  
    •   
    •   
    • Executing service control script:  
    • /u01/PROD/PROD/inst/apps/PROD_gd1ebs132/admin/scripts/adoacorectl.sh start  
    • script returned:  
    • ****************************************************  
    •   
    • You are running adoacorectl.sh version 120.13  
    •   
    • Starting OPMN managed OACORE OC4J instance  ...  
    •   
    • adoacorectl.sh: exiting with status 0  
    •   
    • adoacorectl.sh: check the logfile /u01/PROD/PROD/inst/apps/PROD_gd1ebs132/logs/appl/admin/log/adoacorectl.txt for more information ...   
    •   
    •   
    • .end std out.  
    •   
    • .end err out.  
    •   
    • ****************************************************  
    •   
    •   
    • Executing service control script:  
    • /u01/PROD/PROD/inst/apps/PROD_gd1ebs132/admin/scripts/adformsctl.sh start  
    • script returned:  
    • ****************************************************  
    •   
    • You are running adformsctl.sh  version 120.16.12010000.3  
    •   
    • Starting OPMN managed FORMS OC4J instance  ...  
    • Calling txkChkFormsDeployment.pl to check whether latest FORMSAPP.EAR is deployed...  
    • Program : /u01/PROD/PROD/apps/apps_st/appl/fnd/12.0.0/patch/115/bin/txkChkFormsDeployment.pl started @ Thu Jun 13 11:18:14 2013  
    •   
    • *** Log File = /u01/PROD/PROD/inst/apps/PROD_gd1ebs132/logs/appl/rgf/TXK/txkChkFormsDeployment_Thu_Jun_13_11_18_14_2013/txkChkFormsDeployment_Thu_Jun_13_11_18_14_2013.log   
    •   
    • File "/u01/PROD/PROD/apps/tech_st/10.1.3/j2ee/forms/applications/forms/formsweb/WEB-INF/lib/frmsrv.jar" exists. Proceeding to check the size...  
    •   
    • =============================================  
    • *** Latest formsapp.ear has been deployed ***  
    • =============================================  
    •   
    •   
    • Program : /u01/PROD/PROD/apps/apps_st/appl/fnd/12.0.0/patch/115/bin/txkChkFormsDeployment.pl completed @ Thu Jun 13 11:18:14 2013  
    •   
    • Perl script txkChkFormsDeployment.pl got executed successfully  
    •   
    •    
    •   
    • adformsctl.sh: exiting with status 0  
    •   
    • adformsctl.sh: check the logfile /u01/PROD/PROD/inst/apps/PROD_gd1ebs132/logs/appl/admin/log/adformsctl.txt for more information ...   
    •   
    •   
    • .end std out.  
    • *** ALL THE FOLLOWING FILES ARE REQUIRED FOR RESOLVING RUNTIME ERRORS  
    • *** Log File = /u01/PROD/PROD/inst/apps/PROD_gd1ebs132/logs/appl/rgf/TXK/txkChkFormsDeployment_Thu_Jun_13_11_18_14_2013/txkChkFormsDeployment_Thu_Jun_13_11_18_14_2013.log   
    •   
    • .end err out.  
    •   
    • ****************************************************  
    •   
    •   
    • Executing service control script:  
    • /u01/PROD/PROD/inst/apps/PROD_gd1ebs132/admin/scripts/adoafmctl.sh start  
    • script returned:  
    • ****************************************************  
    •   
    • You are running adoafmctl.sh version 120.8  
    •   
    • Starting OPMN managed OAFM OC4J instance  ...  
    •   
    • adoafmctl.sh: exiting with status 0  
    •   
    • adoafmctl.sh: check the logfile /u01/PROD/PROD/inst/apps/PROD_gd1ebs132/logs/appl/admin/log/adoafmctl.txt for more information ...   
    •   
    •   
    • .end std out.  
    •   
    • .end err out.  
    •   
    • ****************************************************  
    •   
    •   
    • Executing service control script:  
    • /u01/PROD/PROD/inst/apps/PROD_gd1ebs132/admin/scripts/adcmctl.sh start  
    • script returned:  
    • ****************************************************  
    •   
    • You are running adcmctl.sh version 120.17.12010000.5  
    •   
    • Starting concurrent manager for PROD ...  
    • Starting PROD_0613@PROD Internal Concurrent Manager  
    • Default printer is noprint  
    •   
    • adcmctl.sh: exiting with status 0  
    •   
    •   
    • adcmctl.sh: check the logfile /u01/PROD/PROD/inst/apps/PROD_gd1ebs132/logs/appl/admin/log/adcmctl.txt for more information ...   
    •   
    •   
    • .end std out.  
    •   
    • .end err out.  
    •   
    • ****************************************************  
    •   
    •   
    • Executing service control script:  
    • /u01/PROD/PROD/inst/apps/PROD_gd1ebs132/admin/scripts/jtffmctl.sh start  
    • script returned:  
    • ****************************************************  
    •   
    • You are running jtffmctl.sh version 120.3  
    •   
    • Validating Fulfillment patch level via /u01/PROD/PROD/apps/apps_st/comn/java/classes  
    • Fulfillment patch level validated.  
    • Starting Fulfillment Server for PROD on port 9307 ...  
    •   
    • jtffmctl.sh: exiting with status 0  
    •   
    •   
    • .end std out.  
    •   
    • .end err out.  
    •   
    • ****************************************************  
    •   
    •   
    • All enabled services for this node are started.  
    •   
    • adstrtal.sh: Exiting with status 0  
    •   
    • adstrtal.sh: check the logfile /u01/PROD/PROD/inst/apps/PROD_gd1ebs132/logs/appl/admin/log/adstrtal.log for more information ...   


运维网声明 1、欢迎大家加入本站运维交流群:群②:261659950 群⑤:202807635 群⑦870801961 群⑧679858003
2、本站所有主题由该帖子作者发表,该帖子作者与运维网享有帖子相关版权
3、所有作品的著作权均归原作者享有,请您和我们一样尊重他人的著作权等合法权益。如果您对作品感到满意,请购买正版
4、禁止制作、复制、发布和传播具有反动、淫秽、色情、暴力、凶杀等内容的信息,一经发现立即删除。若您因此触犯法律,一切后果自负,我们对此不承担任何责任
5、所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其内容的准确性、可靠性、正当性、安全性、合法性等负责,亦不承担任何法律责任
6、所有作品仅供您个人学习、研究或欣赏,不得用于商业或者其他用途,否则,一切后果均由您自己承担,我们对此不承担任何法律责任
7、如涉及侵犯版权等问题,请您及时通知我们,我们将立即采取措施予以解决
8、联系人Email:admin@iyunv.com 网址:www.yunweiku.com

所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其承担任何法律责任,如涉及侵犯版权等问题,请您及时通知我们,我们将立即处理,联系人Email:kefu@iyunv.com,QQ:1061981298 本贴地址:https://www.yunweiku.com/thread-117485-1-1.html 上篇帖子: EBS调试 下篇帖子: 招聘Oracle EBS PM(Japanese)
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

扫码加入运维网微信交流群X

扫码加入运维网微信交流群

扫描二维码加入运维网微信交流群,最新一手资源尽在官方微信交流群!快快加入我们吧...

扫描微信二维码查看详情

客服E-mail:kefu@iyunv.com 客服QQ:1061981298


QQ群⑦:运维网交流群⑦ QQ群⑧:运维网交流群⑧ k8s群:运维网kubernetes交流群


提醒:禁止发布任何违反国家法律、法规的言论与图片等内容;本站内容均来自个人观点与网络等信息,非本站认同之观点.


本站大部分资源是网友从网上搜集分享而来,其版权均归原作者及其网站所有,我们尊重他人的合法权益,如有内容侵犯您的合法权益,请及时与我们联系进行核实删除!



合作伙伴: 青云cloud

快速回复 返回顶部 返回列表