Oracle数据库数据恢复、性能优化

找回密码
注册
搜索
热搜: 活动 交友 discuz
发新帖

131

积分

1

好友

13

主题
1#
发表于 2013-1-23 14:55:36 | 查看: 4949| 回复: 5
redhat64
db:11201
relink 的时候总是报错误Error in invoking target 'agent nmhs'...
[oracle@localhost ~]$ cat /home/oracle/product/11.2.0/db_1/install/relink.log|grep -i err
/home/oracle/product/11.2.0/db_1/precomp/lib/ins_precomp.mk:19: warning: overriding commands for target `pcscfg.cfg'
/home/oracle/product/11.2.0/db_1/precomp/lib/ins_precomp.mk:19: warning: overriding commands for target `pcscfg.cfg'
/home/oracle/product/11.2.0/db_1/sysman/lib/ins_emagent.mk:127: warning: overriding commands for target `nmosudo'
/home/oracle/product/11.2.0/db_1/sysman/lib/ins_emagent.mk:127: warning: overriding commands for target `nmosudo'
/home/oracle/product/11.2.0/db_1/sysman/lib/ins_emagent.mk:127: warning: overriding commands for target `nmosudo'
/home/oracle/product/11.2.0/db_1/sysman/lib/ins_emagent.mk:127: warning: overriding commands for target `nmosudo'
make[1]: *** [/home/oracle/product/11.2.0/db_1/sysman/lib/libnmemso.so] Error 1
make: *** [libnmemso] Error 2
Error in invoking target 'agent nmhs' of makefile '/home/oracle/product/11.2.0/db_1/sysman/lib/ins_emagent.mk'. See '/home/oracle/product/11.2.0/db_1/install/relinkActions2013-01-23_02-42-49-PM.log' for details.
/home/oracle/product/11.2.0/db_1/sysman/lib/ins_emagent.mk:127: warning: overriding commands for target `nmosudo'
/home/oracle/product/11.2.0/db_1/sysman/lib/ins_emagent.mk:127: warning: overriding commands for target `nmosudo'


不知道该怎么解决多谢啊
2#
发表于 2013-1-23 14:58:49
日志文件

relink.txt

147.73 KB, 下载次数: 1069

回复 只看该作者 道具 举报

3#
发表于 2013-1-23 16:36:51
  1. /usr/bin/ld: cannot find -ljava
  2. collect2: make[1]: Leaving directory `/home/oracle/product/11.2.0/db_1/sysman/lib'
  3. ld returned 1 exit status
  4. make[1]: *** [/home/oracle/product/11.2.0/db_1/sysman/lib/libnmemso.so] Error 1
  5. make: *** [libnmemso] Error 2
  6. Error in invoking target 'agent nmhs' of makefile '/home/oracle/product/11.2.0/db_1/sysman/lib/ins_emagent.mk'. See '/home/oracle/product/11.2.0/db_1/install/relinkActions2013-01-23_02-42-49-PM.log' for details.
  7. chmod 755 /home/oracle/product/11.2.0/db_1/bin
复制代码
1. 你按照文档要求安装必要的rpm了吗? 如果没有 这不是在浪费时间吗?
2. 是否新安装?

回复 只看该作者 道具 举报

4#
发表于 2013-1-23 17:06:15
嗯,已经安装了所需要的包了
  1. [root@localhost install]# rpm -q --qf '%{NAME}-%{VERSION}-%{RELEASE}(%{ARCH})\n' binutils compat-libstdc++-33 elfutils-libelf elfutils-libelf-devel gcc gcc-c++ glibc glibc-common glibc-devel glibc-headers ksh libaio libaio-devel libaio-devel libgcc libstdc++ libstdc++-devel make numactl-devel sysstat unixODBC unixODBC-devel unixODBC-devel
  2. binutils-2.17.50.0.6-14.el5(x86_64)
  3. compat-libstdc++-33-3.2.3-61(x86_64)
  4. compat-libstdc++-33-3.2.3-61(i386)
  5. elfutils-libelf-0.137-3.el5(x86_64)
  6. elfutils-libelf-0.137-3.el5(i386)
  7. package elfutils-libelf-devel is not installed
  8. gcc-4.1.2-54.el5(x86_64)
  9. gcc-c++-4.1.2-54.el5(x86_64)
  10. glibc-2.5-58(x86_64)
  11. glibc-2.5-58(i686)
  12. glibc-common-2.5-58(x86_64)
  13. glibc-devel-2.5-58(x86_64)
  14. glibc-devel-2.5-58(i386)
  15. glibc-headers-2.5-58(x86_64)
  16. ksh-20100202-1.el5_5.1(x86_64)
  17. libaio-0.3.106-5(x86_64)
  18. libaio-0.3.106-5(i386)
  19. libaio-devel-0.3.106-5(x86_64)
  20. libaio-devel-0.3.106-5(i386)
  21. libaio-devel-0.3.106-5(x86_64)
  22. libaio-devel-0.3.106-5(i386)
  23. libgcc-4.1.2-54.el5(x86_64)
  24. libgcc-4.1.2-54.el5(i386)
  25. libstdc++-4.1.2-54.el5(x86_64)
  26. libstdc++-4.1.2-54.el5(i386)
  27. libstdc++-devel-4.1.2-54.el5(x86_64)
  28. libstdc++-devel-4.1.2-54.el5(i386)
  29. make-3.81-3.el5(x86_64)
  30. numactl-devel-0.9.8-11.el5(x86_64)
  31. numactl-devel-0.9.8-11.el5(i386)
  32. sysstat-7.0.2-3.el5_5.1(x86_64)
  33. unixODBC-2.2.11-7.1(x86_64)
  34. unixODBC-2.2.11-7.1(i386)
  35. unixODBC-devel-2.2.11-7.1(x86_64)
  36. unixODBC-devel-2.2.11-7.1(i386)
  37. unixODBC-devel-2.2.11-7.1(x86_64)
  38. unixODBC-devel-2.2.11-7.1(i386)
  39. [root@localhost install]#
复制代码
嗯,重新安装了

回复 只看该作者 道具 举报

5#
发表于 2013-1-23 22:01:56
/usr/bin/ld: cannot find -ljava


==> action plan:

su - oracle
env
cat .bash_profile

回复 只看该作者 道具 举报

6#
发表于 2013-1-24 10:29:59
aaaaaaaa2000 发表于 2013-1-23 17:06
嗯,已经安装了所需要的包了嗯,重新安装了

libXp-*.i386.rpm这个包装一下,再看看

回复 只看该作者 道具 举报

您需要登录后才可以回帖 登录 | 注册

QQ|手机版|Archiver|Oracle数据库数据恢复、性能优化

GMT+8, 2024-12-27 01:53 , Processed in 0.051048 second(s), 23 queries .

Powered by Discuz! X2.5

© 2001-2012 Comsenz Inc.

回顶部
TEL/電話+86 13764045638
Email service@parnassusdata.com
QQ 47079569