When I create a database I get a warning that Enterprise manager configuration succeeded with the following warning -
Errorsecuring 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
2) C:\oracle\product\10.2.0\db_1\bin\emctl.bat stop dbconsole
3) C:\oracle\product\10.2.0\db_1\bin\emctl.bat config emkey -repos -sysman_pwd <PASSWORD for sysman user>
I complete steps 1 & 2 with no problem. But every time I try #3 I get the following error message:
Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0
Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
caught Exception java.sql.SQLException: Io exception: Invalid Packet Lenght
I didn't know the sysman password so I logged into the database and changed it. I tested logging in as sysman with the new password. However, every time i enter the password in the above command I keep getting the same error message. I can log into other databases on other servers. However, I can't log into my own database. Could someone help me to trouble shoot and resolve this issue?