首页
学习
活动
专区
工具
TVP
发布
精选内容/技术社群/优惠产品,尽在小程序
立即前往
  • 您找到你想要的搜索结果了吗?
    是的
    没有找到

    Linux (RHEL 5.4)下安装 Oracle 10g R2

    如转载,请注明出处:http://blog.csdn.net/robinson_0612/archive/2010/03/30/5431428.aspx      虽然 Oracle 10g Database Release 2 已经推出几年了,但这个版本仍然为很多初学者学习的版本,下面详细讲述了安装 Oracle 10g 的步骤。 一、 linux 的版本选用     目前 linux(RHEL) 使用的主要版本为 5.4 版,可以到下面的地址下载其安装文件。        RHEL5.4 下载   http://download.chinaunix.net/download/0013000/12623.shtml 二、关于 linux 的安装     很多初学者使用的是 XP 系统上的虚拟机来安装 Linux ,因此本文也是在虚拟机上安装 Linux 然后再安装 Oracle 10g. 至于虚拟机可以使用 VMware 6.5 Workstation 版,这个可以到百度 ,Google 找一下,比较多。安装了 linux 时,我们需要特殊的配置一下 Oracle 的安装环境,关于这个配置 Oracle 安装环境,请参考: VmWare6.5.2下安装 RHEL 5.4(配置 Oracle安装环境) 三、安装 Oracle 前的环境检查     1. 下载 Oracle 10g R2        Oracle 10g for Linux   http://www.oracle.com/technology/software/products/database/index.html     2. 查看 Linux 内核参数,有点多余,作为初学者,还是可以练习一下。请确保高于 2.6.9 -5.0.5.EL 以上内核              强烈建议大家安装 SecureCRT 或 VNC 工具,这样不必来回在 XP 和 Linux 下切换。        uname –r [root@localhost ~]# uname -r        2.6.18 -164.el5xen     3. 查看 CPU 、内存、 Swap 及磁盘可用空间        内存:至少 1GB ,下图中我的内存仅 900MB        Swap :一般为可用物理内存的 2 倍,比如设定为 2GB        /Temp 分区:至少 400MB        Oracle 安装目录所在的分区:至少 4GB [root@localhost ~]# free -m                     total       used       free     shared    buffers     cached        Mem:           900        568        331          0         56        356        -/+ buffers/cache:        154        745        Swap:         2251          0       2251 [root@localhost ~]# df -h        Filesystem            Size  Used Avail Use% Mounted on        /dev/sda2             6.4G  3.8G  2.3G  63% /        /dev/sdd1             6.8G  144M  6.3G   3% /u01        /dev/sdc2             1.2G   34M  1.1G   3% /home        /dev/sdc1             760M   17M  704M   3% /tmp        /dev/sda1             456M   18M  415M   5% /boot        tmpfs                    450M     0  450M   0% /dev/shm        none                     450M   104K  450M   1% /var/lib/xenstored        /dev/hdc               2.8G  2.8G     0 100% /media/RHEL_5.4 i386 DVD 四、配置安装环境     1. 安装补丁包        关于确认补丁包的是否已安装,可以使用下述方式来查看        rpm -q gcc make

    01

    X86 DBCA, NETCA GIVE JAVA HOTSPOT ERROR IF ON X86_64 HARDWARE

    在使用DBCA命令创建新的数据库时,DBCA命令无法启动。运行的环境是宿主机64bit+AMD cpu, 而客户机为Linux 32bit + Grid Infrastructure(32) + Oracle database software(32)的情形。原本想着32bit运行的会快一点,没想到Bug 8670579 在执行dbca时再一次被触发,根据Oracel描述,类似的NETCA也会触发这个Bug。 一、故障现象     [oracle@linux1 ~]$ dbca     #     # An unexpected error has been detected by HotSpot Virtual Machine:     #     #  SIGSEGV (0xb) at pc=0x9e0ea498, pid=4242, tid=3086584016     #     # Java VM: Java HotSpot(TM) Server VM (1.5.0_17-b02 mixed mode)     # Problematic frame:     # C  [libnnz11.so+0x3c498]     #     # An error report file with more information is saved as hs_err_pid4242.log     #     # If you would like to submit a bug report, please visit:     #   http://java.sun.com/webapps/bugreport/crash.jsp     #     Aborted     [oracle@linux1 ~]$

    02

    Failed to upgrade Oracle Cluster Registry configuration(root.sh)

    最近在给客户基于Suse 11 sp3安装Oracle 10g RAC,在安装完clusterware执行/u01/app/crs/root.sh时收到错误提示,Failed to upgrade Oracle Cluster Registry configuration由于当前的环境使用了多路径,从Oracle的描述来看,这是一个Oracle Bug(4679769),如果你有相同的问题,请接着往下看。 一、故障现象 suse11a:/u01/app/crs # /u01/app/crs/root.sh WARNING: directory '/u01/app' is not owned by root Checking to see if Oracle CRS stack is already configured /etc/oracle does not exist. Creating it now. Setting the permissions on OCR backup directory Setting up NS directories Failed to upgrade Oracle Cluster Registry configuration  #此处为错误提示 #下面使用clsfmt命令时提示Received unexpected error,注,/u01/app/crs 为ORA_CRS_HOME。 suse11a:/ # /u01/app/crs/bin/clsfmt ocr /dev/raw/raw1 clsfmt: Received unexpected error 4 from skgfifi skgfifi: Additional information: -2 Additional information: 1073741824 #下面是具体的错误日志 suse11a:/u01/app/crs/log/suse11a/client # pwd /u01/app/crs/log/suse11a/client suse11a:/u01/app/crs/log/suse11a/client # more ocrconfig_24066.log Oracle Database 10g CRS Release 10.2.0.1.0 Production Copyright 1996, 2005 Oracle.  All rights reserved. 2014-08-11 11:52:14.993: [ OCRCONF][2176517888]ocrconfig starts... 2014-08-11 11:52:14.994: [ OCRCONF][2176517888]Upgrading OCR data 2014-08-11 11:52:15.100: [  OCRRAW][2176517888]propriogid:1: INVALID FORMAT 2014-08-11 11:52:15.101: [  OCRRAW][2176517888]ibctx:1:ERROR: INVALID FORMAT 2014-08-11 11:52:15.101: [  OCRRAW][2176517888]proprinit:problem reading the bootblock or superbloc 22 2014-08-11 11:52:15.102: [ default][2176517888]a_init:7!: Backend init unsuccessful : [22] 2014-08-11 11:52:15.102: [ OCRCONF][2176517888]Exporting OCR data to [OCRUPGRADEFILE] 2014-08-11 11:52:15.102: [  OCRAPI][2176517888]a_init:7!: Backend init unsuccessful : [33] 2014-08-11 11:52:15.102: [ OCRCONF][2176517888]There was no previous version of OCR. error:[PROC-33: Oracle Cluster Registry is not configured] 2014-08-11 11:52:15.108: [  OCRRAW][2176517888]propriogid:1: INVALID FORMAT 2014-08-11 11:52:15.108: [  OCRRAW][2176517888]ibctx:1:ERROR: INVALID FORMAT 2014-08-11 11:52:15.108:

    01
    领券