ERROR: NMO not setuid-root

llmarinen發表於2013-03-21

Oracle線上備份出現錯誤ERROR: NMO not setuid-root (Unix-only)

2010-05-12

Problem: I had an issue of cloning database from OEM due to unix oracle OS user id. So I had changed the uid of oracle OS user by usermod -u 501 command. And then I was trying to defined the clone job, it does not connect with Destination and issued the following error.

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

Solution:

1. Connect as oracle user to the host giving the connection error (we assume that oracle is the OS user which installed the Grid Management Agent)

2. Stop the Grid Management Agent
$ cd $ORACLE_HOME/bin
$ ./emctl stop agent

3. Connect with the user root, keeping the oracle user environment

4. cd to the Management Agent ORACLE_HOME

5. Run the root.sh script
$ ./root.sh

6. Connect back to the oracle user

7. Restart the Grid Management Agent
$ cd $ORACLE_HOME/bin
$ ./emctl start agent

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/27677524/viewspace-756702/,如需轉載,請註明出處,否則將追究法律責任。

相關文章