Oracle 85% 出现保护 database control 时出错,错误如下图所示:

Microsoft Windows [版本 6.1.7601]
版权所有 (c) 2009 Microsoft Corporation。保留所有权利。
C:\Windows\system32>set ORACLE_SID=orcl
C:\Windows\system32>emctl stop dbconsole
Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0
Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
http://gwh-pad:1158/em/console/aboutApplication
OracleDBConsoleorcl 服务正在停止......
OracleDBConsoleorcl 服务已成功停止。
C:\Windows\system32>emctl config emkey -repos -sysman_pwd windows
Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0
Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
Invalid Password
caught Exception java.sql.SQLException: Io 异常: The Network Adapter could not e
stablish the connection
C:\Windows\system32>ping gwh-pad
正在 Ping gwh-pad [fe80::f08c:861f:b9e:235f%12] 具有 32 字节的数据:
来自 fe80::f08c:861f:b9e:235f%12 的回复: 时间<1ms
来自 fe80::f08c:861f:b9e:235f%12 的回复: 时间<1ms
来自 fe80::f08c:861f:b9e:235f%12 的回复: 时间<1ms
来自 fe80::f08c:861f:b9e:235f%12 的回复: 时间<1ms
fe80::f08c:861f:b9e:235f%12 的 Ping 统计信息:
数据包: 已发送 = 4,已接收 = 4,丢失 = 0 (0% 丢失),
往返行程的估计时间(以毫秒为单位):
最短 = 0ms,最长 = 0ms,平均 = 0ms
C:\Windows\system32>emctl config emkey -repos -sysman_pwd
Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0
Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
Please enter repository password:
********
Invalid Password
caught Exception java.sql.SQLException: Io 异常: The Network Adapter could not e
stablish the connection
C:\Windows\system32>emctl config emkey -repos -sysman_pwd
Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0
Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
Please enter repository password:
********
Invalid Password
caught Exception java.sql.SQLException: Io 异常: The Network Adapter could not e
stablish the connection
C:\Windows\system32>emctl config emkey -repos -sysman_pwd
Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0
Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
Please enter repository password:
********
Invalid Password
caught Exception java.sql.SQLException: Io 异常: The Network Adapter could not e
stablish the connection
C:\Windows\system32>lsnrctl start
LSNRCTL for 64-bit Windows: Version 10.2.0.4.0 - Production on 21-FEB-2013 13:37
:05
Copyright (c) 1991, 2007, Oracle. All rights reserved.
Starting tnslsnr: please wait...
Failed to open service
, error 1060.
TNSLSNR for 64-bit Windows: Version 10.2.0.4.0 - Production
System parameter file is D:\oracle\product\10.2.0\db_1\network\admin\listener.or
a
Log messages written to D:\oracle\product\10.2.0\db_1\network\log\listener.log
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=gwh-pad)(PORT=1521)))
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=gwh-pad)(PORT=1521)))
STATUS of the LISTENER
------------------------
Alias LISTENER
Version TNSLSNR for 64-bit Windows: Version 10.2.0.4.0 - Produ
ction
Start Date 21-FEB-2013 13:37:10
Uptime 0 days 0 hr. 0 min. 5 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File D:\oracle\product\10.2.0\db_1\network\admin\listener.o
ra
Listener Log File D:\oracle\product\10.2.0\db_1\network\log\listener.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=gwh-pad)(PORT=1521)))
Services Summary...
Service "ORCL" has 1 instance(s).
Instance "ORCL", status UNKNOWN, has 1 handler(s) for this service...
Service "gwh" has 1 instance(s).
Instance "gwh", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully
C:\Windows\system32>lsnrctl stop
LSNRCTL for 64-bit Windows: Version 10.2.0.4.0 - Production on 21-FEB-2013 13:37
:27
Copyright (c) 1991, 2007, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=gwh-pad)(PORT=1521)))
The command completed successfully
C:\Windows\system32>lsnrctl start
LSNRCTL for 64-bit Windows: Version 10.2.0.4.0 - Production on 21-FEB-2013 13:37
:31
Copyright (c) 1991, 2007, Oracle. All rights reserved.
Starting tnslsnr: please wait...
TNSLSNR for 64-bit Windows: Version 10.2.0.4.0 - Production
System parameter file is D:\oracle\product\10.2.0\db_1\network\admin\listener.or
a
Log messages written to D:\oracle\product\10.2.0\db_1\network\log\listener.log
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=gwh-pad)(PORT=1521)))
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=gwh-pad)(PORT=1521)))
STATUS of the LISTENER
------------------------
Alias LISTENER
Version TNSLSNR for 64-bit Windows: Version 10.2.0.4.0 - Produ
ction
Start Date 21-FEB-2013 13:37:35
Uptime 0 days 0 hr. 0 min. 5 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File D:\oracle\product\10.2.0\db_1\network\admin\listener.o
ra
Listener Log File D:\oracle\product\10.2.0\db_1\network\log\listener.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=gwh-pad)(PORT=1521)))
Services Summary...
Service "ORCL" has 1 instance(s).
Instance "ORCL", status UNKNOWN, has 1 handler(s) for this service...
Service "gwh" has 1 instance(s).
Instance "gwh", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully
C:\Windows\system32>emctl config emkey -repos -sysman_pwd
Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0
Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
Please enter repository password:
********
The Em Key has been configured successfully.
C:\Windows\system32>emctl secure dbconsole -sysman_pwd
Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0
Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
http://gwh-pad:1158/em/console/aboutApplication
Enter Enterprise Manager Root Password :
********
DBCONSOLE already stopped... Done.
Agent is already stopped... Done.
Securing dbconsole... Started.
Checking Repository... Done.
Checking Em Key... Done.
Checking Repository for an existing Enterprise Manager Root Key... Done.
Generating Enterprise Manager Root Key (this takes a minute)... Done.
Fetching Root Certificate from the Repository... Done.
Updating HTTPS port in emoms.properties file... Done.
Generating Java Keystore...认证已添加至keystore中
认证回复已安装在 keystore中
Done.
Securing OMS ... Done.
Generating Oracle Wallet Password for Agent.... Done.
Generating wallet for Agent ... Done.
Copying the wallet for agent use... Done.
Storing agent key in repository... Done.
Storing agent key for agent ... Done.
Configuring Agent...
Configuring Agent for HTTPS in DBCONSOLE mode... Done.
EMD_URL set in D:\oracle\product\10.2.0\db_1/gwh-pad_orcl/sysman/config/emd.prop
erties
Done.
Configuring Key store.. Done.
Securing dbconsole... Sucessful.
C:\Windows\system32>emctl start
Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0
Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
Invalid arguments
Unknown command option start
Usage::
Oracle Enterprise Manager 10g Database Control commands:
emctl start| stop| status| setpasswd dbconsole
emctl status dbconsole [-secure]
emctl secure
emctl set ssl test|off|on em
emctl set ldap
emctl blackout options can be listed by typing "emctl blackout"
emctl config options can be listed by typing "emctl config"
emctl secure options can be listed by typing "emctl secure"
emctl ilint options can be listed by typing "emctl ilint"
emctl deploy options can be listed by typing "emctl deploy"
C:\Windows\system32>emctl start dbconsole
Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0
Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
https://gwh-pad:1158/em/console/aboutApplication
Starting Oracle Enterprise Manager 10g Database Control ...OracleDBConsoleorcl
服务正在启动 ................
OracleDBConsoleorcl 服务已经启动成功。
C:\Windows\system32>
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/22275400/viewspace-754432/
,如需转载,请注明出处,否则将追究法律责任。