我买的是redhat linux12.0,装上的是redhat enterprise linux5.
现在准备在上面安装oracle.我按照网上给的步骤进行,发现我的linux环境差很多东西。
grep MemTotal /proc/meminfo没有值,  meminfo文件是空的。
还却少openmotif等几个包(提示未安装)。。
我发现第二张碟里面有那些包,但是安装不了。提示有依赖关系,但是在里面找不到那个依赖的包。
请大家帮忙解决。。小弟不胜感激。。

解决方案 »

  1.   

    到其它盘里面找找。linux安装盘有多张啊。简单的方法是安装linux的时候把开发包也都选择,或者选择最大安装。就不会有问题了。
      

  2.   


    我记得,我好像是全装了的。。 就有一些杂东西没装。。难道要重新装linux?
      

  3.   

    meminfo文件是空的是什么意思?
    难道是我留给linux的空间太小了(7G)?
      

  4.   

    你联网没有,联网了可以用软件仓库来装缺的包,依赖包也会自动安装。
    yum install 包名
      

  5.   

    /proc/meminfo文件都为空。。
    建议重新装个吧,按照默认的来装就可以了。
      

  6.   

    你说的openmotif等几个包是否为redhat linux12.0的补丁?
    把缺少的文件到网上搜一下,看能否下载到。
      

  7.   


    联网了的... 这个方法我试过...没有成功!我想问7G的空间装oracle和delphi够不够?(准备重装)
      

  8.   

    只安装oracle软件和delphi够。但是你建库有多少数据量,占多大空间,这个就自己看了。
    不过red hat linux 12还从来没听说过。最新的要么就enterprise linux 5,要么fedora 9
      

  9.   

    企业版的你yum好像不行吧。关键你现在不知道缺哪些包。不知道你装系统时候怎么选择的。7G的空间装oracle和delphi足够了。
      

  10.   

    企业版当然有yum了。就是不知道LZ具体怎么弄的。
      

  11.   


    就是 enterprise linux 5 啊
    里面的一个企业级服务器版的
      

  12.   

    我刚刚重装了,还是没有openmotif包。。
    在引导的最后一步的时候,要第二张盘。。我放进去了,但是提示找不到自动运行程序。。具体怎么用哦(我试过完整名,没成功。通配符怎么用?)!
      

  13.   

    昏,我的帖子出bug了啊...(我才晓得..linux系统上可以看到我的回帖啊..难怪没人理我列)我重新装了linux还是有这问题..最后终于解决了...哪个 libXp.. 的依赖包居然在第一张安装盘里面  - -!我想问下前辈们...所谓的oracle从windows移植到linux上到底能达到什么效果...我的意思是这种移植,linux上应该也要安装oracle吧? (新手不懂,大家别见笑!)如果要安装的话,那何必直接导入导出呢?
      

  14.   

    我的意思是这种移植,linux上应该也要安装oracle吧? 
    ===============================================
    当然了,oracle 数据库系统总是要安装的,安装可数据库系统才能将原来的数据导入啊
      

  15.   

    我按照这篇帖子安装oracle9i      http://server.chinabyte.com/478/2637978.shtml安装时出现  JAVA VM 错误 后来查网站说要在里面加上内核的版本我加上了 export LD_ASSUME_KERNEL=2.6.18(我加了之后,还是出现这个错误这问题到底怎么解决啊。。
      

  16.   

    成功安装过程2.redhat 5 下安装oracle 10g 
    1>默认安装redhat5
    2>.添加如下几个程序包
    glibc-headers-2.5-12.i386.rpm 
     glibc-devel-2.5-12.i386.rpm 
    compat-gcc-34-3.4.6-4.i386.rpm
    compat-gcc-34-c++-3.4.6-4.i386.rpm 
    libgomp-4.1.1-52.el5.i386.rpm 
    gcc-4.1.1-52.el5.i386.rpm 
    compat-libstdc++-33-3.2.3-61.i386.rpm 
    libXp-1.0.0-8.i386.rpm
    --------------------------------------------------------------------------------[root@cc Server]# rpm -ivh glibc-headers-2.5-12.i386.rpm 
    warning: glibc-headers-2.5-12.i386.rpm: Header V3 DSA signature: NOKEY, key ID 37017186
    Preparing...                ########################################### [100%]
       1:glibc-headers          ########################################### [100%]
    [root@cc Server]# rpm -ivh  glibc-devel-2.5-12.i386.rpm 
    warning: glibc-devel-2.5-12.i386.rpm: Header V3 DSA signature: NOKEY, key ID 37017186
    Preparing...                ########################################### [100%]
       1:glibc-devel            ########################################### [100%]
    [root@cc Server]# rpm -ivh compat-gcc-34-3.4.6-4.i386.rpm
    warning: compat-gcc-34-3.4.6-4.i386.rpm: Header V3 DSA signature: NOKEY, key ID 37017186
    Preparing...                ########################################### [100%]
       1:compat-gcc-34          ########################################### [100%]
    [root@cc Server]# rpm -ivh compat-gcc-34-c++-3.4.6-4.i386.rpm 
    warning: compat-gcc-34-c++-3.4.6-4.i386.rpm: Header V3 DSA signature: NOKEY, key ID 37017186
    Preparing...                ########################################### [100%]
       1:compat-gcc-34-c++      ########################################### [100%][root@cc Server]# rpm -ivh libgomp-4.1.1-52.el5.i386.rpm 
    warning: libgomp-4.1.1-52.el5.i386.rpm: Header V3 DSA signature: NOKEY, key ID 37017186
    Preparing...                ########################################### [100%]
       1:libgomp                ########################################### [100%]
    [root@cc Server]# rpm -ivh gcc-4.1.1-52.el5.i386.rpm 
    warning: gcc-4.1.1-52.el5.i386.rpm: Header V3 DSA signature: NOKEY, key ID 37017186
    Preparing...                ########################################### [100%]
       1:gcc                    ########################################### [100%]
    [root@cc Server]# [root@cc Server]# rpm -ivh compat-libstdc++-33-3.2.3-61.i386.rpm 
    warning: compat-libstdc++-33-3.2.3-61.i386.rpm: Header V3 DSA signature: NOKEY, key ID 37017186
    Preparing...                ########################################### [100%]
       1:compat-libstdc++-33    ########################################### [100%]
    3>编写内核参数kernel.shmall = 2097152
    kernel.shmmax = 2147483648
    kernel.shmmni = 4096
    kernel.sem = 250 32000 100 128
    fs.file-max = 65536
    net.ipv4.ip_local_port_range = 1024 65000
    net.core.rmem_default = 262144
    net.core.rmem_max = 262144
    net.core.wmem_default = 262144
    net.core.wmem_max = 262144
    做法:进入 /etc/sysctl.conf ,添加上面的内容
        /sbin/sysctl -p[root@cc Server]# more /etc/sysctl.conf
    # Kernel sysctl configuration file for Red Hat Linux
    #
    # For binary values, 0 is disabled, 1 is enabled.  See sysctl(8) and
    # sysctl.conf(5) for more details.# Controls IP packet forwarding
    net.ipv4.ip_forward = 0# Controls source route verification
    net.ipv4.conf.default.rp_filter = 1# Do not accept source routing
    net.ipv4.conf.default.accept_source_route = 0# Controls the System Request debugging functionality of the kernel
    kernel.sysrq = 0# Controls whether core dumps will append the PID to the core filename
    # Useful for debugging multi-threaded applications
    kernel.core_uses_pid = 1# Controls the use of TCP syncookies
    net.ipv4.tcp_syncookies = 1# Controls the maximum size of a message, in bytes
    kernel.msgmnb = 65536# Controls the default maxmimum size of a mesage queue
    kernel.msgmax = 65536# Controls the maximum shared segment size, in bytes
    kernel.shmmax = 4294967295# Controls the maximum number of shared memory segments, in pages
    kernel.shmall = 268435456
    # added by cx
    kernel.shmmni = 4096
    kernel.sem = 250 32000 100 128
    fs.file-max = 65536
    net.ipv4.ip_local_port_range = 1024 65000
    net.core.rmem_default = 262144
    net.core.rmem_max = 262144
    net.core.wmem_default = 262144
    net.core.wmem_max = 2621444>建立oracle用户,dba组
    groupadd dba
    useradd -G dba oracle
    passwd oracle
    5>设置oracle用户的环境变量
    [root@rac1 ~]# su - oracle
    [root@cc Server]# su - oracle
    [oracle@cc ~]$ vi .bash_profile
    # .bash_profile# Get the aliases and functions
    if [ -f ~/.bashrc ]; then
            . ~/.bashrc
    fi# User specific environment and startup programsPATH=$PATH:$HOME/bin
    ORACLE_BASE=/oracle ; export ORACLE_BASEexport PATH
    6>安装oracleoracle@cc ~]$ 
    [oracle@cc ~]$ ls
    10201_database_linux32.zip  database
    [oracle@cc ~]$ cd database/
    [oracle@cc database]$ ls
    doc  install  response  runInstaller  stage  welcome.html
    [oracle@cc database]$ export LANT=US
    [oracle@cc database]$ ./runInstaller 
    正在启动 Oracle Universal Installer...正在检查安装程序要求...检查操作系统版本: 必须是redhat-3, SuSE-9, redhat-4, UnitedLinux-1.0, asianux-1 or asianux-2
                                          通过
    所有安装程序要求均已满足。准备从以下地址启动 Oracle Universal Installer /tmp/OraInstall2008-08-04_09-29-27PM. 请稍候...[oracle@cc database]$ Xlib: connection to ":0.0" refused by server
    Xlib: No protocol specifiedException in thread "main" java.lang.InternalError: Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable.
            at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
            at sun.awt.X11GraphicsEnvironment.<clinit>(Unknown Source)
            at java.lang.Class.forName0(Native Method)
            at java.lang.Class.forName(Unknown Source)
            at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(Unknown Source)
            at java.awt.Window.init(Unknown Source)
            at java.awt.Window.<init>(Unknown Source)
            at java.awt.Frame.<init>(Unknown Source)
            at oracle.ewt.popup.PopupFrame.<init>(Unknown Source)
            at oracle.ewt.lwAWT.BufferedFrame.<init>(Unknown Source)
            at oracle.sysman.oio.oioc.OiocOneClickInstaller.<init>(OiocOneClickInstaller.java:378)
            at oracle.sysman.oio.oioc.OiocOneClickInstaller.main(OiocOneClickInstaller.java:2091)[oracle@cc database]$ xhost +
    Xlib: connection to ":0.0" refused by server
    Xlib: No protocol specifiedxhost:  unable to open display ":0.0"
    [oracle@cc database]$ ./runInstaller 
    正在启动 Oracle Universal Installer...正在检查安装程序要求...检查操作系统版本: 必须是redhat-3, SuSE-9, redhat-4, UnitedLinux-1.0, asianux-1 or asianux-2
                                          通过
    所有安装程序要求均已满足。准备从以下地址启动 Oracle Universal Installer /tmp/OraInstall2008-08-04_09-30-00PM. 请稍候...[oracle@cc database]$ Warning: Cannot convert string "-isas-song ti-medium-r-normal--*-140-*-*-c-*-gb2312.1980-0" to type FontStruct[oracle@cc database]$ export LANG=US
    [oracle@cc database]$ ./runInstaller 
    Starting Oracle Universal Installer...Checking installer requirements...Checking operating system version: must be redhat-3, SuSE-9, redhat-4, UnitedLinux-1.0, asianux-1 or asianux-2
                                          Passed
    All installer requirements met.Preparing to launch Oracle Universal Installer from /tmp/OraInstall2008-08-04_09-30-25PM. Please wait ...[oracle@cc database]$ Starting Installer in advanced mode ...
    Oracle Universal Installer, Version 10.2.0.1.0 Production
    Copyright (C) 1999, 2005, Oracle. All rights reserved.
      

  17.   

    安装过程如上,
    记得rpm 包顺序不能错,
    还有 如果是远程用 xmanger安装,记得用root权限
    做操作 xhost +
      

  18.   

    如果提示版本不和, 直接修改 /etc/redhat-release  改为5 4即可
      

  19.   


    按你的做法还是出现此错误阿
    [oracle@linux-for-zhone ~]$ Initializing Java Virtual Machine from /tmp/OraInstall/jre/bin/jre. Please wait...
    /tmp/OraInstall/jre/bin/../lib/i686/green_threads/libzip.so: symbol errno, version GLIBC_2.0 not defined in file libc.so.6 with link time reference (libzip.so)
    Unable to initialize threads: cannot find class java/lang/Thread
    Could not create Java VM
      

  20.   

    估计得你自己解决了,
    先把LINUX搞定,再去弄Oracle.
      

  21.   

    linux早就弄好了啊..
    需要的环境,包都有..
    就是装oracle出问题..
      

  22.   

    oracle 你用的是什么版本的,
    如果是9i的话 打patch   p3006854_9204_linux.zip 。修改oracle  的.bash_profile,添加如下一行
    export LD_ASSUME_KERNEL=2.4.1
    再尝试运行runinstaller
      

  23.   

    LZ这问题还没解决啊?
    看看:
    http://download-uk.oracle.com/docs/cd/B19306_01/install.102/b15660/title.htm
      

  24.   

    我那个JVM的错误肯定是因为没有装JDK..
    离目标越来越近了..
    苦苦研究这么多天还没OK..唉..
    谢谢大家的配合..
    再不结贴..要挨骂了..忽忽~