Home > Oracle > recreate 11G DB Console

recreate 11G DB Console

Drop the existing repository

$ORACLE_HOME/sysman/admin/emdrep/bin/RepManager host 1522 SID -action drop

This requires some input

$ORACLE_HOME/sysman/admin/emdrep/bin/RepManager linuxdb 1521 TESTORAC  -action drop
Enter SYS user's password :
Enter repository user name : SYSMAN
Getting temporary tablespace from database...
Found temporary tablespace: TEMP
Checking SYS Credentials ... rem error switch
rem error switch
Dropping the repository..
Checking for Repos User ... Exists.
Repos User exists..
Clearing EM Contexts ... OK.
Dropping EM users ...
Dropping Repos User ... Done.
Dropping Roles/Synonymns/Tablespaces ... Done.
Dropped Repository Successfully.

To recreate the repository

emca -config dbcontrol db -repos create

Categories: Oracle
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: