Configure the DBConsole Repository
Following command can be executed to configure DBConsole along with the repository.
Change the directory to database ORACLE_HOME and execute the environment file.
[oratest@oracle 11.1.0]$ . TEST_oracle.env
Then move to [ORACLE_HOME]/bin and execute the following command.
[oratest@oracle bin]$ emca -config dbcontrol db -repos create
Start/Stop & Check DBconsole Status
Then using the emctl command DBconsole could be started, stopped and also status could be checked.
[oratest@oracle bin]$ emctl start dbconsole
[oratest@oracle bin]$ emctl stop dbconsole
[oratest@oracle bin]$ emctl status dbconsole
Oracle Enterprise Manager 11g Database Control Release 11.1.0.7.0
Copyright (c) 1996, 2008 Oracle Corporation. All rights reserved.
https://oracle.calspence.lk:1158/em/console/aboutApplication
Oracle Enterprise Manager 11g is running.
------------------------------------------------------------------
Logs are generated in directory /d03/oracle/TEST/db/tech_st/11.1.0/oracle.umanage.lk_TEST/sysman/log
Now can login through the sys user.
Refer following metalink document for more information.
Master Note for Enterprise Manager Configuration Assistant (EMCA) in Single Instance Database Environment [ID 1099271.1]
If you failed to unlock the
Following command can be executed to configure DBConsole along with the repository.
Change the directory to database ORACLE_HOME and execute the environment file.
[oratest@oracle 11.1.0]$ . TEST_oracle.env
Then move to [ORACLE_HOME]/bin and execute the following command.
[oratest@oracle bin]$ emca -config dbcontrol db -repos create
Start/Stop & Check DBconsole Status
Then using the emctl command DBconsole could be started, stopped and also status could be checked.
[oratest@oracle bin]$ emctl start dbconsole
[oratest@oracle bin]$ emctl stop dbconsole
[oratest@oracle bin]$ emctl status dbconsole
Oracle Enterprise Manager 11g Database Control Release 11.1.0.7.0
Copyright (c) 1996, 2008 Oracle Corporation. All rights reserved.
https://oracle.calspence.lk:1158/em/console/aboutApplication
Oracle Enterprise Manager 11g is running.
------------------------------------------------------------------
Logs are generated in directory /d03/oracle/TEST/db/tech_st/11.1.0/oracle.umanage.lk_TEST/sysman/log
Now can login through the sys user.
Refer following metalink document for more information.
Master Note for Enterprise Manager Configuration Assistant (EMCA) in Single Instance Database Environment [ID 1099271.1]
If you failed to unlock the
SYSMAN
account , you should drop the SYSMAN
user manually. If youdon’t drop the SYSMAN
schema, you’ll raise an error when you try to recreate it
The Java stack trace will look like this, more or less based on version and release:
Drop the user and dependent on version a few other objects, like:
No comments:
Post a Comment