Agent Install

http://download.oracle.com/docs/cd/B19306_01/em.102/b40103/deploying_the_management_agent.htm#CIHEJIJC
http://forums.oracle.com/forums/thread.jspa?threadID=557954&start=15&tstart=0
http://forums.oracle.com/forums/thread.jspa?threadID=528653&start=45&tstart=0

unzip java javac jar

PATH=$ORACLE_HOME/jdk/bin:$PATH

OMS_HOME/sysman/agent_download/<version>/linux

agent_download -b /u01/app/oracle/OracleHomes
emctl secure agent
<AGENT_HOME>/bin/emctl status agent
<AGENT_HOME>/bin/emctl secure agent -reg_passwd <password>
<AGENT_HOME>/bin/emctl upload
I had a "....Completed with Status=255" after installing the agent the second time (it failed for another reason the first time). 

It is down to the entry in the inventory - it needs to e removed.

I was installing the agent on a server with E-Business Suite, so you need to remove the entry from /var/opt/oracle/ContentsXML/inventory.xml

chkconfig time on
*/1 * * * * /usr/bin/rdate -s rac1 >/dev/null 2>&1

redhat language territory encoding locale global international LANG
oracle NLS_LANG
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License