How to start OEM [message #576832] |
Fri, 08 February 2013 07:40 |
|
Jack14
Messages: 497 Registered: December 2011 Location: INDIA
|
Senior Member |
|
|
Hi,
Could you tell me how to start OEM 12c agent on Linux server ?
Note:
Its a RAC server .
Regards,
Jack
|
|
|
|
|
|
|
|
|
|
|
|
|
Re: How to start OEM [message #576877 is a reply to message #576837] |
Sat, 09 February 2013 04:01 |
John Watson
Messages: 8960 Registered: January 2010 Location: Global Village
|
Senior Member |
|
|
You have found that there is an emctl in the database home, which manages the DB Console. There is an emctl in the OMS home, that manages the Management Server. Don't you think that there might also be an emctl in the Agent home?
Please, Jack, use your initiative! Or read the docs.
|
|
|
|
Re: How to start OEM [message #576880 is a reply to message #576878] |
Sat, 09 February 2013 05:04 |
John Watson
Messages: 8960 Registered: January 2010 Location: Global Village
|
Senior Member |
|
|
Thank, man! Does changing directory change your search path? Which emctl are you running? You know about setting the environment variables ORACLE_HOME and PATH. Do it.
|
|
|
|
Re: How to start OEM [message #576882 is a reply to message #576881] |
Sat, 09 February 2013 06:08 |
John Watson
Messages: 8960 Registered: January 2010 Location: Global Village
|
Senior Member |
|
|
Quote:1.Which emctl are you running?
emctl 12c
2.You know about setting the environment variables ORACLE_HOME and PATH
I have set env variables using .oraenv utility file.
3.Does changing directory change your search path ?
No it is same as before.
Regards,
Jack
1. Jack, there will be three copies of emctl, one in each home. When I ask "which emctl are you running" the answer is not "12c".
2. So what did you set those variables to?
3. Exactly. That is why you are still running the wrong emctl.
Seriously, you need to ask yourself if you have the prerequisite background knowledge to understand the Cloud Control environment. Perhaps you should start by describing your understanding of the Cloud Control architecture. Once you have that straight, you will be able to work out these trvial operational questions yourself.
|
|
|
|
Re: How to start OEM [message #576887 is a reply to message #576885] |
Sat, 09 February 2013 07:14 |
John Watson
Messages: 8960 Registered: January 2010 Location: Global Village
|
Senior Member |
|
|
For the last time: you have to think.
You did this,
[oracle@rac1 ~]$ cd $OMS_AGENT
[oracle@rac1 ~]$ pwd
/home/oracle
[oracle@rac1 ~]$ ls -alrt emctl
ls: emctl: No such file or directory
[oracle@rac1 ~]$ does the variable $OMS_AGENT even exist? If it does exist, do you believe that /home/oracle is a sensible value for it?
Then you set your ORACLE_HOME to the database home. Do you think that is correct when you want to manage the OMS Agent?
I cannot assist someone who, it seems to me, lacks the pre-requisite knowledge needed to manage the Cloud Control environment. This is not a toy: you cannot simply install it and use it. You have to read the docs, you have to understand the components.
Perhgaps someone else will assist - it is clear that I can't.
Goodbye, and good. luck.
|
|
|
|