激情五月天婷婷,亚洲愉拍一区二区三区,日韩视频一区,a√天堂中文官网8

<ul id="buwfs"><strike id="buwfs"><strong id="buwfs"></strong></strike></ul>
    <output id="buwfs"></output>
  • <dfn id="buwfs"><source id="buwfs"></source></dfn>
      <dfn id="buwfs"><td id="buwfs"></td></dfn>
      <div id="buwfs"><small id="buwfs"></small></div>
      <dfn id="buwfs"><source id="buwfs"></source></dfn>
      1. <dfn id="buwfs"><td id="buwfs"></td></dfn>
        始創(chuàng)于2000年 股票代碼:831685
        咨詢(xún)熱線:0371-60135900 注冊(cè)有禮 登錄
        • 掛牌上市企業(yè)
        • 60秒人工響應(yīng)
        • 99.99%連通率
        • 7*24h人工
        • 故障100倍補(bǔ)償
        全部產(chǎn)品
        您的位置: 網(wǎng)站首頁(yè) > 幫助中心>文章內(nèi)容

        Oracle 10.2.0.4/5版本數(shù)據(jù)庫(kù)無(wú)法啟動(dòng)dbconsole問(wèn)題解決

        發(fā)布時(shí)間:  2012/9/18 17:45:26

        在2011年新裝了Oracle10.2.0.5數(shù)據(jù)庫(kù),在建庫(kù)最后em創(chuàng)建時(shí)候報(bào)錯(cuò)。

        Starting Oracle Enterprise Manager 10g Database Control
        ............................................................................................. failed.-
         

        ------------------------------------------------------------------
        Logs are generated in directory /myhost/sysman/log
        Jan 2, 2011 7:27:26 PM Oracle.sysman.emcp.util.PlatformInterface executeCommand
        WARNING: Error executing /myhost/bin/emctl start dbconsole
        Jan 2, 2011 7:27:26 PM Oracle.sysman.emcp.EMConfig perform
        SEVERE: Error starting Database Control
        Refer to the log file at /myhost/dbua/d4/upgrade/emConfig.log for more details.
        Jan 2, 2011 7:27:26 PM Oracle.sysman.emcp.EMConfig perform
        CONFIG: Stack Trace:
        Oracle.sysman.emcp.exception.EMConfigException: Error starting Database Control
        at Oracle.sysman.emcp.EMDBPostConfig.performUpgrade(EMDBPostConfig.java:763)
        at Oracle.sysman.emcp.EMDBPostConfig.invoke(EMDBPostConfig.java:232)
        at Oracle.sysman.emcp.EMDBPostConfig.invoke(EMDBPostConfig.java:193)
        at Oracle.sysman.emcp.EMConfig.perform(EMConfig.java:184)
        at Oracle.sysman.assistants.util.em.EMConfiguration.run(EMConfiguration.java:436)
        at Oracle.sysman.assistants.util.em.EMConfigStep.executeImpl(EMConfigStep.java:140)
        at Oracle.sysman.assistants.util.step.BasicStep.execute(BasicStep.java:210)
        at Oracle.sysman.assistants.util.step.BasicStep.callStep(BasicStep.java:251)
        at Oracle.sysman.assistants.dbma.backend.EMConfigStep.executeStepImpl(EMConfigStep.java:104)
        at Oracle.sysman.assistants.dbma.backend.SummarizableStep.executeImpl(SummarizableStep.java:175)
        at Oracle.sysman.assistants.util.step.BasicStep.execute(BasicStep.java:210)
        at Oracle.sysman.assistants.util.step.Step.execute(Step.java:140)
        at Oracle.sysman.assistants.util.step.StepContext$ModeRunner.run(StepContext.java:2488)
        at java.lang.Thread.run(Thread.java:534)


        查看 Oracle_HOME\<hostname>_<SID>\sysman\log\emagent.trc文件有如下報(bào)錯(cuò)信息:

        2011-01-09 09:36:56 Thread-51125136 ERROR pingManager: nmepm_pingReposURL: Cannot connect to https://myhost:1158/em/upload/: retStatus=-1
        2011-01-09 09:36:56 Thread-51125136 ERROR ssl: Open wallet failed, ret = 28750
        2011-01-09 09:36:56 Thread-51125136 ERROR ssl: nmehlenv_openWallet failed
        2011-01-09 09:36:56 Thread-51125136 ERROR http: 15: Unable to initialize ssl connection with server, aborting connection attempt
        通過(guò)查詢(xún)support發(fā)現(xiàn)是因?yàn)門(mén)he Root Certificate Authority (CA) expired on 31-DEC-2010 00:00:0 root授權(quán)信息過(guò)期導(dǎo)致,Oracle官方給出的解決辦法是打Patch 8350262,然后按照oracle給出的建議操作即可解決,具體解決步驟如下:

        Recovering from Configuration Errors on a Single Instance Database
        1. Ignore any errors and continue with the installation or upgrade. The database will be created without errors.

        2. Apply Patch 8350262 to your Oracle Home installation using OPatch.

        opatch apply

        Invoking OPatch 10.2.0.4.2

        Oracle Interim Patch Installer version 10.2.0.4.2
        Copyright (c) 2007, Oracle Corporation. All rights reserved.

        Oracle Home : /myhost
        Central Inventory : /scratch/pchebrol/oraInventory
        from : /etc/oraInst.loc
        OPatch version : 10.2.0.4.2
        OUI version : 10.2.0.4.0
        OUI location : /myhost/oui
        Log file location : /myhost/cfgtoollogs/opatch/opatch2011-01-02_11-00-00AM.log

        ApplySession applying interim patch '8350262' to OH '/myhost'

        Running prerequisite checks...

        OPatch detected non-cluster Oracle Home from the inventory and will patch the local system only.

        Backing up files and inventory (not for auto-rollback) for the Oracle Home
        Backing up files affected by the patch '8350262' for restore. This might take a while...
        Backing up files affected by the patch '8350262' for rollback. This might take a while...

        Patching component Oracle.sysman.agent.core, 10.2.0.4.0a...
        Updating jar file "/myhost/sysman/jlib/emCORE.jar" with
        "/sysman/jlib/emCORE.jar/Oracle/sysman/eml/sec/fsc/FSWalletUtil.class"
        Updating jar file "/myhost/sysman/jlib/emCORE.jar" with
        "/sysman/jlib/emCORE.jar/Oracle/sysman/eml/sec/rep/RepWalletUtil.class"
        Updating jar file "/myhost/sysman/jlib/emCORE.jar" with
        "/sysman/jlib/emCORE.jar/Oracle/sysman/eml/sec/util/RootCert.class"
        Updating jar file "/myhost/sysman/jlib/emCORE.jar" with
        "/sysman/jlib/emCORE.jar/Oracle/sysman/eml/sec/util/SecConstants.class"
        Updating jar file "/myhost/sysman/jlib/emd_java.jar" with "/sysman/jlib/emd_
        java.jar/Oracle/sysman/eml/sec/fsc/FSWalletUtil.class"
        Updating jar file "/myhost/sysman/jlib/emd_java.jar" with "/sysman/jlib/emd_
        java.jar/Oracle/sysman/eml/sec/rep/RepWalletUtil.class"
        Updating jar file "/myhost/sysman/jlib/emd_java.jar" with "/sysman/jlib/emd_
        java.jar/Oracle/sysman/eml/sec/util/RootCert.class"
        Updating jar file "/myhost/sysman/jlib/emd_java.jar" with "/sysman/jlib/emd_
        java.jar/Oracle/sysman/eml/sec/util/SecConstants.class"
        ApplySession adding interim patch '8350262' to inventory

        Verifying the update...
        Inventory check OK: Patch ID 8350262 is registered in Oracle Home inventory with proper meta-data.
        Files check OK: Files from Patch ID 8350262 are present in Oracle Home.

        OPatch succeeded.

        3. After applying the patch, force stop the Database Control (dbconsole) process using the killDBConsole script bundled with the patch. Note that the dbconsole process cannot be stopped using the emctl stop dbconsole command, as EMCTL is unable to connect to the process.

        To execute the killDBConsole script:

        Set the Oracle_HOME and ORACLE_SID environment variables.
        Execute <PATCH_HOME>/killDBConsole.
        Note for Windows Platform Only:

        It is not necessary to force stop the dbconsole process on the Windows platform, because the process will
        already be in a stopped state at the end of the failed configuration attempt.

        The killDBConsole script output is shown below:

        $ <PATCH_HOME>/killDBConsole
        Oracle_HOME=/myhost/db_1
        Oracle_SID=caem31
        State directory = /myhost/db_1/staxd10_caem31
        WatchDog PID = 802932
        DBconsole PID = 577716
        EMAgent PID = 512156
        Killing WatchDog (pid=802932) ...
        Successfully killed process 802932
        Killing DBConsole (pid=577716) ...
        Successfully killed process 577716
        Killing EMAgent (pid=512156) ...
        Successfully killed process 512156

        4. Re-secure Database Control with the following command:

        <Oracle_HOME>/bin/emctl secure dbconsole -reset

        You will be prompted twice to confirm that the Root key must be overwritten. In both cases, enter upper-case "Y" as the response. Any other response (including lower-case "y") will cause the command to terminate without completing. If this happens, the command can be re-invoked.

        $ ./emctl secure dbconsole -reset
        Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0
        Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
        https://myhost:5501/em/console/aboutApplication
        Enter Enterprise Manager Root Password :
        DBCONSOLE already stopped... Done.
        Agent is already stopped... Done.
        Securing dbconsole... Started.
        Checking Repository... Done.
        Checking Em Key... Done.
        Checking Repository for an existing Enterprise Manager Root Key...
        WARNING! An Enterprise Manager Root Key already exists in
        the Repository. This operation will replace your Enterprise
        Manager Root Key.
        All existing Agents that use HTTPS will need to be
        reconfigured if you proceed. Do you wish to continue and
        overwrite your Root Key
        (Y/N) ?
        Y
        Are you sure ? Reset of the Enterprise Manager Root Key
        will mean that you will need to reconfigure each Agent
        that is associated with this OMS before they will be
        able to upload any data to it. Monitoring of Targets
        associated with these Agents will be unavailable until
        after they are reconfigured.
        (Y/N) ?
        Y
        Generating Enterprise Manager Root Key (this takes a minute)... Done.Fetching Root Certificate from
        the Repository... Done.
        Updating HTTPS port in emoms.properties file... Done.
        Generating Java Keystore... Done.
        Securing OMS ... Done.
        Generating Oracle Wallet Password for Agent.... Done.
        Generating wallet for Agent ... Done.
        Copying the wallet for agent use... Done.
        Storing agent key in repository... Done.
        Storing agent key for agent ... Done.
        Configuring Agent...
        Configuring Agent for HTTPS in DBCONSOLE mode... Done.
        EMD_URL set in /myhost/myhost/sysman/config/emd.properties
        Done.
        Configuring Key store.. Done.
        Securing dbconsole... Sucessful.

        5. Re-start Database Control with the following command:

        <Oracle_HOME>/bin/emctl start dbconsole

        Recovering from Configuration Errors in an Oracle Real Application Clusters (RAC) Environment
        1. Ignore any errors and continue with the upgrade, so that the database is upgraded without errors.

        2. Apply Patch 8350262 to your Oracle Home installation. Note that the OPatch utility will apply the patch to all nodes in the cluster, as shown below:

        ../OPatch/opatch apply
        Invoking OPatch 10.2.0.4.2

        Oracle Interim Patch Installer version 10.2.0.4.2
        Copyright (c) 2007, Oracle Corporation. All rights reserved.

        Oracle Home : /myhost/oracle/product/10.2.0/db_1
        Central Inventory : /myhost/app/oraInventory
        from : /etc/oraInst.loc
        OPatch version : 10.2.0.4.2
        OUI version : 10.2.0.4.0
        OUI location : /myhost/Oracle/product/10.2.0/db_1/oui
        Log file location : /myhost/Oracle/product/10.2.0/db_1/cfgtoollogs/opatch/opatch2011-01-01_
        21-30-27PM.log

        ApplySession applying interim patch '8350262' to OH '/myhost/Oracle/product/10.2.0/db_1'

        Running prerequisite checks...

        OPatch detected the node list and the local node from the inventory. OPatch will patch the local
        system then propagate the patch to the remote nodes.

        Backing up files and inventory (not for auto-rollback) for the Oracle Home
        Backing up files affected by the patch '8350262' for restore. This might take a while...
        Backing up files affected by the patch '8350262' for rollback. This might take a while...

        Patching component Oracle.sysman.agent.core, 10.2.0.4.0a...
        Updating jar file "/myhost/Oracle/product/10.2.0/db_1/sysman/jlib/emCORE.jar" with
        “/sysman/jlib/emCORE.jar/Oracle/sysman/eml/sec/fsc/FSWalletUtil.class"
        Updating jar file "/myhost/Oracle/product/10.2.0/db_1/sysman/jlib/emCORE.jar" with
        "/sysman/jlib/emCORE.jar/Oracle/sysman/eml/sec/rep/RepWalletUtil.class"
        Updating jar file "/myhost/Oracle/product/10.2.0/db_1/sysman/jlib/emCORE.jar" with
        "/sysman/jlib/emCORE.jar/Oracle/sysman/eml/sec/util/RootCert.class"
        Updating jar file "/myhost/Oracle/product/10.2.0/db_1/sysman/jlib/emCORE.jar" with
        "/sysman/jlib/emCORE.jar/Oracle/sysman/eml/sec/util/SecConstants.class"
        Updating jar file "/myhost/Oracle/product/10.2.0/db_1/sysman/jlib/emd_java.jar" with
        "/sysman/jlib/emd_java.jar/Oracle/sysman/eml/sec/fsc/FSWalletUtil.class"
        Updating jar file "/myhost/Oracle/product/10.2.0/db_1/sysman/jlib/emd_java.jar" with
        "/sysman/jlib/emd_java.jar/Oracle/sysman/eml/sec/rep/RepWalletUtil.class"
        Updating jar file "/myhost/Oracle/product/10.2.0/db_1/sysman/jlib/emd_java.jar" with
        "/sysman/jlib/emd_java.jar/Oracle/sysman/eml/sec/util/RootCert.class"
        Updating jar file "/myhost/Oracle/product/10.2.0/db_1/sysman/jlib/emd_java.jar" with
        "/sysman/jlib/emd_java.jar/Oracle/sysman/eml/sec/util/SecConstants.class"
        ApplySession adding interim patch '8350262' to inventory

        Verifying the update...
        Inventory check OK: Patch ID 8350262 is registered in Oracle Home inventory with proper meta-data.
        Files check OK: Files from Patch ID 8350262 are present in Oracle Home.

        Patching in rolling mode.

        Updating nodes 'myhost'
        Apply-related files are:
        FP = :/myhost/Oracle/product/10.2.0/db_1/.patch_storage/8350262_Sep_14_2010_04_59_44/rac/copy_
        files.txt"
        DP = "/myhost/Oracle/product/10.2.0/db_1/.patch_storage/8350262_Sep_14_2010_04_59_44/rac/copy_
        dirs.txt"
        MP = "/myhost/Oracle/product/10.2.0/db_1/.patch_storage/8350262_Sep_14_2010_04_59_44/rac/make_
        cmds.txt"
        RC = "/myhost/Oracle/product/10.2.0/db_1/.patch_storage/8350262_Sep_14_2010_04_59_44/rac/remote_
        cmds.txt"

        Instantiating the file "/myhost/Oracle/product/10.2.0/db_1/.patch_storage/8350262_Sep_14_2010_04_59_
        44/rac/copy_files.txt.instantiated" by replacing $Oracle_HOME in "/myhost/oracle/product/10.2.0/db_
        1/.patch_storage/8350262_Sep_14_2010_04_59_44/rac/copy_files.txt" with actual path.
        Propagating files to remote nodes...
        Instantiating the file "/myhost/Oracle/product/10.2.0/db_1/.patch_storage/8350262_Sep_14_2010_04_59_
        44/rac/copy_dirs.txt.instantiated" by replacing $Oracle_HOME in "/myhost/oracle/product/10.2.0/db_
        1/.patch_storage/8350262_Sep_14_2010_04_59_44/rac/copy_dirs.txt" with actual path.
        Propagating directories to remote nodes...

        OPatch succeeded.


        3. After applying the patch, force stop the Database Control (dbconsole) process by executing the
        killDBConsole script bundled with the patch on each node in the cluster. Note that the dbconsole
        process cannot be stopped using the emctl stop dbconsole command, as EMCTL is unable to connect
        to the process.

        To execute the killDBConsole script:

        Set the Oracle_HOME and ORACLE_SID environment variables.
        Execute <PATCH_HOME>/killDBConsole
        Note for Windows Platform Only:
        It is not necessary to force stop the dbconsole process on the Windows platform, because the process will
        already be in a stopped state at the end of the failed configuration attempt.

        The killDBConsole script output is shown below:

        $ <PATCH_HOME>/killDBConsole
        Oracle_HOME=/myhost/catest/db_1
        Oracle_SID=caem31
        State directory = /myhost/catest/db_1/staxd10_caem31
        WatchDog PID = 802932
        DBconsole PID = 577716
        EMAgent PID = 512156
        Killing WatchDog (pid=802932) ...
        Successfully killed process 802932
        Killing DBConsole (pid=577716) ...
        Successfully killed process 577716
        Killing EMAgent (pid=512156) ...
        Successfully killed process 512156


        4. Re-secure Database Control on the first cluster node with the following command:


        <Oracle_HOME>/bin/emctl secure dbconsole -reset

        You will be prompted twice to confirm that the Root key must be overwritten. In both cases, enter upper-case "Y" as the response. Any other response (including lower-case "y") will cause the command to terminate without completing. If this happens, the command can be re-invoked.

        $ ./emctl secure dbconsole -reset
        Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0
        Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
        https://myhost:5501/em/console/aboutApplication
        Enter Enterprise Manager Root Password :
        DBCONSOLE already stopped... Done.
        Agent is already stopped... Done.
        Securing dbconsole... Started.
        Checking Repository... Done.
        Checking Em Key... Done.
        Checking Repository for an existing Enterprise Manager Root Key...
        WARNING! An Enterprise Manager Root Key already exists in
        the Repository. This operation will replace your Enterprise
        Manager Root Key.
        All existing Agents that use HTTPS will need to be
        reconfigured if you proceed. Do you wish to continue and
        overwrite your Root Key
        (Y/N) ?
        Y
        Are you sure ? Reset of the Enterprise Manager Root Key
        will mean that you will need to reconfigure each Agent
        that is associated with this OMS before they will be
        able to upload any data to it. Monitoring of Targets
        associated with these Agents will be unavailable until
        after they are reconfigured.
        (Y/N) ?
        Y
        Generating Enterprise Manager Root Key (this takes a minute)... Done.Fetching Root Certificate from
        the Repository... Done.
        Updating HTTPS port in emoms.properties file... Done.
        Generating Java Keystore... Done.
        Securing OMS ... Done.
        Generating Oracle Wallet Password for Agent.... Done.
        Generating wallet for Agent ... Done.
        Copying the wallet for agent use... Done.
        Storing agent key in repository... Done.
        Storing agent key for agent ... Done.
        Configuring Agent...
        Configuring Agent for HTTPS in DBCONSOLE mode... Done.
        EMD_URL set in /myhost/sysman/config/emd.properties
        Done.
        Configuring Key store.. Done.
        Securing dbconsole... Sucessful.

         

        5. Re-secure Database Control on the remaining cluster nodes with the following command. Note that the -reset switch is not included with this command:

        <Oracle_HOME>/bin/emctl secure dbconsole

         

        [myhost bin]$ ./emctl secure dbconsole
        Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0
        Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
        https://myhost:1158/em/console/aboutApplication
        Enter Enterprise Manager Root password :
        Enter a Hostname for this OMS : myhost
        DBCONSOLE already stopped... Done.
        Agent is already stopped... Done.
        Securing dbconsole... Started.
        Checking Repository... Done.
        Checking Em Key... Done.
        Checking Repository for an existing Enterprise Manager Root Key... Done.
        Fetching Root Certificate from the Repository... Done.
        Updating HTTPS port in emoms.properties file... Done.
        Generating Java Keystore... Done.
        Securing OMS ... Done.
        Generating Oracle Wallet Password for Agent.... Done.
        Generating wallet for Agent ... Done.
        Copying the wallet for agent use... Done.
        Storing agent key in repository... Done.
        Storing agent key for agent ... Done.
        Configuring Agent...
        Configuring Agent for HTTPS in DBCONSOLE mode... Done.
        EMD_URL set in /myhost/Oracle/product/10.2.0/db_1/myhost/sysman/c
        onfig/emd.properties
        Done.
        Configuring Key store.. Done.
        Securing dbconsole... Sucessful.

        6. Re-start Database Control by executing the following command on each node in the cluster:

        <Oracle_HOME>/bin/emctl start dbconsole


         


        本文出自:億恩科技【mszdt.com】

        服務(wù)器租用/服務(wù)器托管中國(guó)五強(qiáng)!虛擬主機(jī)域名注冊(cè)頂級(jí)提供商!15年品質(zhì)保障!--億恩科技[ENKJ.COM]

      2. 您可能在找
      3. 億恩北京公司:
      4. 經(jīng)營(yíng)性ICP/ISP證:京B2-20150015
      5. 億恩鄭州公司:
      6. 經(jīng)營(yíng)性ICP/ISP/IDC證:豫B1.B2-20060070
      7. 億恩南昌公司:
      8. 經(jīng)營(yíng)性ICP/ISP證:贛B2-20080012
      9. 服務(wù)器/云主機(jī) 24小時(shí)售后服務(wù)電話:0371-60135900
      10. 虛擬主機(jī)/智能建站 24小時(shí)售后服務(wù)電話:0371-60135900
      11. 專(zhuān)注服務(wù)器托管17年
        掃掃關(guān)注-微信公眾號(hào)
        0371-60135900
        Copyright© 1999-2019 ENKJ All Rights Reserved 億恩科技 版權(quán)所有  地址:鄭州市高新區(qū)翠竹街1號(hào)總部企業(yè)基地億恩大廈  法律顧問(wèn):河南亞太人律師事務(wù)所郝建鋒、杜慧月律師   京公網(wǎng)安備41019702002023號(hào)
          0
         
         
         
         

        0371-60135900
        7*24小時(shí)客服服務(wù)熱線