zoukankan      html  css  js  c++  java
  • Oracle 11gR2 静默安装奇怪错误

    在静默安装Oracle 11gR2 的时候发现的奇怪错误,有点摸不着头脑

    【步骤一】配置静默文件只安装软件

    #------------------------------------------------------------------------------
    # Specify the installation option.
    # It can be one of the following:
    # 1. INSTALL_DB_SWONLY
    # 2. INSTALL_DB_AND_CONFIG
    # 3. UPGRADE_DB
    #-------------------------------------------------------------------------------
    oracle.install.option=INSTALL_DB_SWONLY

    【步骤二】开始静默安装,发现错误

    SEVERE: Email Address Not Specified
    INFO: Adding ExitStatus VAR_VALIDATION_FAILURE to the exit status set
    WARNING: A log of this session is currently saved as: /tmp/OraInstall2010-01-20_05-33-57PM/installActions2010-01-20_05-33-57PM.log. Oracle recommends that if you want to keep this log, you should move it from the temporary location to a more permanent location.
    INFO: Finding the most appropriate exit status for the current application
    INFO: Exit Status is -2
    INFO: Shutdown Oracle Database 11g Release 2 Installer
    INFO: Unloading Setup Driver

    【分析】没有在安装软件的时候指定需要创建数据库,为啥提示 email 报警的邮件地址没有填写呢?困惑ing?google 了一下,不止偶发现这个问题,在 itpub 上早就有人发现这个问题了:

    http://www.itpub.net/thread-1241747-1-2.html

    【摘录】

    oracle 11gr2 RHEL5.3x86 静默安装失败 bug?(已解决)

    db_install.rsp:


    #-------------------------------------------------------------------------------
    # This variable indicates whether to receive email notification for critical
    # alerts when using DB control.
    #-------------------------------------------------------------------------------
    oracle.install.db.config.starterdb.dbcontrol.enableEmailNotification=false

    #-------------------------------------------------------------------------------
    # Specify the email address to which the notifications are to be sent.
    #-------------------------------------------------------------------------------
    oracle.install.db.config.starterdb.dbcontrol.emailAddress=test@xw.cn

    #-------------------------------------------------------------------------------
    # Specify the SMTP server used for email notifications.
    #-------------------------------------------------------------------------------
    oracle.install.db.config.starterdb.dbcontrol.SMTPServer=smtp.xw.cn

    最后两项全部留空也不行,同样报如下错误:

    [oracle@localhost database]$ ./runInstaller   -silent -force -noconfig -responseFile /home/oracle/db_install.rsp
    Starting Oracle Universal Installer...

    Checking Temp space: must be greater than 80 MB. Actual 127047 MB Passed
    Checking swap space: must be greater than 150 MB. Actual 4000 MB Passed
    Preparing to launch Oracle Universal Installer from /tmp/OraInstall2009-11-30_08-48-47PM. Please wait ...[oracle@localhost database]$ [SEVERE] - Email Address Not Specified

    无奈用oui生成了一个rsp文件对比了一下,竟然和下面的设置有关系.一定要true.否则就报错.why????????
    DECLINE_SECURITY_UPDATES=true

    [ 本帖最后由 frankfan126 于 2009-11-30 22:34 编辑 ]
  • 相关阅读:
    【TopCoder 11469】—Nim(Fwt)
    【BZOJ4228】—Tibbar的后花园(生成函数+NTT)
    【BZOJ4228】—Tibbar的后花园(生成函数+NTT)
    多测师讲解接口测试 _postman(下)_高级讲师肖sir
    多测师讲解接口测试 _fiddler无法打开浏览器_高级讲师肖sir
    多测师讲解接口测试 _postman(上)_高级讲师肖sir
    多测师讲解接口测试 _HTTP常见的状态码归纳_高级讲师肖sir
    多测师讲解接口测试_F12中network里headers各项属性的含义——高级讲师肖sir
    SVN服务的模式和多种访问方式 多种访问原理图解与优缺点
    svn 目录
  • 原文地址:https://www.cnblogs.com/storymedia/p/4436092.html
Copyright © 2011-2022 走看看