你好,游客 登录 注册 搜索
背景:
阅读新闻

ERROR: NMO not setuid-root (Unix-only)错误的解决方法

[日期:2013-10-27] 来源:Linux社区  作者:rlhua [字体:大 中 小]
我在进行克隆数据库操作时,在源选项点下一步出现如下错误:
 

解决方法:
 
重新执行$Oracle_HOME/root.sh,问题得到解决.
 
因数据库安装过程中已执行root.sh,怀疑是重建EM后需要重新执行root.sh,经测试不是,没有找出引起问题的原因.
 
ERROR: NMO not setuid-root (Unix-only)错误的解决方法
 
1、Was the root.sh script. ran?
 
1)、停止EM
 
[oracle@rtest ~]$ emctl stop dbconsole
Oracle Enterprise Manager 11g Database Control Release 11.2.0.3.0
Copyright (c) 1996, 2011 Oracle Corporation. All rights reserved.
https://rtest.localdomain:1158/em/console/aboutApplication
Stopping Oracle Enterprise Manager 11g Database Control ...
... Stopped.
 
 
 
2)、运行root.sh
[root@rtest ~]# /u01/app/oracle/product/11.2.0/dbhome_1/root.sh
Performing root user operation for Oracle 11g
 
The following environment variables are set as:
ORACLE_OWNER= oracle
ORACLE_HOME= /u01/app/oracle/product/11.2.0/dbhome_1
 
Enter the full pathname of the local bin directory: [/usr/local/bin]:
The contents of "dbhome" have not changed. No need to overwrite.
The contents of "oraenv" have not changed. No need to overwrite.
The contents of "coraenv" have not changed. No need to overwrite.
 
Entries will be added to the /etc/oratab file as needed by
Database Configuration Assistant when a database is created
Finished running generic part of root script.
Now product-specific root actions will be performed.
Finished product-specific root actions.
 
 
3)、启动EM
[oracle@rtest ~]$
[oracle@rtest ~]$ emctl start dbconsole
Oracle Enterprise Manager 11g Database Control Release 11.2.0.3.0
Copyright (c) 1996, 2011 Oracle Corporation. All rights reserved.
https://rtest.localdomain:1158/em/console/aboutApplication
Starting Oracle Enterprise Manager 11g Database Control .............. started.
------------------------------------------------------------------
Logs are generated in directory /u01/app/oracle/product/11.2.0/dbhome_1/rtest.localdomain_test0924/sysman/log
[oracle@rtest ~]$
 
 
2、Check the permission of the nmo and nmb executable found in $ORACLE_HOME/bin or $AGENT_OH/bin. Both should have the following permissions
[oracle@rtest ~]$ cd $ORACLE_HOME/bin
[oracle@rtest bin]$ ls -al nmo
-rws--x--- 1 root oinstall 44691 Jun 20 08:27 nmo
[oracle@rtest bin]$ ls -al nmb
-rws--x--- 1 root oinstall 34420 Jun 20 08:30 nmb

更多Oracle相关信息见Oracle 专题页面 http://www.linuxidc.com/topicnews.aspx?tid=12

linux
相关资讯       setuid-root  Unix-only 
本文评论   查看全部评论 (0)
表情: 表情 姓名: 字数

       

评论声明
  • 尊重网上道德,遵守中华人民共和国的各项有关法律法规
  • 承担一切因您的行为而直接或间接导致的民事或刑事法律责任
  • 本站管理人员有权保留或删除其管辖留言中的任意内容
  • 本站有权在网站内转载或引用您的评论
  • 参与本评论即表明您已经阅读并接受上述条款