This content has been marked as final. Show 10 replies
Sounds like you haven't run root.sh on the agent, or the user doesn't have sudo privs for nmosudo -- check sudo privs using sudo -l and look for the nmosudo path, ensure the patch is correct.
When i type sudo privs using sudo -l on a terminal I get /etc/sudoers is mode 0777 , should be 0440.
When I run the root.sh script on the agent I get this message: " Failed to launch process: Cannot run program "/u01/app/oracle/agent12cr2/sbin/nmo"; java.IO Exception: error 13, permission denied".
It looks like the agent is reporting one of the following errors
"ERROR: NMO not setuid-root (Unix-only)" or
" Failed to launch process: Cannot run program "/u01/app/oracle/agent12cr2/sbin/nmo"; java.IO Exception: error 13, permission denied"
Both these errors point to an incomplete agent installation. The root.sh on the agent is not executed leaving in one of the following cases
- NMO not linked giving the "Failied to launch process ..", seen with PS1 agents
- NMO is not set-uid enabled, giving the " NMO not setuid-root (Unix-only)" error.
Customer should run root.sh to complete the agent installation.
I have run the root.sh on the EM12C agent, several times, is there anything I am missing before or after running root.sh ?
The permissions error seems to indicate you are not running root.sh as root. Are you perhaps running it as the agent user?
I ran the root.sh script as root ( su) and it says ERROR: Execution failed due to binary missing or permission issues
Looks like something is wrong in the env which is causing the root.shexecution to fail. Best to log a Service Request with Support.
Just to be sure, how exactly should I type the command in the terminal in order to execute root.sh as root user?
You need to run these:
$ cd /u01/app/oracle/agent12cr2/core/126.96.36.199.0
$ su =====> enter root password as prompted
# sh root.sh