Java Mailing List Archive

http://www.dba.5341.com/

Home » Home (12/2007) » oracle l »

RE: [Q] how to manually create sysman on database to use dbconsol
 e on 10gr2?

Khushalani, Vikram Mr AITS (Binary)

2006-07-25


You will first need to create the repository.  I believe that SYSMAN is created at that time, since the repository's objects are in SYSMAN schema.

 

So try the following, it will:

 

a) Build the AWR Repository (and user SYSMAN); and

b) Configure the DBConsole, all with one command.

 

emca -config dbcontrol db -repos create

 

Note: You will be prompted for the SYS, DBSNMP, and SYSMAN passwords.  So you should have the SYS and DBSNMP passwords available.  The SYSMAN account it will create for you with the password you provide it.  You will also be prompted for the SID and Listener info.

 

If you want to use e-mail notification (optional) then you will also need the e-mail account and the Outgoing Mail server information.

 

I have created this under Windows, but the emca command should be generic and should work on LINUX also.

 

If you run into problems you can always execute

 

emca -h     

Or  just

emca  

   

For help and various options.

 

Vikram.

 

 


From: oracle-l-bounce@freelists.org [mailto:oracle-l-bounce@freelists.org] On Behalf Of dba1 mcc
Sent: Monday, July 24, 2006 9:31 PM
To: juancarlosreyesp@gmail.com
Cc: oracle-l@freelists.org
Subject: Re: [Q] how to manually create sysman on database to use dbconsole on 10gr2?

 

Thanks.  But we are LINUX system not Window.  Do you know how to do on LINUX?

Juan Carlos Reyes Pacheco <juancarlosreyesp@gmail.com> wrote:


Hi here is an example

connect SYS/***@PERP as SYSDBA
set echo off
spool C:\emRepositoryPERP.log
@D:\oracle\product\10.2.0\db_1\sysman\admin\emdrep\sql\emreposcre D:\oracle\product\10.2.0\db_1 SYSMAN SYSMANpass TBL_TEMP ON;
WHENEVER SQLERROR CONTINUE;
spool off


to create console

D:\oracle\product\10.2.0\db_1\bin\emca.bat -config dbcontrol db -silent -DB_UNIQUE_NAME PERP -PORT 1522 -EM_HOME D:\oracle\product\10.2.0\db_1 -LISTENER LISTENER -SERVICE_NAME PERP -SYS_PWD *** -SID PERP -ORACLE_HOME D:\oracle\product\10.2.0\db_1 -DBSNMP_PWD DBSNMPASS -HOST SRVDAZ07 -LISTENER_OH D:\oracle\product\10.2.0\db_1 -LOG_FILE C:\emConfigPERP.log -EMAIL_ADDRESS jreyes@dazasoftware.com -MAIL_SERVER_NAME mail.dazasoftware.com -SYSMAN_PWD SYSMANPASS

 




--
----------------------------------------
http://www.oracleboliviaspecialists.com/

Oracle Certified Profesional 9i 10g
Orace Certified Professional Developer 6i

10 years of experience from Oracle 7 to Oracle10g and developer 6i

 

 


How low will we go? Check out Yahoo! Messenger's low PC-to-Phone call rates.

©2008 dba.5341.com - Jax Systems, LLC, U.S.A.