andre4p
(usa Debian)
Enviado em 19/04/2013 - 10:40h
Cara eu recriei o repositório, mais valeu mesmo pela ajuda.
Antes de reconstruir o repositório é necessário obter as seguintes informações:
- Database SID:
- Listener port number:
- Password for SYS user:
- Password for DBSNMP user:
- Password for SYSMAN user:
1- Dropando o Repositório Enterprise Manager
[oracle@oracle10]$emca -deconfig dbcontrol db -repos drop
STARTED EMCA at Nov 8, 2008 10:57:16 AM
EM Configuration Assistant, Version 10.2.0.1.0 Production
Copyright (c) 2003, 2005, Oracle. All rights reserved.
Enter the following information:
Database SID: orcl
Listener port number: 1521
Password for SYS user: xxx
Password for SYSMAN user: xxx
Password for SYSMAN user: xxx
Do you wish to continue? [yes(Y)/no(N)]: Y
Nov 8, 2008 10:57:32 AM oracle.sysman.emcp.EMConfig perform
INFO: This operation is being logged at /oracle/app/product/10.2.0/orcl/cfgtoollogs/emca/orcl/emca_2008-11-08_10-57-16-AM.log.
Nov 8, 2008 10:57:34 AM oracle.sysman.emcp.EMDBPreConfig performDeconfiguration
WARNING: EM is not configured for this database. No EM-specific actions can be performed.
Nov 8, 2008 10:57:34 AM oracle.sysman.emcp.EMReposConfig dropRepository
INFO: Dropping the EM repository (this may take a while) …
Nov 8, 2008 10:59:51 AM oracle.sysman.emcp.EMReposConfig invoke
INFO: Repository successfully dropped
Enterprise Manager configuration completed successfully
FINISHED EMCA at Nov 8, 2008 10:59:51 AM
2- Criando o Repositório Enterprise Manager
[oracle@oracle10]$emca -config dbcontrol db -repos create
STARTED EMCA at Nov 8, 2008 11:01:04 AM
EM Configuration Assistant, Version 10.2.0.1.0 Production
Copyright (c) 2003, 2005, Oracle. All rights reserved.
Enter the following information:
Database SID: orcl
Listener port number: 1521
Password for SYS user: xxx
Password for DBSNMP user: “dbsnmp”
Password for SYSMAN user: xxx
Password for SYSMAN user: Email address for notifications (optional):
Outgoing Mail (SMTP) server for notifications (optional):
You have specified the following settings
Database ORACLE_HOME ……………. /oracle/app/product/10.2.0/orcl
Database hostname ……………. brunomurassaki.com.br
Listener port number ……………. 1521
Database SID ……………. orcl
Email address for notifications ……………
Outgoing Mail (SMTP) server for notifications ……………
Do you wish to continue? [yes(Y)/no(N)]: Y
Nov 8, 2008 11:01:31 AM oracle.sysman.emcp.EMConfig perform
INFO: This operation is being logged at /oracle/app/product/10.2.0/orcl/cfgtoollogs/emca/orcl/emca_2008-11-08_11-01-04-AM.log.
Nov 8, 2008 11:01:36 AM oracle.sysman.emcp.EMReposConfig createRepository
INFO: Creating the EM repository (this may take a while) …
Nov 8, 2008 11:04:23 AM oracle.sysman.emcp.EMReposConfig invoke
INFO: Repository successfully created
Nov 8, 2008 11:04:32 AM oracle.sysman.emcp.util.DBControlUtil startOMS
INFO: Starting Database Control (this may take a while) …
Nov 8, 2008 11:06:09 AM oracle.sysman.emcp.EMDBPostConfig performConfiguration
INFO: Database Control started successfully
Nov 8, 2008 11:06:09 AM oracle.sysman.emcp.EMDBPostConfig performConfiguration
INFO: >>>>>>>>>>> The Database Control URL is
http://X.X.X.X:5500/em <<<<<<<<<<<
Enterprise Manager configuration completed successfully
FINISHED EMCA at Nov 8, 2008 11:06:09 AM
———————————————————————————————————————————–
Pronto, Repositório Criado com Suscesso.
3- Iremos verificar se o Oracle Enterprise Manager está rodando:
[oracle@oracle10 emd]$ emctl status dbconsole
Oracle Enterprise Manager 10g Database Control Release 10.2.0.1.0
Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved.
http://brunomurassaki.com.br:5500/em/console/aboutApplication
Oracle Enterprise Manager 10g is running.
———————————————————————————————————————————–
4- Após reconstruir o repositório e necessitar verificar qual porta o OEM está utilizando, entre no diretório abaixo:
ORACLE_HOME/install/portlist.ini
————————————————————————————————————————————
Pronto, agora basta entrar em qualquer navegador e com endereço correto utilizar Oracle Enterprise Manager.
Abraço,
Bruno Murassaki
http://profissionaloracle.com.br/blogs/brunomurassaki/2009/05/06/erro-oc4j-configuration-issue-ao-in...