<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    夢幻之旅

    DEBUG - 天道酬勤

       :: 首頁 :: 新隨筆 :: 聯(lián)系 :: 聚合  :: 管理 ::
      671 隨筆 :: 6 文章 :: 256 評論 :: 0 Trackbacks

    幫網(wǎng)友診斷10.2.0.1數(shù)據(jù)庫安裝后配置EM的問題一例,主要是在EM啟動過程中遇到了錯誤,日志如下:

    2009-7-7 20:11:39 oracle.sysman.emcp.EMConfig perform
    嚴(yán)重: 啟動 Database Control 時出錯
    有關(guān)詳細(xì)資料, 請參閱 oracle\product\10.2.0\db_1\cfgtoollogs\dbca\orcl\emConfig.log 中的日志文件。
    2009-7-7 20:11:39 oracle.sysman.emcp.EMConfig perform
    配置: Stack Trace:
    oracle.sysman.emcp.exception.EMConfigException: 啟動 Database Control 時出錯
    	at oracle.sysman.emcp.EMDBPostConfig.performConfiguration(EMDBPostConfig.java:569)
    	at oracle.sysman.emcp.EMDBPostConfig.invoke(EMDBPostConfig.java:181)
    	at oracle.sysman.emcp.EMDBPostConfig.invoke(EMDBPostConfig.java:150)
    	at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:155)
    	at oracle.sysman.assistants.util.em.EMConfiguration.run(EMConfiguration.java:430)
    	at java.lang.Thread.run(Thread.java:534)

    出現(xiàn)錯誤的java stack call是EMDBPostConfig說明em db repository 已經(jīng)完成配置在嘗試啟動EM,但此時出現(xiàn)了問題。

    實際造成該問題的有多種可能性,這里列舉最常見的幾種:

    1. 殺毒軟件或者防火墻造成的,這里建議在安裝windows期間徹底關(guān)閉殺毒類軟件和Windows自帶的防火墻
    2. EM使用的端口已經(jīng)被其他軟件所占用,建議使用netstat命令診斷,或另擇網(wǎng)絡(luò)端口
    3. Windows主機(jī)名以”U”字母開頭

    針對第三種可能性,可以在MOS上找到Note <Problem: Startup: Db Control 10.2.0.1 Fails To Start when the hostname begins with the letter “u”>:

    Problem: Startup: Db Control 10.2.0.1 Fails To Start when the hostname begins with the letter "u" 
    
    Applies to:
    Enterprise Manager for RDBMS - Version: 10.2.0.1 and later   [Release: 10.2 and later ]
    
    Symptoms
    
    The dbconsole 10.2.0.1 is created with emca.The repository creation completes successfully and the
    dbconsole is created and configured without any error.
    The last phase of emca is to start the dbconsole.
    The standalone agent is started successfully but the dbconsole fails to start.
    
    The file $ORACLE_HOME/cfgtoollogs/emca/sid/emca*.log shows:
    ===================================================
    05/11/2005 23:07:49 oracle.sysman.emcp.util.PlatformInterface serviceCommand
    CONFIG: Waiting for service 'OracleDBConsoleAMITAL' to fully start
    05/11/2005 23:07:59 oracle.sysman.emcp.EMConfig perform
    SEVERE: Error starting Database Control
    Refer to the log file at
    d:\oracle\product\10.2.0\db_1\cfgtoollogs\emca\amital\emca_2005-11-05_10-55-42-PM.log for more
    details.
    05/11/2005 23:07:59 oracle.sysman.emcp.EMConfig perform
    CONFIG: Stack Trace:
    oracle.sysman.emcp.exception.EMConfigException: Error starting Database Control
      at oracle.sysman.emcp.EMDBPostConfig.performConfiguration(EMDBPostConfig.java:569)
      at oracle.sysman.emcp.EMDBPostConfig.invoke(EMDBPostConfig.java:181)
    Cause
    This issue can be reproduced on all windows platforms which name begins with the letter u.
    This issue has been logged in the following bug:
    Bug:4714774 DBCONSOLE DOES NOT WORK HAVING A HOSTNAME STARTING WITH "U"
    This bug will be fixed in the patchset 10.2.0.2
    Solution
    
    Download and apply the RDBMS patchset 10.2.0.2 once/if available or
    
    To enable the dbconsole to start successfully, follow the steps listed below:
    
    1. Save the file $ORACLE_HOME\host_SID\sysman\config\emd.properties to emd.properties.orig
    2. Update the file $ORACLE_HOME\host_SID\sysman\config\emd.properties, replacing \ with / in the
       following line:
       For example change:
       omsRecvDir=d:\oracle\product\10.2.0\db_1\ukp001_db0\sysman\recv
       to
       omsRecvDir=d:/oracle/product/10.2.0/db_1/ukp001_db0l/sysman/recv
    3. Stop and restart the DB Control 
    
    Hdr: 4714774 10.2.0.1 EMCP 10.2.0.1 PRODID-1370 PORTID-912
    Abstract: DBCONSOLE DOES NOT WORK HAVING A HOSTNAME STARTING WITH "U"
    
    Problem Description
    -------------------
    this seems to be releated to bug 3610052.
    Having a hostname like u1234, install rdbms10.2.
    start dbconsole will take 4-5 min. Even if the service is shown as started,
    dbconsole java processes stops and restarts.
    
    Environment Information
    -----------------------
    
    Test Case Step-by-Step Instructions
    -----------------------------------
    1. rename the hostanme to uXYZ....
    2. install 10.2 rdbms into its own oraclehome
    3. strt listener, create a database using dbca.
    4. access the dbconsole page shows: "page cannot be displayed"
    
    Check the dbconsole java process in taksmanager , you will easily see, that
    it is coninously restarting. dbconsole service is shown as "started".
    
    Test Case Location
    ------------------
    not needed easy to reproduce
    
    Diagnostic Analysis
    -------------------
    run the java command from file emd.nohup file, this will show something like:
    
    java...Exception...
    Malformed \uxxxx encoding.
    
    and a java stack trace.
    
    I assume that this problem will always happen, having a "\u" in the path for
    the dbconsole
    
    Performance
    -----------
    
    NLS Information
    ---------------
    
    Patches
    -------
    
    Log Files Location
    ------------------
    
    Reproducibility
    ---------------
    everytime, only on windows platforms:
    w2k w2003, windowsXP
    
    URL
    ---
    not needed
    
    Did you test with the latest version?
    -------------------------------------
    yes
    
    Available Workarounds
    ---------------------
    Change the hostname from uXYZ to UXYZ,
    do
    set ORACLE_SID=
    emca -config dbcontrol db -reposrecreate 
    
    Related Bugs
    ------------
    3610052
    
    Hdr: 6313490 10.2.0.1.0 CONSOLE 10.2.0.1.0 PRODID-1370 PORTID-215 4714774
    Abstract: 10.2.0.1DBCONSOLE IN A DB CREATED FROM IAS INSTALL FAILS TO START
    
    Problem Description
    -------------------
    The dbconsole 10.2.0.1.0 creating is failing while starting the dbconsole
    dbconsole in a db created from iAS install.
    
    as per the logs:-
    
    SEVERE: Error starting Database Control
        Refer to the log file at
    
    D:\oracle\product\10.2.0\db_1\cfgtoollogs\emca\mmds\emca_2007-06-19_09-47-70-A
    M.log for more details.
        Jun 19, 2007 9:58:17 AM oracle.sysman.emcp.EMConfig perform
        CONFIG: Stack Trace:
        oracle.sysman.emcp.exception.EMConfigException: Error starting Database
    Control at
    oracle.sysman.emcp.EMDBPostConfig.performConfiguration(EMDBPostConfig.java:569
    ) at oracle.sysman.emcp.EMDBPostConfig.invoke
    
    Environment Information
    -----------------------
    dbconsole in a db created from iAS install.
    db console 10.2.0.1.0 on Microsoft Windows Server 2003
    The 10g application server version  is 10.1.2.0.2. to include January 2007
    database and application server CPUs.
    
    Applied the  database CPU patch and after that reconfigured the Dbconsole .
    Now it doesn't get configured .Db console generating core dump
    
    Test Case Step-by-Step Instructions
    -----------------------------------
    
    Test Case Location
    ------------------
    
    Diagnostic Analysis
    -------------------
    Stopped the application server service and then started the dbcosnole .But
    still getting the error
    
    D:\oracle\product\10.2.0\db_1\BIN>emctl status dbconsole
        Oracle Enterprise Manager 10g Database Control Release 10.2.0.1.0
        Oracle Enterprise Manager 10g is not running.
        ------------------------------------------------------------------
        Logs are generated in directory 
    
    Asked him to move the file from Oracle_Home>/_/emctl.pid file
    to another location . Now the dbconsole is started:-
    
    >emctl start dbconsole
    Oracle Enterprise Manager 10g Database Control Release 10.2.0.1.0
    Starting Oracle Enterprise Manager 10g Database Control ...The
    OracleDBConsoleMM
    DS service is starting...................The OracleDBConsoleMMDS service was
    started successfully.
    
    D:\oracle\product\10.2.0\db_1\BIN>emctl upload
    Oracle Enterprise Manager 10g Database Control Release 10.2.0.1.0
    EMD upload error: uploadXMLFiles skipped :: OMS version not checked yet..
    
    Asked him to Edit the file
    ORACLE_HOME>\oc4j\j2ee\home\applications\dms\WEB-INF\web.xml
    
    Still the dbconsole is not getting started .

    可能是因為Windows上主機(jī)名以”U”字母開頭后導(dǎo)致相關(guān)路徑發(fā)生了轉(zhuǎn)義。

    可以通過在cmd中輸入hostname來確認(rèn)Windows上的主機(jī)名。

    給出了2種解決方案:

    1.升級到10.2.0.2以上版本,目前推薦的是10.2.0.5 Patch set; 版本10.2.0.1到10.2.0.3上的bug太多了..

    2.修改$ORACLE_HOME\host_SID\sysman\config\emd.properties中的內(nèi)容,將omsRecvDir變更改成使用斜杠而非反斜杠的路徑形式,并重啟EM.

    posted on 2014-03-31 21:04 HUIKK 閱讀(5102) 評論(0)  編輯  收藏 所屬分類: DB-DailyMmaintenance
    主站蜘蛛池模板: 亚洲啪啪综合AV一区| 精品亚洲成α人无码成α在线观看| 日韩亚洲人成在线综合日本| 一级特黄录像免费播放中文版| 国产成人啪精品视频免费网| 国产成人精品日本亚洲语音 | 免费无码不卡视频在线观看| 亚洲欧美日韩综合久久久| 日本免费一区尤物| 国产成人高清精品免费软件| 免费播放国产性色生活片| 亚洲AV无码一区二区三区在线观看| 日本一区二区在线免费观看 | 含羞草国产亚洲精品岁国产精品| 国产精品久久香蕉免费播放| 免费人成视频在线播放| 亚洲三区在线观看无套内射| 久久99国产乱子伦精品免费| 亚洲AV无码成人专区| 国产午夜鲁丝片AV无码免费| yellow免费网站| 精品亚洲麻豆1区2区3区| 大学生一级毛片免费看| 男人和女人高潮免费网站 | 成全视频免费高清 | 野花香高清在线观看视频播放免费 | 亚洲色欲啪啪久久WWW综合网| 国产又粗又长又硬免费视频| 在线观看人成视频免费无遮挡| 亚洲AV电影院在线观看| 免费看的成人yellow视频| 一级一级毛片免费播放| 亚洲视频在线观看视频| 国产一区在线观看免费| 一级毛片在线免费观看| 亚洲变态另类一区二区三区| 国产V亚洲V天堂A无码| 四虎影院在线免费播放| 男女午夜24式免费视频 | 亚洲色欲色欲www在线播放| 亚洲国产无套无码av电影|