I installed oem 10.2.0.1 on a test machine.
And configured 6 agents across my 6 databases.
Great tool, test went fine.

I Re-Installed oem this time on a prod server with a different name.
All the agents could not talk to oem anymore because of the oem not having the same name.

Here is the Fix i did:
emctl stop agent
edited emd.properties file and changed REPOSITORY_URL and emdWalletSrcUrl.
emctl unsecure agent
emctl secure agent
emctl start agent
emctl status agent

Everything seems ok now. with the agent comminication.

OEM discovered the agent, the database, but not the listener.

Why oem is not discovering the listener?