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

今天启动一台Linux RedHatAS3 上的 Oracle 10g下emctl start dbconsole

报错:OC4J Configuration issue

  
    
TZ set to PRC
OC4J Configuration issue
. / u01 / app / oracle /
oracle / product / 10.2 . 0 / db_1 / oc4j / j2ee / OC4J_DBConsole_guohuias3_ORCL not found .

采取重新配置emctl 的方法来试着解决

  
    
ed Hat Enterprise Linux AS release 3 (Taroon Update 9 )
Kernel
2.4 . 21 - 50 . EL on an i686
login
: oracle
Password
:
Last login
: Fri Feb 18 02 : 45 : 32 from 192.169 . 1.12
You have
new mail .
[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

这次成功了。

你可能感兴趣的:(configuration)