您好,欢迎访问一九零五行业门户网

安装配置Oracle的EM

安装数据库完毕之后发现em无法登录,才想起来建数据时没注意到这回事,重新配置
安装数据库完毕之后发现em无法登录,才想起来建数据时没注意到这回事,重新配置
oracle@linux:~> sqlplus / as sysdba
sql*plus: release 11.2.0.1.0 production on thu jan 5 09:44:14 2012
copyright (c) 1982, 2009, oracle.  all rights reserved.
connected to:
oracle database 11g enterprise edition release 11.2.0.1.0 - 64bit production
with the partitioning, olap, data mining and real application testing options
sql> select * from v$version;
banner
--------------------------------------------------------------------------------
oracle database 11g enterprise edition release 11.2.0.1.0 - 64bit production
pl/sql release 11.2.0.1.0 - production
core    11.2.0.1.0      production
tns for linux: version 11.2.0.1.0 - production
nlsrtl version 11.2.0.1.0 - production
sql> quit
disconnected from oracle database 11g enterprise edition release 11.2.0.1.0 - 64bit production
with the partitioning, olap, data mining and real application testing options
oracle@tbslinux:~> emca -config dbcontrol db
started emca at jan 5, 2012 9:49:10 am
em configuration assistant, version 11.2.0.0.2 production
copyright (c) 2003, 2005, oracle.  all rights reserved.
enter the following information:
database sid: ticket
listener port number: 1521
listener oracle_home [ /oracle/product/11g/db_1 ]:
password for sys user: 
password for dbsnmp user: 
password for sysman user: 
email address for notifications (optional):
outgoing mail (smtp) server for notifications (optional):
-----------------------------------------------------------------
you have specified the following settings
database oracle_home ................ /oracle/product/11g/db_1
local hostname ................ tbslinux
listener oracle_home ................ /oracle/product/11g/db_1
listener port number ................ 1521
database sid ................ ticket
email address for notifications ...............
outgoing mail (smtp) server for notifications ...............
-----------------------------------------------------------------
do you wish to continue? [yes(y)/no(n)]: y
jan 5, 2012 9:50:32 am oracle.sysman.emcp.emconfig perform
info: this operation is being logged at /oracle/cfgtoollogs/emca/ticket/emca_2012_01_05_09_49_09.log.
jan 5, 2012 9:50:33 am 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.
jan 5, 2012 9:50:33 am 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 /oracle/cfgtoollogs/emca/ticket/emca_2012_01_05_09_49_09.log for more details.
could not complete the configuration. refer to the log file at /oracle/cfgtoollogs/emca/ticket/emca_2012_01_05_09_49_09.log for more details.
oracle@linux:~> sqlplus /nolog
sql*plus: release 11.2.0.1.0 production on thu jan 5 09:56:05 2012
copyright (c) 1982, 2009, oracle.  all rights reserved.
sql> conn / as sysdba
connected.
sql> alter system set job_queue_processes=5;
system altered.
sql> quit
disconnected from oracle database 11g enterprise edition release 11.2.0.1.0 - 64bit production
with the partitioning, olap, data mining and real application testing options
oracle@tbslinux:~>
oracle@linux:~> emca -config dbcontrol db
started emca at jan 5, 2012 9:58:37 am
em configuration assistant, version 11.2.0.0.2 production
copyright (c) 2003, 2005, oracle.  all rights reserved.
enter the following information:
database sid: ticket
listener port number: 1521
listener oracle_home [ /oracle/product/11g/db_1 ]:
password for sys user: 
password for dbsnmp user: 
password for sysman user: 
email address for notifications (optional):
outgoing mail (smtp) server for notifications (optional):
-----------------------------------------------------------------
you have specified the following settings
database oracle_home ................ /oracle/product/11g/db_1
local hostname ................ tbslinux
listener oracle_home ................ /oracle/product/11g/db_1
listener port number ................ 1521
database sid ................ ticket
email address for notifications ...............
outgoing mail (smtp) server for notifications ...............
-----------------------------------------------------------------
do you wish to continue? [yes(y)/no(n)]: y
jan 5, 2012 9:59:03 am oracle.sysman.emcp.emconfig perform
info: this operation is being logged at /oracle/cfgtoollogs/emca/ticket/emca_2012_01_05_09_58_36.log.
jan 5, 2012 9:59:20 am oracle.sysman.emcp.emreposconfig uploadconfigdatatorepository
info: uploading configuration data to em repository (this may take a while) ...
jan 5, 2012 10:01:08 am oracle.sysman.emcp.emreposconfig invoke
info: uploaded configuration data successfully
jan 5, 2012 10:01:14 am oracle.sysman.emcp.util.dbcontrolutil configuresoftwarelib
info: software library configured successfully.
jan 5, 2012 10:01:14 am oracle.sysman.emcp.emdbpostconfig configuresoftwarelibrary
info: deploying provisioning archives ...
jan 5, 2012 10:02:17 am oracle.sysman.emcp.emdbpostconfig configuresoftwarelibrary
info: provisioning archives deployed successfully.
jan 5, 2012 10:02:17 am oracle.sysman.emcp.util.dbcontrolutil securedbconsole
info: securing database control (this may take a while) ...
jan 5, 2012 10:03:59 am oracle.sysman.emcp.util.dbcontrolutil securedbconsole
info: database control secured successfully.
jan 5, 2012 10:03:59 am oracle.sysman.emcp.util.dbcontrolutil startoms
info: starting database control (this may take a while) ...
jan 5, 2012 10:07:42 am oracle.sysman.emcp.emdbpostconfig performconfiguration
info: database control started successfully
jan 5, 2012 10:07:42 am oracle.sysman.emcp.emdbpostconfig performconfiguration
info: >>>>>>>>>>> the database control url is https://linux:1158/em jan 5, 2012 10:07:51 am oracle.sysman.emcp.emdbpostconfig invoke
warning:
************************  warning  ************************
management repository has been placed in secure mode wherein enterprise manager data will be encrypted.  the encryption key has been placed in the file: /oracle/product/11g/db_1/tbslinux_ticket/sysman/config/emkey.ora.   please ensure this file is backed up as the encrypted data will become unusable if this file is lost.
***********************************************************
enterprise manager configuration completed successfully
finished emca at jan 5, 2012 10:07:51 am
oracle@linux:~> emctl start dbconsole
oracle enterprise manager 11g database control release 11.2.0.1.0
copyright (c) 1996, 2009 oracle corporation.  all rights reserved.
https://tbslinux:1158/em/console/aboutapplication
 - an instance of oracle enterprise manager 11g database control is already running.
以此为记

其它类似信息

推荐信息