安装oracle遇到的故障
安装oracle遇到的故障总结
os:centos4.7(64位)
db版本:oracle10.0.2.1(64位)
这次安装oracle又遇到点小问题,每次都是遇到点小问题,这次主要是包依赖关系问题,记录下。以备参考
linux在安装完oracle需要的基本包后,然后运行./runInstaller,在这开始阶段先后报错,具体错误忘记了,不过大概内容是缺库文件libstdc++.so.5和libXp.so.6
安装这两个库文件
# yum install libXp.so.6
# yum install libstdc++.so.5
安装这两个库文件后,可以继续,到最后的安装界面
安装到link的时候,大概83%的地方,弹出窗口提示错误,如果忽略,可以继续,反复尝试,总共有三个错误。
make[1]: *** [/home1/oracle/product/10.2.0/db_1/sysman/lib/libnmemso.so] Error 1
make: *** [libnmemso] Error 2
Exception String: Error in invoking target 'agent emsubagent' of makefile '/home1/oracle/product/10.2.0/db_1/sysman/lib/ins_sysman.mk'.
See '/home1/oracle/oraInventory/logs/installActions2008-02-26_05-27-25PM.log' for details.
make: *** [ctxhx] Error 1
Exception String: Error in invoking target 'install' of makefile '/home1/oracle/product/10.2.0/db_1/ctx/lib/ins_ctx.mk'.
See '/home1/oracle/oraInventory/logs/installActions2008-02-26_05-27-25PM.log' for details.
make[1]: *** [/home1/oracle/product/10.2.0/db_1/rdbms/lib/extproc32] Error 1
INFO: make: *** [extproc32] Error 2
Exception String: Error in invoking target 'all_no_orcl ipc_g' of makefile '/home1/oracle/product/10.2.0/db_1/rdbms/lib/ins_rdbms.mk'.
See '/home1/oracle/oraInventory/logs/installActions2008-02-26_05-27-25PM.log' for details.
在忽略这三个错误,结束安装后,运行DBCA安装数据库总是报错,如下所示:
[oracle@db202 database]$ sh /home/oracle/oracle/product/10.2.0/db_1/bin/dbca
UnsatisfiedLinkError exception loading native library: njni10
Exception in thread "main" java.lang.UnsatisfiedLinkError: get
at oracle.net.common.NetGetEnv.get(Native Method)
at oracle.net.config.Config.getNetDir(Unknown Source)
at oracle.net.config.Config.initConfig(Unknown Source)
at oracle.net.config.Config.<init>(Unknown Source)
at oracle.sysman.assistants.util.NetworkUtils.<init>(NetworkUtils.java:2
22)
at oracle.sysman.assistants.util.step.StepContext.<init>(StepContext.jav
a:255)
at oracle.sysman.assistants.dbca.backend.Host.<init>(Host.java:682)
at oracle.sysman.assistants.dbca.ui.UIHost.<init>(UIHost.java:205)
at oracle.sysman.assistants.dbca.ui.InteractiveHost.<init>(InteractiveHo
st.java:54)
at oracle.sysman.assistants.dbca.Dbca.getHost(Dbca.java:160)
at oracle.sysman.assistants.dbca.Dbca.execute(Dbca.java:94)
at oracle.sysman.assistants.dbca.Dbca.main(Dbca.java:180)
在网上搜得时候,都说是缺少32位的包,包括metalink都是这样解释的,要装:
glibc-32bit
glibc-devel-32bit
然后安装32位包
[root@db202 ~]# yum install glibc-devel
Setting up Install Process
Setting up repositories
Reading repository metadata in from local files
Parsing package install arguments
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for glibc-devel to pack into transaction set.
glibc-devel-2.3.4-2.43.el 100% |=========================| 97 kB 00:02
---> Package glibc-devel.i386 0:2.3.4-2.43.el4_8.2 set to be updated
---> Downloading header for glibc-devel to pack into transaction set.
glibc-devel-2.3.4-2.43.el 100% |=========================| 97 kB 00:05
---> Package glibc-devel.x86_64 0:2.3.4-2.43.el4_8.2 set to be updated
--> Running transaction check
--> Processing Dependency: glibc = 2.3.4-2.43.el4_8.2 for package: glibc-devel
--> Processing Dependency: glibc-headers = 2.3.4-2.43.el4_8.2 for package: glibc-devel
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for glibc-headers to pack into transaction set.
glibc-headers-2.3.4-2.43. 100% |=========================| 131 kB 00:04
---> Package glibc-headers.x86_64 0:2.3.4-2.43.el4_8.2 set to be updated
---> Downloading header for glibc to pack into transaction set.
glibc-2.3.4-2.43.el4_8.2. 100% |=========================| 127 kB 00:02
---> Package glibc.x86_64 0:2.3.4-2.43.el4_8.2 set to be updated
--> Running transaction check
--> Processing Dependency: glibc-common = 2.3.4-2.43.el4_8.2 for package: glibc
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for glibc-common to pack into transaction set.
glibc-common-2.3.4-2.43.e 100% |=========================| 649 kB 00:13
---> Package glibc-common.x86_64 0:2.3.4-2.43.el4_8.2 set to be updated
--> Running transaction check
--> Processing Dependency: glibc-common = 2.3.4-2.41 for package: glibc
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for glibc to pack into transaction set.
glibc-2.3.4-2.43.el4_8.2. 100% |=========================| 130 kB 00:04
---> Package glibc.i686 0:2.3.4-2.43.el4_8.2 set to be updated
--> Running transaction check
Dependencies Resolved
=============================================================================
Package Arch Version Repository Size
=============================================================================
Installing:
glibc-devel i386 2.3.4-2.43.el4_8.2 update 1.9 M
Updating:
glibc-devel x86_64 2.3.4-2.43.el4_8.2 update 2.4 M
Updating for dependencies:
glibc x86_64 2.3.4-2.43.el4_8.2 update 5.0 M
glibc i686 2.3.4-2.43.el4_8.2 update 6.0 M
glibc-common x86_64 2.3.4-2.43.el4_8.2 update 16 M
glibc-headers x86_64 2.3.4-2.43.el4_8.2 update 576 k
Transaction Summary
=============================================================================
Install 1 Package(s)
Update 5 Package(s)
Remove 0 Package(s)
Total download size: 32 M
Is this ok [y/N]: y
Downloading Packages:
(1/6): glibc-headers-2.3. 100% |=========================| 576 kB 01:37
(2/6): glibc-devel-2.3.4- 100% |=========================| 1.9 MB 03:15
(3/6): glibc-common-2.3.4 100% |=========================| 16 MB 14:52
(4/6): glibc-devel-2.3.4- 100% |=========================| 2.4 MB 02:22
(5/6): glibc-2.3.4-2.43.e 100% |=========================| 5.0 MB 04:35
(6/6): glibc-2.3.4-2.43.e 100% |=========================| 6.0 MB 05:12
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Updating : glibc-common ####################### [ 1/11]
Updating : glibc ####################### [ 2/11]
Updating : glibc [ 3/11]warning: /etc/ld.so.conf created as /etc/ld.so.conf.rpmnew
Updating : glibc [ 3/11]warning: /etc/nsswitch.conf created as /etc/nsswitch.conf.rpmnew
Updating : glibc ####################### [ 3/11]
Stopping sshd:[ OK ]
Starting sshd:[ OK ]
Updating : glibc-headers ####################### [ 4/11]
Installing: glibc-devel ####################### [ 5/11]
Updating : glibc-devel ####################### [ 6/11]
Cleanup : glibc-headers ####################### [ 7/11]
Cleanup : glibc-common ####################### [ 8/11]
Cleanup : glibc-devel ####################### [ 9/11]
Cleanup : glibc ####################### [10/11]
Cleanup : glibc ####################### [11/11]
Installed: glibc-devel.i386 0:2.3.4-2.43.el4_8.2
Updated: glibc-devel.x86_64 0:2.3.4-2.43.el4_8.2
Dependency Updated: glibc.x86_64 0:2.3.4-2.43.el4_8.2 glibc.i686 0:2.3.4-2.43.el4_8.2 glibc-common.x86_64 0:2.3.4-2.43.el4_8.2 glibc-headers.x86_64 0:2.3.4-2.43.el4_8.2
Complete!
安装完之后,然后重新relink all,再运行DBCA和netca就都ok了
# $ORACLE_HOME/bin/relink all
总结:在安装64位系统时, 不仅需要64位的安装包,还需要32的安装包
----end----
安装oracle遇到的故障的更多相关文章
- Oracle Linux 6.3下安装Oracle 11g R2(11.2.0.3)
本文主要描写叙述了在Oracle Linux 6.3下安装Oracle 11gR2(11.2.0.3).从Oracle 11g開始,Oracle官方站点不再提供其Patch的下载链接,须要使用Meat ...
- Linux服务器中安装Oracle
笔者手动安装成功 一,oracle安装前的准备与配置 1,修改stsctl.conf文件 Linux是为小文件设计的,Oracle数据库安装需要占用较多资源,要把各项参数调大. 使用vi编辑/etc/ ...
- centos6.5 64位静默安装oracle 10G R2
操作系统:CentOS release 6.5 (Final) 64位 oracle版本:Oracle Database 10g Enterprise Edition Release 10.2.0.1 ...
- CentOS静默安装Oracle 11gR2(x64)
环境 OS: CentOS 7.4; hosts: L134; IP: 192.168.1.134 DB: linux.x64_11gR2_database 安装依赖包 yum install -y ...
- CentOS安装Oracle 11gR2(x64)
本文主要步骤是参考:https://www.linuxidc.com/Linux/2014-02/97374.htm 后来自己加入了一些安装过程中遇到的问题和解决方法.使用图形界面安装Oracle已经 ...
- 安装Oracle需要调整的linux内核参数
在安装Oracle的时候需要调整linux的内核参数,但是各参数代表什么含义呢,下面做详细解析. Linux安装文档中给出的最小值: fs.aio-max-nr = 1048576 fs.file-m ...
- 在Linux中安装Oracle(较详细图解)
原创 http://www.cnblogs.com/nucdy/p/5603998.html 参考视屏:链接: https://pan.baidu.com/s/1kViEZQZ 密码: z7ha ( ...
- 在 Oracle Linux 6.5 上安装 Oracle 11g 单实例数据库
Checking the Hardware Requirements 系统必须满足下面最小的硬件要求 Memory Requirements Minimum: 1 GB of RAMRecommend ...
- 在 Linux 中安装 Oracle JDK 8 以及 JVM 的类加载机制
参考资料 该文中的内容来源于 Oracle 的官方文档 Java SE Tools Reference .Oracle 在 Java 方面的文档是非常完善的.对 Java 8 感兴趣的朋友,可以直接找 ...
随机推荐
- 009.Docker Compose部署及基础使用
一 Docker Compose概述 Compose是一个用于定义和运行多容器Docker应用程序的工具.使用Compose,您可以使用YAML文件来配置应用程序的服务.然后,使用单个命令,您可以从配 ...
- 条件随机场之CRF++源码详解-训练
上篇的CRF++源码阅读中, 我们看到CRF++如何处理样本以及如何构造特征.本篇文章将继续探讨CRF++的源码,并且本篇文章将是整个系列的重点,会介绍条件随机场中如何构造无向图.前向后向算法.如何计 ...
- JavaEE - 20181225
作者:沈世钧链接:https://www.zhihu.com/question/305924723/answer/557800752来源:知乎著作权归作者所有.商业转载请联系作者获得授权,非商业转载请 ...
- 20172309 《Java软件结构与数据结构》实验三报告
课程:<程序设计与数据结构(下)> 班级:1723 姓名: 王志伟 学号:20172309 实验教师:王志强老师 实验日期:2018年11月2日 必修/选修: 必修 实验内容: 实验一: ...
- PHPMailer 使用方法(支持群发):
一.下载函数包 地址:https://github.com/PHPMailer/PHPMailer 二.测试服务器环境 通过phpinfo()函数打印出是否支持Sockets(Socket属于php的 ...
- .w调用action
有两种方法发送Action请求,分别是sendBizRequest和sendBizRequest2,前者返回xml格式的参数,后者提供了返回json或者xml格式的参数的能力. 1.sendBizRe ...
- vscode使用wsl调试代码
第一步在WSL中配好环境 第二步安装CodeRunner即可,在用户配置中加入如下行: "terminal.integrated.shell.windows": "C:\ ...
- 解决qt提示:qt.network.ssl: QSslSocket: cannot call unresolved function DH_free
方法一(解决):把C:\Qt\Qt5.8.0\Tools\QtCreator\bin下的libeay32.dll和ssleay32.dll库复制到C:\Qt\Qt5.8.0\5.8\msvc2015_ ...
- .Net Core URL编码和解码
一.URL说明 .Net Core中http 的常用操作封装在 HttpUtility 中 命名空间 using System.Web; // // 摘要: // Provides methods f ...
- QueryRunner类实战
先上一个登录代码---判断登录是否成功 1.c3p0-config.xml <?xml version="1.0" encoding="UTF-8"?&g ...