安裝12c遇到 Error in invoking target 'irman ioracle' of makefile
在OEL6.4、OEL5.7上多次安裝Oracle12c都是報這個錯誤,在網上找到的解決辦法修改ins_rdbms.mk沒用!
vi ins_rdbms.mk
879 $(PLSHPROF) : $(ALWAYS) $(PLSHPROF_DEPS)
880 $(SILENT)$(ECHO)
881 $(SILENT)$(ECHO) " - Linking hierarchical profiler utility (plshprof)"
882 $(RMF) $@
883 $(PLSHPROF_LINKLINE) -lons
884
885 $(DBFSIZE) : $(ALWAYS) $(DBFSIZE_DEPS)
886 $(SILENT)$(ECHO)
887 $(SILENT)$(ECHO) " - Linking database file size utility (dbfsize)"
888 $(RMF) $@
889 $(DBFSIZE_LINKLINE)
890
891 $(CURSIZE) : $(ALWAYS) $(CURSIZE_DEPS)
892 $(SILENT)$(ECHO)
893 $(SILENT)$(ECHO) " - Linking cursor size utility (cursize)"
894 $(RMF) $@
895 $(CURSIZE_LINKLINE)
896
897 $(RMAN) : $(ALWAYS) $(RMAN_DEPS)
898 $(SILENT)$(ECHO)
899 $(SILENT)$(ECHO) " - Linking recovery manager (rman)"
900 $(RMF) $@
901 $(RMAN_LINKLINE) -lons
在/u01/app/oraInventory/logs/installActions2015-01-31_06-49-16AM.log 的最後一段發現了問題的關鍵就是缺少javavm12
INFO: /usr/bin/ld: cannot find -ljavavm12
collect2: ld returned 1 exit status
INFO: make: *** [/u01/app/oracle/product/12.1.0/db_1/rdbms/lib/oracle] Error 1
INFO: End output from spawned process.
INFO: ----------------------------------
INFO: Exception thrown from action: make
Exception Name: MakefileException
Exception String: Error in invoking target 'irman ioracle' of makefile '/u01/app/oracle/product/12.1.0/db_1/rdbms/lib/ins_rdbms.mk'. See '/u01/app/oraInventory/logs/installActions2015-02-01_10-00-19AM.log' for details.
Exception Severity: 1
找到libjavavm12複製到$ORACLE_HOME/lib下
1, 查詢javavm12
# find / -name *javavm12*
/u01/app/oracle/product/12.1.0/db_1/javavm/jdk/jdk7/lib/libjavavm12.a
/u01/app/oracle/product/12.1.0/db_1/javavm/jdk/jdk6/lib/libjavavm12.a
2, 確認$ORACLE_HOME/lib確實沒有該檔案
cd $ORACLE_HOME/lib
$ ls -l *java*
-rw-r--r-- 1 oracle oinstall 2469823 Jan 14 2013 libcorejava.so
3, 將/u01/app/oracle/product/12.1.0/db_1/javavm/jdk/jdk7/lib/libjavavm12.a 複製到$ORACLE_HOME/lib
[oracle@oracle12c lib]$ cp /u01/app/oracle/product/12.1.0/db_1/javavm/jdk/jdk7/lib/libjavavm12.a .
4,
[oracle@oracle12c lib]$ ls -l *java*
-rw-r--r-- 1 oracle oinstall 2469823 Jan 14 2013 libcorejava.so
-rw-r--r-- 1 oracle oinstall 31158646 Feb 1 10:31 libjavavm12.a
回到圖形頁面點選retry,問題解決!
困擾了我一天的問題,心情極其煩躁,希望此文能幫助到其他同學!
困擾了我一天的問題,心情極其煩躁,希望此文能幫助到其他同學!
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/29047826/viewspace-1422559/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Error in invoking target 'irman ioracle' of makefileErrorOracle
- Error in invoking target 'agent nmhs' of makefileError
- error in invoking target install of makefileError
- [Oracle] Error in invoking target 'agent nmhs' of makefileOracleError
- Exception String: Error in invoking target of makefileExceptionError
- CentOS7.6安裝oracle 11.2.0.4 Error in invoking target 'agent nmhs' of makefileCentOSOracleError
- Exception String: Error in invoking target install of makefileExceptionError
- 【Oracle】Linux7安裝11g Error in invoking target 'agent nmhs' of makefileOracleLinuxError
- Error in invoking target “install” of makefile 'ins_ctx.mk'Error
- Error in invoking target agent nmhs of makefile ins_emagent.mkError
- Error in invoking targetError
- 【Oracle】Linux7安裝11g 86%報錯:Error in invoking target 'agent nmhs' of makefileOracleLinuxError
- 安裝as10g3的售後報錯Error in invoking target 'ntcontab.o' of makefileError
- Error in invoking target 'client_sharedlib' of makefile ins_rdbms.mkErrorclient
- Error in invoking target install of makefile plsql/lib/ins_plsql.mkErrorSQL
- 安裝oracle11g遇到的Oracle11g Error in invoking target類錯誤OracleError
- Oracle 10g 安裝報錯Error in invoking target 'all_no_orcl ihsodbc'Oracle 10gError
- opensuse install oracle 11gR2 Error in invoking target 'agent nmhs' of makefile '../ins_emagent.mk'OracleError
- Linux7安裝11g 86%報錯:Error in invoking target 'agent nmhs'LinuxError
- suse oracle 11.2.0.4 Error in invoking target 'agent nmhs' ins_emagent.mkOracleError
- Error in invoking..makefile.../11.2.0.3/db_1/network/lib/ins_net_client.mkErrorclient
- UBUNTU安裝kaldi遇到關於not install OpenFst errorUbuntuNFSError
- oracle安裝遇到:CreateFile() error 32 when trying set file timeOracleError
- 12c安裝
- 【kingsql分享】安裝EM遇到【SEVERE: Error creating the repository】SQLError
- Oracle 12C安裝Oracle
- 12c em安裝
- 在Linux Mint中安裝Clion遇到CMake Error的解決辦法LinuxError
- 安裝mysql遇到ERROR: 1136 Column count doesn't match value count at row 1MySqlError
- Rocky9安裝python3.6報錯 make: *** [Makefile:1102: install] Error 139PythonError
- Vue專案升級webpack4.x和遇到的那些安裝包ErrorVueWebError
- Repo安裝遇到問題
- oracle 12c release 2 安裝Oracle
- oracle 12c 靜默安裝Oracle
- Centos 7.4 安裝Oracle 12cCentOSOracle
- Ubuntu下安裝oracle 12cUbuntuOracle
- Coreseek 安裝出現 Makefile.in 檔案找不到
- 安裝ElasticSearch-6.2.3所遇到的安裝報錯Elasticsearch