Fixing a partial de-installation of OEM
Symptoms: (1) "emca -deconfig dbcontrol db -repos drop" fails. The <host>_<oracle_sid> directory is removed (and perhaps the oc4j/j2ee file as well), but the SYSMAN account remains. If you attempt to create the repository at this point, it fails with the error "SYSMAN already exists". (2) if you attempt to fix this by issuing "SQL> drop user sysman cascade;" and attempt to create the repository, you get the error "MGMT_USER" conflicts (this is a ROLE which wasn't dropped); (3) if you drop the "MGMT_USER" role and attempt to create the repository, you get "Object already exists" in the emca log (nothing