ORACLE10G-64位安装过程错误汇总
来源:互联网 发布:图像故障诊断算法 编辑:程序博客网 时间:2024/05/21 10:04
环境:CentOS6.2 64 位 ORACLE10G
这2天,我配合外地同事安装ORACLE10G,本来是一件很简单的事情,但是这个过程实在痛苦啊。我发个公司内部的安装文档了,但是这个兄弟没有仔细看。在安装过程中,出现了很多问题,现在在这些问题和大家分享一下吧。
[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)
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)
关于这个问题,其实网上有很多的朋友介绍了,是少32bit的glibc和glibc-devel,但是也有人反应有这个2个包了,在这里刚开始的时候,我是没有安装这个2个32位的包,后来我在网上找了一些说法,是删除数据库软件,然后重新安装,我也这么做了,真的有效,所以我的结论是如果出现上面的问题,就直接删了数据库软件,重新安装吧。
接着软件是安装完毕了,dbca也能运行出现界面了,在安装数据库的时候出现ORA-27125这个错误,因为我们是liunx6安装,所以在安装软件的时候,是执行“./runInstaller -ignoreSysPreReqs ”,忽略了版本的。继续解决问题吧,网上说“hugetlb_shm_group”的问题,关于"hugetlb_shm_group"的说明。
When a process uses some memory, the CPU is marking the RAM as used by that process. For efficiency, the CPU allocate RAM by chunks of 4K bytes (it's the default value on many platforms). Those chunks are named pages. Those pages can be swapped to disk, etc. Since the process address space are virtual, the CPU and the operating system have to remember which page belong to which process, and where it is stored. Obviously, the more pages you have, the more time it takes to find where the memory is mapped. When a process uses 1GB of memory, that's 262144 entries to look up (1GB / 4K). If one Page Table Entry consume 8bytes, that's 2MB (262144 * 8) to look-up. Most current CPU architectures support bigger pages (so the CPU/OS have less entries to look-up), those are named Huge pages (on Linux), Super Pages (on BSD) or Large Pages (on Windows), but it all the same thing.
往文件添加的命令如下”# echo 501 > /proc/sys/vm/hugetlb_shm_group“ ,其中501是oracle用户对于dba组的id,可以用
id oracle 命令观看,现在安装的同事说 501要加冒号才能安装完毕。这个大家具体看自己的情况吧。
就这样ORA-27125的问题过去了。我本以为应该就安装完毕了吧,接着又出问题,ORA-00600: [keltnfy-ldmInit][46], [1], []
、、、哎 继续找问题,我看了“secooler”的一篇文章,地址是“http://space.itpub.net/519536/viewspace-614893”,发现是由于但是安装的时候,现在的兄弟没有改hosts文件。。。不说了,,,改吧。
就这样折腾了一个下午吧,数据库是安装完毕了。我在这里劝大家安装之前一定要去看看官方帮助文档。对每个步骤要做到明白,要不然,去现场给客户弄得时候,丢大人了。
0 0
- ORACLE10G-64位安装过程错误汇总
- Linux 安装 Oracle10g 常见错误汇总(转)
- 64位 安装oracle10g 问题
- Windows7(64位)安装Oracle10g
- Windows7(64位)安装Oracle10g
- Windows7(64位)安装Oracle10g
- Windows7(64位)安装Oracle10g
- win7 64位系统安装oracle10g
- redhat5 linux32/64位 oracle10g安装
- 在win7 64位上安装oracle10g
- Windows7(64位)安装Oracle10g
- Window7(64位)系统安装Oracle10g
- win7 64位oracle10G 的安装
- oracle10g安装过程报ins_emdb.mk错误处理方法
- oracle10g安装过程报ins_emdb.mk错误处理方法
- 64位centso5.5下安装64位oracle10g…
- win7 旗舰版 64位安装 oracle10g 32位
- win7 64位 安装32位oracle10G 的方法
- 在Lu脚本中使用协程
- 都是大字段clob设计不合理惹的祸
- 拓扑排序
- Java(Android)线程池
- 全面了解华为VRP系统
- ORACLE10G-64位安装过程错误汇总
- 2013CVPR文章
- C语言实现linux网卡检测-改进版
- 超简单的升级包制作(直接覆盖相应的路径下文件)无注册表修改
- AXIS2框架之POJO
- js生成span
- ifconfig 陷阱
- 早睡早起使人健康、富裕又聪明
- 使用XtraGrid自定义列计算