My Oracle Support Banner

EMCA Fails at Securing Phase with "Error securing Database Control" (Doc ID 942172.1)

Last updated on AUGUST 31, 2021

Applies to:

Enterprise Manager for Oracle Database - Version 10.2.0.1 to 10.2.0.5 [Release 10.2]
Microsoft Windows (32-bit)
Microsoft Windows x64 (64-bit)

Symptoms

Running EMCA to recreate the DBConsole for fails with:

<----EMCAworks fine until the moment where it needs to secure the console--->

INFO: >>>>>>>>>>> The Database Control URL is http://<HOSTNAME.DOMAIN>:1158/em <<<<<<<<<Jun 30, 2009 2:11:32 PM oracle.sysman.emcp.EMConfig perform
CONFIG:

Error securing Database Control, Database Control has been brought up in non-secure mode. To secure the Database Control execute the following command(s):

1) Set the environment variable ORACLE_SID to orcl
2) C:\oracle\product\10.2.0\bin\emctl.bat stop dbconsole
3) C:\oracle\product\10.2.0\bin\emctl.bat config emkey -repos -sysman_pwd < Password for SYSMAN user >
4) C:\oracle\product\10.2.0\bin\emctl.bat secure dbconsole -sysman_pwd < Password for SYSMAN user >
5) C:\oracle\product\10.2.0\bin\emctl.bat start dbconsole

To secure Em Key, run C:\oracle\product\10.2.0\bin\emctl.bat config emkey -remove_from_repos -sysman_pwd < Password for SYSMAN user >
Jun 30, 2009 2:11:32 PM oracle.sysman.emcp.EMConfig perform
CONFIG: Passing warning to the caller:

secure.log shows: 

[30-06-2009 14:20:25] DEBUG ::Executing ...
C:\oracle\product\10.2.0\jdk/bin/java -cp C:\oracle\product\10.2.0/jdbc/lib/classes12.jar;C:\oracle\product\10.2.0/jlib/uix2.jar;C:\oracle\product\10.2.0/sysman/jlib/emCORE.jar;C:\oracle\product\10.2.0/sysman/jlib/emagentSDK.jar;C:\oracle\product\10.2.0/xdk/lib/xmlparserv2.jar;C:\oracle\product\10.2.0/sysman/jlib/log4j-core.jar;C:\oracle\product\10.2.0/j2ee/OC4J_EM/applications/em/em/WEB-INF/lib/ojpse_2_1_5.jar;C:\oracle\product\10.2.0/j2ee/home/lib/http_client.jar;C:\oracle\product\10.2.0/sysman/webapps/emd/WEB-INF/lib/ojpse_2_1_5.jar;C:\oracle\product\10.2.0/jdbc/lib/ojdbc14.jar;C:\oracle\product\10.2.0/jlib/uix2.jar;C:\oracle\product\10.2.0/jlib/share.jar;C:\oracle\product\10.2.0/jlib/ojmisc.jar;C:\oracle\product\10.2.0/jlib/ojpse.jar;C:\oracle\product\10.2.0/jlib/http_client.jar;C:\oracle\product\10.2.0/lib/xmlparserv2.jar;C:\oracle\product\10.2.0/lib/emagentSDK.jar;C:\oracle\product\10.2.0/encryption/jlib/ojpse_2_1_5.jar;C:\oracle\product\10.2.0/j2ee/home/lib/http_client.jar;C:\oracle\product\10.2.0/sysman/jlib/log4j-core.jar;C:\oracle\product\10.2.0/sysman/jlib/emagentSDK.jar;C:\oracle\product\10.2.0/sysman/jlib/emCORE.jar
-DrepositoryPropertiesFile=C:\oracle\product\10.2.0/<HOSTNAME.DOMAIN>_<SID>l/sysman/config/emoms.properties -Ddebug=true
oracle.sysman.eml.sec.rep.InstallPassword -auth >>
C:\oracle\product\10.2.0/a<HOSTNAME.DOMAIN>_<SID>/sysman/log/secure.log
Enter auth password
[main] DEBUG oracle.sysman.util.jdbc.ConnectionFactory - Attempting to
connect...
[main] DEBUG oracle.sysman.util.jdbc.ConnectionFactory - URL =
jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=<HOSTNAME.DOMAIN>)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=orcl)))
[main] DEBUG oracle.sysman.util.jdbc.ConnectionFactory - username = SYSMAN
[main] DEBUG oracle.sysman.util.jdbc.ConnectionFactory - role = null
[main] ERROR sec.SecRepOperation - java.sql.SQLException: Null user or
password not supported in THIN driver
[30-06-2009 14:20:26] USERINFO ::ERROR. Unable to contact the OMS Repository.

 Then run 'emctl secure dbconsole' successfully, but failed to start the dbconsole via "emctl start dbconsole" and the following error messages show:

The OracleDBConsoleorcl service could not be started.
A service specific error occurred: 1.
More help is available by typing NET HELPMSG 3547.

Cause

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Cause
Solution
References

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.