Monday, 19 December 2016

Enterprise Manager ERROR: NMO not setuid-root (Unix-only)

While trying to assign an OS user credentials in EM 11.2.04 I’m getting this error:

ERROR: NMO not setuid-root (Unix-only)

Cause was:

The /root.sh script was not run after the Agent installation. 
Check the permissions and ownership of the nmo and nmb executable in the /bin, where the management agent has been installed:


[oracle@XXXXX bin]$ ls -ltrh nm?
 -rws--x--- root dba 33K Dec 19 14:33 nmo*
 -rws--x--- root dba 23K Dec 19 14:33 nmb*

Solution:-  is to set the correct permission and ownership on both files (hint search nmo, nmb from root.sh):

sudo chmod 6750 nmb
sudo chmod 6750 nmo


ls -la /u01/app/oracle/product/agent11g/bin/nm?

-rwsr-s--- 1 root dba 22746 Dec 19 14:33 /u01/app/oracle/product/agent11g/bin/nmb*
-rwsr-s--- 1 root dba 32872 Dec 19 14:33 /u01/app/oracle/product/agent11g/bin/nmo*


This should fix the problem and allow us to set OS user credentials in EM.




No comments:

Post a Comment