• 27. Oracle 10g下emctl start dbconsole 报错:OC4J Configuration issue 问题解决


    (dbconsole配置好外面的sqlplus才能连的上服务器上的数据库)
    采取重新配置emctl 的方法来解决
    [oracle@guohuias3 oracle]$ emca -config dbcontrol db
    STARTED EMCA at Feb 18, 2011 6:58:08 PM
    EM Configuration Assistant, Version 10.2.0.1.0 Production
    Copyright (c) 2003, 2005, Oracle. All rights reserved.

    Enter the following information:
    Database SID: ORCL
    Listener port number: 1521
    Password for SYS user:
    Password for DBSNMP user:
    Invalid username/password.
    Password for DBSNMP user:
    Password for SYSMAN user:
    Email address for notifications (optional): gzguohui@163.com
    Outgoing Mail (SMTP) server for notifications (optional):
    -----------------------------------------------------------------

    You have specified the following settings

    Database ORACLE_HOME ................ /u01/app/oracle/oracle/product/10.2.0/db_1

    Database hostname ................ guohuias3
    Listener port number ................ 1521
    Database SID ................ ORCL
    Email address for notifications ............... gzguohui@163.com
    Outgoing Mail (SMTP) server for notifications ...............

    -----------------------------------------------------------------
    Do you wish to continue? [yes(Y)/no(N)]: Y
    Feb 18, 2011 7:04:11 PM oracle.sysman.emcp.EMConfig perform
    INFO: This operation is being logged at /u01/app/oracle/oracle/product/10.2.0/db_1/cfgtoollogs/emca/orcl/emca_2011-02-18_06-58-08-PM.log.
    Feb 18, 2011 7:04:12 PM oracle.sysman.emcp.DatabaseChecks performReposChecks
    WARNING: 'shared_pool_size' must be greater than or equal to 80 MB.
    Feb 18, 2011 7:04:12 PM oracle.sysman.emcp.DatabaseChecks performReposChecks
    SEVERE: 'job_queue_processes' must be greater than or equal to 1. Fix the error(s) and run EM Configuration Assistant again in standalone mode.
    Feb 18, 2011 7:04:12 PM oracle.sysman.emcp.EMConfig perform
    SEVERE: 'job_queue_processes' must be greater than or equal to 1. Fix the error(s) and run EM Configuration Assistant again in standalone mode.
    Refer to the log file at /u01/app/oracle/oracle/product/10.2.0/db_1/cfgtoollogs/emca/orcl/emca_2011-02-18_06-58-08-PM.log for more details.
    Could not complete the configuration. Refer to the log file at /u01/app/oracle/oracle/product/10.2.0/db_1/cfgtoollogs/emca/orcl/emca_2011-02-18_06-58-08-PM.log for more details.
    复制代码

    没有成功,系统显示 shared_pool_size 和 job_queue_processes 参数不够大。已sys登入系统改掉该参数

    复制代码

    [oracle@guohuias3 oracle]$ sqlplus /nolog

    SQL*Plus: Release 10.2.0.1.0 - Production on Fri Feb 18 19:02:32 2011

    Copyright (c) 1982, 2005, Oracle. All rights reserved.

    SQL> connect /as sysdba
    Connected.
    SQL> alter user DBSNMP identified by kelantas;

    User altered.


    SQL> alter system set shared_pool_size=100M;

    System altered.

    SQL> alter system set job_queue_processes=5;

    System altered.

    SQL>
    复制代码

    再次更改emctl

    复制代码
    [oracle@guohuias3 oracle]$ emca -config dbcontrol db

    STARTED EMCA at Feb 18, 2011 6:58:08 PM
    EM Configuration Assistant, Version 10.2.0.1.0 Production
    Copyright (c) 2003, 2005, Oracle. All rights reserved.

    Enter the following information:
    Database SID: ORCL
    Listener port number: 1521
    Password for SYS user:
    Password for DBSNMP user:
    Invalid username/password.
    Password for DBSNMP user:
    Password for SYSMAN user:
    Email address for notifications (optional): gzguohui@163.com
    Outgoing Mail (SMTP) server for notifications (optional):
    -----------------------------------------------------------------

    You have specified the following settings

    Database ORACLE_HOME ................ /u01/app/oracle/oracle/product/10.2.0/db_1

    Database hostname ................ guohuias3
    Listener port number ................ 1521
    Database SID ................ ORCL
    Email address for notifications ............... gzguohui@163.com
    Outgoing Mail (SMTP) server for notifications ...............

    -----------------------------------------------------------------
    Do you wish to continue? [yes(Y)/no(N)]: Y
    Feb 18, 2011 7:04:11 PM oracle.sysman.emcp.EMConfig perform
    INFO: This operation is being logged at /u01/app/oracle/oracle/product/10.2.0/db_1/cfgtoollogs/emca/orcl/emca_2011-02-18_06-58-08-PM.log.
    Feb 18, 2011 7:04:12 PM oracle.sysman.emcp.DatabaseChecks performReposChecks
    WARNING: 'shared_pool_size' must be greater than or equal to 80 MB.
    Feb 18, 2011 7:04:12 PM oracle.sysman.emcp.DatabaseChecks performReposChecks
    SEVERE: 'job_queue_processes' must be greater than or equal to 1. Fix the error(s) and run EM Configuration Assistant again in standalone mode.
    Feb 18, 2011 7:04:12 PM oracle.sysman.emcp.EMConfig perform
    SEVERE: 'job_queue_processes' must be greater than or equal to 1. Fix the error(s) and run EM Configuration Assistant again in standalone mode.
    Refer to the log file at /u01/app/oracle/oracle/product/10.2.0/db_1/cfgtoollogs/emca/orcl/emca_2011-02-18_06-58-08-PM.log for more details.
    Could not complete the configuration. Refer to the log file at /u01/app/oracle/oracle/product/10.2.0/db_1/cfgtoollogs/emca/orcl/emca_2011-02-18_06-58-08-PM.log for more details.
    [oracle@guohuias3 oracle]$ emca -config dbcontrol db

    STARTED EMCA at Feb 18, 2011 7:07:14 PM
    EM Configuration Assistant, Version 10.2.0.1.0 Production
    Copyright (c) 2003, 2005, Oracle. All rights reserved.

    Enter the following information:
    Database SID: ORCL
    Listener port number: 1521
    Password for SYS user:
    Password for DBSNMP user:
    Password for SYSMAN user:
    Email address for notifications (optional): gzguohui@163.com
    Outgoing Mail (SMTP) server for notifications (optional):
    -----------------------------------------------------------------

    You have specified the following settings

    Database ORACLE_HOME ................ /u01/app/oracle/oracle/product/10.2.0/db_1

    Database hostname ................ guohuias3
    Listener port number ................ 1521
    Database SID ................ ORCL
    Email address for notifications ............... gzguohui@163.com
    Outgoing Mail (SMTP) server for notifications ...............

    -----------------------------------------------------------------
    Do you wish to continue? [yes(Y)/no(N)]: Y
    Feb 18, 2011 7:07:44 PM oracle.sysman.emcp.EMConfig perform
    INFO: This operation is being logged at /u01/app/oracle/oracle/product/10.2.0/db_1/cfgtoollogs/emca/orcl/emca_2011-02-18_07-07-14-PM.log.
    Feb 18, 2011 7:07:50 PM oracle.sysman.emcp.util.DBControlUtil startOMS
    INFO: Starting Database Control (this may take a while) ...
    Feb 18, 2011 7:09:43 PM oracle.sysman.emcp.EMDBPostConfig performConfiguration
    INFO: Database Control started successfully
    Feb 18, 2011 7:09:43 PM oracle.sysman.emcp.EMDBPostConfig performConfiguration
    INFO: >>>>>>>>>>> The Database Control URL is http://guohuias3:5500/em <<<<<<<<<<<
    Enterprise Manager configuration completed successfully
    FINISHED EMCA at Feb 18, 2011 7:09:43 PM
  • 相关阅读:
    Hostker云主机
    Orz 终于有了自己的博客地址
    BZOJ 1635: [Usaco2007 Jan]Tallest Cow 最高的牛
    BZOJ 1636: [Usaco2007 Jan]Balanced Lineup
    BZOJ 2252: [2010Beijing wc]矩阵距离
    BZOJ 2253: [2010 Beijing wc]纸箱堆叠
    BZOJ 无数据题集合
    BZOJ 1087: [SCOI2005]互不侵犯King
    BZOJ 3236: [Ahoi2013]作业
    POJ2352:Stars
  • 原文地址:https://www.cnblogs.com/zkx4213/p/6068267.html
Copyright © 2020-2023  润新知