• 欢迎访问搞代码网站,推荐使用最新版火狐浏览器和Chrome浏览器访问本网站!
  • 如果您觉得本站非常有看点,那么赶紧使用Ctrl+D 收藏搞代码吧

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

mysql 搞代码 4年前 (2022-01-09) 29次浏览 已收录 0个评论

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

解决方法:

重新执行$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@rte本文来源gaodai#ma#com搞@代~码^网+st 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


搞代码网(gaodaima.com)提供的所有资源部分来自互联网,如果有侵犯您的版权或其他权益,请说明详细缘由并提供版权或权益证明然后发送到邮箱[email protected],我们会在看到邮件的第一时间内为您处理,或直接联系QQ:872152909。本网站采用BY-NC-SA协议进行授权
转载请注明原文链接:ERROR: NMO not setuid-root (Unix-only)错误的解决方法

喜欢 (0)
[搞代码]
分享 (0)
发表我的评论
取消评论

表情 贴图 加粗 删除线 居中 斜体 签到

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址