While doing emctl at DBTier, i encountered with undefined path.
/nfs/bld/d26/PRDXBLD9/db/tech_st/11.1.0/cfgtoollogs/emca/VIS1213/emca_repos_create_.log
Reason:
The central inventory may be corrupt which may lead to undefined directories to be populated at the executable of bin directory.
Fix:
Manually edit the following files
vi $ORACLE_HOME/bin/emca
vi $ORACLE_HOME/bin/emctl
vi $ORACLE_HOME/bin/EMDeploy
vi $ORACLE_HOME/bin/emtgtctl
vi $ORACLE_HOME/bin/emutil
vi $ORACLE_HOME/bin/eusm
vi $ORACLE_HOME/bin/emagentdeploy.pl
vi $ORACLE_HOME/sysman/config/emomslogging.properties
vi $ORACLE_HOME/sysman/config/emca.properties
vi $ORACLE_HOME/sysman/config/emd.properties
vi $ORACLE_HOME/sysman/config/emd.properties.emca
vi $ORACLE_HOME/sysman/config/emagentlogging.properties
vi $ORACLE_HOME/sysman/lib/env_emagent.mk
vi $ORACLE_HOME/bin/targetdeploy.pl
Then export ORACLE_BASE
then issue the command:
emca -config dbcontrol db -repos create
It should complete successfully
STARTED EMCA at Aug 23, 2012 11:37:42 AM
EM Configuration Assistant, Version 11.1.0.7.0 Production
Copyright (c) 2003, 2005, Oracle. All rights reserved.
Enter the following information:
Database SID: VIS1213
Listener port number: 1521
Password for SYS user:
Password for SYSMAN user: Email address for notifications (optional): balaji.rs@chain-sys.com
Outgoing Mail (SMTP) server for notifications (optional): mail.chain-sys.com
-----------------------------------------------------------------
You have specified the following settings
Database ORACLE_HOME ................ /oracle1//db/tech_st/11.1.0
Local hostname ................ XXX.XXX.xom
Listener port number ................ 1521
Database SID ................ XXXX
Email address for notifications ............... xxx@xxx.com
Outgoing Mail (SMTP) server for notifications ............... xxx.xxxx.com
-----------------------------------------------------------------
Do you wish to continue? [yes(Y)/no(N)]: y
Aug 23, 2012 11:38:11 AM oracle.sysman.emcp.EMConfig perform
IAug 23, 2012 11:38:12 AM oracle.sysman.emcp.EMReposConfig createRepository
INFO: Creating the EM repository (this may take a while) ...
Aug 23, 2012 11:42:25 AM oracle.sysman.emcp.EMReposConfig invoke
INFO: Repository successfully created
/nfs/bld/d26/PRDXBLD9/db/tech_st/11.1.0/cfgtoollogs/emca/VIS1213/emca_repos_create_
Reason:
The central inventory may be corrupt which may lead to undefined directories to be populated at the executable of bin directory.
Fix:
Manually edit the following files
vi $ORACLE_HOME/bin/emca
vi $ORACLE_HOME/bin/emctl
vi $ORACLE_HOME/bin/EMDeploy
vi $ORACLE_HOME/bin/emtgtctl
vi $ORACLE_HOME/bin/emutil
vi $ORACLE_HOME/bin/eusm
vi $ORACLE_HOME/bin/emagentdeploy.pl
vi $ORACLE_HOME/sysman/config/emomslogging.properties
vi $ORACLE_HOME/sysman/config/emca.properties
vi $ORACLE_HOME/sysman/config/emd.properties
vi $ORACLE_HOME/sysman/config/emd.properties.emca
vi $ORACLE_HOME/sysman/config/emagentlogging.properties
vi $ORACLE_HOME/sysman/lib/env_emagent.mk
vi $ORACLE_HOME/bin/targetdeploy.pl
Then export ORACLE_BASE
then issue the command:
emca -config dbcontrol db -repos create
It should complete successfully
STARTED EMCA at Aug 23, 2012 11:37:42 AM
EM Configuration Assistant, Version 11.1.0.7.0 Production
Copyright (c) 2003, 2005, Oracle. All rights reserved.
Enter the following information:
Database SID: VIS1213
Listener port number: 1521
Password for SYS user:
Password for SYSMAN user: Email address for notifications (optional): balaji.rs@chain-sys.com
Outgoing Mail (SMTP) server for notifications (optional): mail.chain-sys.com
-----------------------------------------------------------------
You have specified the following settings
Database ORACLE_HOME ................ /oracle1//db/tech_st/11.1.0
Local hostname ................ XXX.XXX.xom
Listener port number ................ 1521
Database SID ................ XXXX
Email address for notifications ............... xxx@xxx.com
Outgoing Mail (SMTP) server for notifications ............... xxx.xxxx.com
-----------------------------------------------------------------
Do you wish to continue? [yes(Y)/no(N)]: y
Aug 23, 2012 11:38:11 AM oracle.sysman.emcp.EMConfig perform
IAug 23, 2012 11:38:12 AM oracle.sysman.emcp.EMReposConfig createRepository
INFO: Creating the EM repository (this may take a while) ...
Aug 23, 2012 11:42:25 AM oracle.sysman.emcp.EMReposConfig invoke
INFO: Repository successfully created
No comments:
Post a Comment