参考1:https://community.oracle.com/thread/450714
Install
I install an enterprise manager 10g grid control
1 using an exsiting database on Linux
2 parent directory is :/home/oracle/OracleHomes
3 after a few minutes it reports:
OUI-10066:Not all the dependencies for the component Oracle
Distributed Configuration Management 10.1.2.1.0 could be
found.
missing component oracle.jdk 1.4.1.0.3
but I have install jdk1.4.2_08 when I installed Oracle 10g
I do not know how to resolve the problem!Can you give me some
advice .what should I check,and how to do.Thanks anyway!
参考2:http://blog.csdn.net/config_man/article/details/5717177
解决linux下javac -version和java -version版本显示不一致
which java
mv /usr/bin/java /usr/bin/java-1.6.0_0
ln -s $JAVA_HOME/bin/java /usr/bin/java
解压缩BIN文件:
chmod +x j2sdkxxx.bin
Red Hat 5.3里报错:the download file appears to be corrupted.
找着一台生产库linux版本是Red Hat 4.4,但只有oracle账户,执行时报权限问题:
./j2sdk-1_4_1_03-linux-i586.bin: line 396: ./install.sfx.6492: cannot execute binary file
找到一台虚拟机版本是4.2,但不知道密码,清空密码进入系统后,执行成功!
拷贝文件夹到$ORACLE_HOME下,设置环境变量JAVA_HOME和CLASSPATH,再次安装GC,还是报错!
接着尝试:安装时使用Using a New Database选项,才没出现那个讨厌的问题。要删除事先创建好的EMREP库。
新的问题:Encountered error 'Error in invoking target 'dm_on ioracle'
参考3:http://www.orafaq.com/forum/t/97134/
When installing Grid Control, the GUI stops at about 70% and throws an error: Error in invoking target 'dm_on ioracle' of makefile '/ORA/dbs02/oracle/oemgrid/db10g/rdbms/lib/ins_rdbms.mk'. See '/ORA/dbs01/oracle/oraInventory/logs/installActions2008-02-11_04-05-57PM.log' for details.
附1:Linux 系统密码破解
1.在grub选项菜单按e进入编辑模式
2.(按e)编辑kernel那行 添加 /init 1 (或/single)
3.按B重启
4.进入后执行下列命令
#vi /etc/passwd
将第一行的root:x:0....中的X删除,变成 root::0....然后保存退出!
在进去系统此时root密码为空。
修改密码
#passwd root
附2:Linux环境变量的设置和查看方法
使用env命令显示所有的环境变量来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/23708585/viewspace-1115504/ ,如需转载,请注明出处,否则将追究法律责任。