Enterprise manager Oracle Agent Unreachable
Hello, I have done a fresh install of Oracle 11Gr2 and everything was working fine. I imported a database. When i connect trought the EM the Oracle Agent status is: unreachable. But everything is working fine, i can connect to the database, i can use the EM, make changes, updates, everything. I can't figure out what could be wrong, i already tryed to change the agent password, but the error remains.
Did you check the agent through GC Setup page (top right corner on any GC page, then click Agents)? Does it say anything there? You can always try: 1. Stop the agent 2. Do a clearstate (emctl clearstate agent) 3. Clean the upload and state directories from agent home ($AGENT_HOME/sysman/emd/upload/ and $AGENT_HOME/sysman/emd/state/), remove these files too: $AGENT_HOME/sysman/emd/lastupld.xml $AGENT_HOME/sysman/emd/agntstmp.txt $AGENT_HOME/sysman/emd/blackouts.xml $AGENT_HOME/sysman/emd/protocol.ini 4. Secure the agent and start it again.
I have tried that, but nothing worked :S
Did you change the agent secure password or did you check the dbsnmp user on db and change the dbsnmp password? What do the agent logs say (emagent.log, emagent.trc)?
I have cleared everything again. but this time i checked the running services, and the oracleoraDB11g_homeclr Agent was stoped. I run the service, and it's working, the status on EM is UP. I never noticed the service was down, now that it's running, everything is working fine :P
Could you please clarify what you did when you ". . . checked the running services, and the oracleoraDB11g_homeclr Agent was stoped."? I do not understand what you did and I want to know specifically what you did.
I'm running the Oracle on a Windows Platform, so i checked the windows services, and the OracleoraD11g_homeclr Agent was halted, for some reason he wasn't running on Automatic, but in Manual, so i had to start it Manual. This could be, because i was testing a lot of stuff on this server (This is not the Production Server). What i did was just start the service, and the rebooted the DB (Shutdown/startup) and then it was working fine Again. Hope this clarify you. Regards.