oracle12c中在linux 7上安装报错如何处理

51次阅读
没有评论

共计 2436 个字符,预计需要花费 7 分钟才能阅读完成。

这篇文章主要介绍了 oracle12c 中在 linux 7 上安装报错如何处理,具有一定借鉴价值,感兴趣的朋友可以参考下,希望大家阅读完这篇文章之后大有收获,下面让丸趣 TV 小编带着大家一起了解一下。

环境说明:
— os
[root@host-172-16-3-132 ~]# cat /etc/redhat-release 
CentOS Linux release 7.2.1511 (Core)

— db version 
SQL select * from v$version where rownum

BANNER
——————————————————————————–
Oracle Database 12c Enterprise Edition Release 12.1.0.1.0 – 64bit Production

使用 12.1.0.1 在 linux 7 进行安装时,在此过程中有许多事情需要修正。对于 12.1.0.2 安装来说,这不是必需的,因为它完成得很干净。

During the linking phase, you will see the following error.

——————————————————
Error in invoking target links proc gen_pcscfg procob of makefile
/u01/app/oracle/product/12.1.0.1/db_1/precomp/lib/ins_precomp.mk .
See
/u01/app/oraInventory/logs/installActions2014-04-26_08-07-04PM.log
for details.

To fix it, do the following:

rm -rf $ORACLE_HOME/lib/stubs/*
cp $ORACLE_HOME/rdbms/lib/env_rdbms.mk $ORACLE_HOME/rdbms/lib/env_rdbms.mk.orig

Perform the following modifications to the $ORACLE_HOME/rdbms/lib/env_rdbms.mk file.

# Line 176
# FROM:
LINKTTLIBS=$(LLIBCLNTSH) $(ORACLETTLIBS) $(LINKLDLIBS)
# TO :
LINKTTLIBS=$(LLIBCLNTSH) $(ORACLETTLIBS) $(LINKLDLIBS) -lons

# Line 279-280
# FROM:
LINK=$(FORT_CMD) $(PURECMDS) $(ORALD) $(LDFLAGS) $(COMPSOBJS)
LINK32=$(FORT_CMD) $(PURECMDS) $(ORALD) $(LDFLAGS32) $(COMPSOBJS)
# TO :
LINK=$(FORT_CMD) $(PURECMDS) $(ORALD) $(LDFLAGS) $(COMPSOBJS) -Wl,–no-as-needed
LINK32=$(FORT_CMD) $(PURECMDS) $(ORALD) $(LDFLAGS32) $(COMPSOBJS) -Wl,–no-as-needed

# Line 3041-3042
# FROM:
TG4PWD_LINKLINE= $(LINK) $(OPT) $(TG4PWDMAI) \
$(LLIBTHREAD) $(LLIBCLNTSH) $(LINKLDLIBS)
# TO :
TG4PWD_LINKLINE= $(LINK) $(OPT) $(TG4PWDMAI) \
$(LLIBTHREAD) $(LLIBCLNTSH) $(LINKLDLIBS) -lnnz12
Click the Retry button.
————————————————

Later, you might see the following error.

Error in invoking target install of makefile 
/u01/app/oracle/product/12.1.0.1/db_1/ctx/lib/ins_ctx.mk .
See
/u01/app/oraInventory/logs/installActions2014-04-26_08-07-04PM.log
for details.

To fix it, do the following:

rm -rf $ORACLE_HOME/lib/stubs/*
cp $ORACLE_HOME/ctx/lib/env_ctx.mk $ORACLE_HOME/ctx/lib/env_ctx.mk.orig
Perform the following modifications to the $ORACLE_HOME/ctx/lib/env_ctx.mk file.

# Line 154
# FROM:
LINK=$(LDCCOM)
# TO :
LINK=$(LDCCOM) –Wl,–no-as-needed
Click the Retry button.

——————————————————————

Due to the issues during the linking phase, it probably makes sense to do a relink once the installation is complete.

dbshut $ORACLE_HOME
cd $ORACLE_HOME/bin
./relink all
# Following line should return no errors.
grep -i err $ORACLE_HOME/install/relink.log
dbstart $ORACLE_HOME

感谢你能够认真阅读完这篇文章,希望丸趣 TV 小编分享的“oracle12c 中在 linux 7 上安装报错如何处理”这篇文章对大家有帮助,同时也希望大家多多支持丸趣 TV,关注丸趣 TV 行业资讯频道,更多相关知识等着你来学习!

正文完
 
丸趣
版权声明:本站原创文章,由 丸趣 2023-07-24发表,共计2436字。
转载说明:除特殊说明外本站除技术相关以外文章皆由网络搜集发布,转载请注明出处。
评论(没有评论)