[b]1、为了启动em,使用命令emctl start dbconsole。[/b]
[oracle@localhost DBOracle]$ 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://localhost.localdomain:1158/em/console/aboutApplication
Starting Oracle Enterprise Manager 11g Database Control ............................................................................................. failed.
------------------------------------------------------------------
Logs are generated in directory /usr/oracle/DBOracle/app/localhost.localdomain_mwdb/sysman/log
[b]2、启动失败,查看日志,没找到解决方案。[/b]
[oracle@localhost DBOracle]$ vi /usr/oracle/DBOracle/app/localhost.localdomain_mwdb/sysman/log
" ============================================================================
" Netrw Directory Listing (netrw v125)
" /usr/oracle/DBOracle/app/localhost.localdomain_mwdb/sysman/log
" Sorted by name
" Sort sequence: [\/]$,\.h$,\.c$,\.cpp$,*,\.o$,\.obj$,\.info$,\.swp$,\.bak$,\~$
" Quick Help:
:help -:go up dir D:delete R:rename s:sort-by x:exec
" ============================================================================
../
pafLogs/
.emagent_perl.trc
emagent.log
emagent.trc
emagent.trc.1
emagent.trc.2
emagent_perl.trc
emagentfetchlet.log
emagentfetchlet.trc
emctl.log
emctl.msg
emdb.nohup
emdctl.log
emdctl.trc
emoms.log
emoms.trc
emoms.trc.1
emoms.trc.2
nfsPatchPlug.log
patchAgtStPlugin.log
secure.log
[b]3、直接输入emctl start得到相关命令的提示。[/b]
[oracle@localhost DBOracle]$ emctl start
Oracle Enterprise Manager 11g Database Control Release 11.2.0.1.0
Copyright (c) 1996, 2009 Oracle Corporation. All rights reserved.
Oracle Enterprise Manager 10g Database Control commands:
emctl start | stop dbconsole
emctl status | secure | setpasswd dbconsole
emctl config dbconsole -heap_size -max_perm_size
emctl status agent
emctl status agent -secure [-omsurl :/em/*>]
emctl getversion
emctl reload | upload | clearstate | getversion agent
emctl reload agent dynamicproperties [:]....
emctl config agent
emctl config agent updateTZ
emctl config agent getTZ
emctl resetTZ agent
emctl config agent credentials [[:]]
emctl gensudoprops
emctl clearsudoprops
Blackout Usage :
emctl start blackout [-nodeLevel] [[:]].... [-d ]
emctl stop blackout
emctl status blackout [[:]]....
The following are valid options for blackouts
defaults to local node target if not specified.
If -nodeLevel is specified after ,the blackout will be applied to all targets and any target list that follows will be ignored.
Duration is specified in [days] hh:mm
emctl getemhome
emctl ilint
Em Key Commands Usage :
emctl config emkey -emkeyfile [-force] [-sysman_pwd ]
emctl config emkey -emkey [-emkeyfile ] [-force] [-sysman_pwd ]
emctl config emkey -repos [-emkeyfile ] [-force] [-sysman_pwd ]
emctl config emkey -remove_from_repos [-sysman_pwd ]
emctl config emkey -copy_to_repos [-sysman_pwd ]
emctl status emkey [-sysman_pwd ]
Secure DBConsole Usage :
emctl secure dbconsole -sysman_pwd [-passwd_file ]
[-host ] [-sid ] [-reset] [-secure_port ]
[-root_dc ] [-root_country ] [-root_state ] [-root_loc ]
[-root_org ] [-root_unit ] [-root_email ]
[-wallet ] [-wallet_pwd ] [-trust_certs_loc ]
emctl secure status dbconsole
Register Targettype Usage :
emctl register oms targettype [-o