10.2.0.4 Windows EMCA failing.
I have a stubborn server that will not let me configure OEM (non Grid). It is a Windows 2008 r2 environment, Oracle 10.2.0.4 patch 29 standard edition. I used my traditional emca command.
emca -config dbcontrol db -repos create -SID SENIORDB -PORT 1521 -ORACLE_HOME E:\oracle\product\10.2.0\db_1 -DBCONTROL_HTTP_PORT 1158
and entered the appropriate passwords.
The process fails with this error in the emca-config log file
Check if repos user already exists.
old 6: WHERE username=UPPER('&EM_REPOS_USER');
new 6: WHERE username=UPPER('SYSMAN');
old 8: IF ( '&EM_CHECK_TYPE' = 'EXISTS') THEN
new 8: IF ( 'NOT_EXISTS' = 'EXISTS') THEN
old 11: raise_application_error(-20000, '&EM_REPOS_USER does not exists..');