Unknown Agent Registration Password when Securing DBConsole (Doc ID 782107.1)

Last updated on AUGUST 14, 2014

Applies to:

Enterprise Manager for Oracle Database - Version 10.2.0.3 to 11.2.0.3 [Release 10.2 to 11.2]
Information in this document applies to any platform.

Symptoms

When securing the DBConsole on a 10.2 database, the command

emctl secure dbconsole


prompts for the agent registration password and then fails with the following error:

Checking Repository... Done.
Checking Repository for an existing Enterprise Manager Root Key... Done.
Fetching Root Certificate from the Repository... Done.
Generating Registration Password Verifier in the Repository... Failed.
The Agent Registration Password you supplied does not match the Verifier set in this Repository.


Agent registration password is the sysman password by default. If entering the sysman password as the agent registration password fails, and the password is not available, then the following command can be used to reset the password

$ORACLE_HOME/bin/emctl secure setpwd "<sysman_password>" "<new_agent_registration password>"


However, this command fails. Inspecting the file 

$ORACLE_HOME/<hostname>_<sid>/sysman/log/secure.log


the following error is found when resetting the password

java.io.FileNotFoundException: $ORACLE_HOME/sysman/config/emoms.properties (No such file or directory)

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms