Configurando e instalando manualmente o dbConsole do Oracle10G

0

Posted on : 23-08-2006 | By : .rafa | In : Banco de Dados, Oracle

Instalei agora um oracle 10G e deu altos problemas, mas tudo resolvido, uma coisa que me aconteceu e tive q arranjar um jeito de arrumar foi deixar rodando a console de manutenção do oracle o dbconsole.

Achei um site muito bom AKADIA onde mostra passo a passo como fazer isso manualmente e resolvi transcrever e para quando eu quizer achar isso mais rápido neh?
Bom vamos começar:

Inicialmente iremos usar o Oracle EM bconsole build Script ($ORACLE_HOME/bin/emca para o linux e $ORACLE_HOME\Bin\emca.bat para Windows).
$ emca -repos create
$ emca -config dbcontrol db

STARTED EMCA at Fri May 14 10:43:22 MEST 2004
Enter the following information about the database to be configured.

Listener port number: 1521
Database SID: {sid}
Service name: {serviceName}
Email address for notification: {email@site.com.br}
Email gateway for notification: {smtp}
Password for dbsnmp: xxxxxxx
Password for sysman: xxxxxxx
Password for sys: xxxxxxx

---------------------------------------------------------
You have specified the following settings

Database ORACLE_HOME: /opt/oracle/product/10.1.0
Enterprise Manager ORACLE_HOME: /opt/oracle/product/10.1.0

Database host name ..........: {hostname}
Listener port number .........: 1521
Database SID .................: {dbname}
Service name .................: {serviceName}
Email address for notification: {email@site.com.br}
Email gateway for notification: {smtp}
---------------------------------------------------------
Do you wish to continue? [yes/no]: yes
AM oracle.sysman.emcp.EMConfig updateReposVars
INFO: Updating file ../config/repository.variables ...

Now wait about 10 Minutes to complete!

M oracle.sysman.emcp.EMConfig createRepository
INFO: Creating repository ...
M oracle.sysman.emcp.EMConfig perform
INFO: Repository was created successfully
M oracle.sysman.emcp.util.PortQuery findUsedPorts
INFO: Searching services file for used port
AM oracle.sysman.emcp.EMConfig getProperties
...........
...........
INFO: Starting the DBConsole ...
AM oracle.sysman.emcp.EMConfig perform
INFO: DBConsole is started successfully
INFO: >>>>>>>>>>> The Enterprise Manager URL is site:1158/em < <<<<<<<<<<

Enterprise Manager configuration is completed successfully
FINISHED EMCA at Mon Ago 21 10:55:25 2006

fonte: akadia