Add new comment

I ran into a similar problem. I want to change the credentials of a database. It throws the same error.
I tried your solution. It failed.
But, I stopped the agent.Edited the file, put the password with ENCRYPTION=FALSE and started the agent.
OEM encrypted the password after the restart and I am able to monitor the DB again.