The emctl file in the oraclehome cannot be renamed from emctl.bat to emctl_upgrade.bat

the issue: upgrading your OEM agent from 12.1.0.3 to 12.1.0.4 and you’re getting this at the end of your log

SEVERE: The emctl file in the oraclehome cannot be renamed from d:\oracle\agent12c\core\12.1.0.3.0\bin\emctl.bat to d:\oracle\agent12c\core\12.1.0.3.0\bin\emctl_upgrade.bat

SEVERE: 
ERROR: Agent Deployment Failed

SEVERE: The emctl file d:\oracle\agent12c\core\12.1.0.3.0\bin\emctl_upgrade.bat does not exist
SEVERE: The emctl file in instancehome d:\oracle\agent12c\agent_inst\bin\emctl_upgrade.bat does not exist

cause and solution: the issue is caused by a known bug. go through the agent upgrade console again (setup –> manage cloud control –> upgrade agents) and input “EMCTL_RENAME=false” in the Additional Parameter section like this

Previous
Previous

opmnctl start one component

Next
Next

You should rebuild using libgmp >= 5 to avoid timing attack vulnerability