• 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 编辑 ]
  • 相关阅读:
    php 时间问题
    php语言
    高级查询
    数据库的查询详情
    数据库的创建和增删改查,外键和主键的创建
    数据库
    js的基本语句和语法
    JS的脚本语言
    样式、格式布局
    表单的元素和样式表
  • 原文地址:https://www.cnblogs.com/storymedia/p/4436092.html
Copyright © 2020-2023  润新知