1. 程式人生 > >Oracle EM 無法開啟

Oracle EM 無法開啟

如下,還未知什麼原因造成,探索中。。。

[[email protected] ~]$ emctl status dbconsole;
Oracle Enterprise Manager 11g Database Control Release 11.2.0.2.0 
Copyright (c) 1996, 2010 Oracle Corporation.  All rights reserved.
https://dm:5500/em/console/aboutApplication
Oracle Enterprise Manager 11g is running. 
------------------------------------------------------------------
Logs are generated in directory /oradm/11.2.0/dm_DM/sysman/log 
[
[email protected]
~]$ emctl stop dbconsole
Oracle Enterprise Manager 11g Database Control Release 11.2.0.2.0 
Copyright (c) 1996, 2010 Oracle Corporation.  All rights reserved.
https://dm:5500/em/console/aboutApplication
Stopping Oracle Enterprise Manager 11g Database Control ... 
 ...  Stopped. 
[[email protected]
~]$ emctl start dbconsole
Oracle Enterprise Manager 11g Database Control Release 11.2.0.2.0 
Copyright (c) 1996, 2010 Oracle Corporation.  All rights reserved.
https://dm:5500/em/console/aboutApplication
Starting Oracle Enterprise Manager 11g Database Control ....... started. 
------------------------------------------------------------------
Logs are generated in directory /oradm/11.2.0/dm_DM/sysman/log 
[
[email protected]
~]$ cd /oradm/11.2.0/dm_DM/sysman/log/
[[email protected] log]$ ls
emagentfetchlet.log  emagent.trc    emagent.trc.4  emdctl.log   emoms.trc     emoms.trc.3  emoms.trc.7       pafLogs
emagentfetchlet.trc  emagent.trc.1  emctl.log      emdctl.trc   emoms.trc.1   emoms.trc.4  emoms.trc.8       patchAgtStPlugin.log
emagent.log          emagent.trc.2  emctl.msg      emoms.log    emoms.trc.10  emoms.trc.5  emoms.trc.9       secure.log
emagent_perl.trc     emagent.trc.3  emdb.nohup     emoms.log.1  emoms.trc.2   emoms.trc.6  nfsPatchPlug.log

[[email protected] log]$ tail emagent.log 
             (00104)
2013-07-04 14:14:20,003 Thread-362192112 Undefined column name __intervalinterval in expression ((msg_recv_act < _msg_recv_act) ? 0 : (msg_recv_act - _msg_recv_act))/__intervalinterval=%SID%)))
             (00104)
2013-07-04 14:14:20,677 Thread-362192112 [Load Balancer Switch] InstanceProperty (snmpTimeout) is marked OPTIONAL but is being used (00506)
2013-07-04 14:14:22,491 Thread-362192112 EMAgent started successfully (00702)
2013-07-04 14:14:22,535 Thread-1109002848 <Upload Manager> Exceeded Max allowed Upload data - No of files: 865, Size of upload data: 554.625534MB, Pct(%) of Disk used: 24.87%, Disabling collections (00852)
2013-07-04 14:14:22,552 Thread-1109002848 Disable collector (00406)
2013-07-04 14:16:25,965 Thread-1109002848 enable collector (00407)
2013-07-04 14:16:27,086 Thread-1098930784 <Upload Manager> Exceeded Max allowed Upload data - No of files: 871, Size of upload data: 563.198381MB, Pct(%) of Disk used: 24.87%, Disabling collections (00852)
2013-07-04 14:16:27,086 Thread-1098930784 Disable collector (00406)
[[email protected] log]$ tail emdctl.trc
2013-07-04 13:15:58,378 Thread-2464836896 WARN  http: nmehl_connect_internal: connect failed to (dm:5500): Connection refused (error = 111)
2013-07-04 13:16:00,459 Thread-2643774752 WARN  http: nmehl_connect_internal: connect failed to (dm:5500): Connection refused (error = 111)
2013-07-04 13:16:02,490 Thread-787029280 WARN  http: nmehl_connect_internal: connect failed to (dm:5500): Connection refused (error = 111)
2013-07-04 14:11:11,797 Thread-1439599904 WARN  http: nmehl_connect_internal: connect failed to (dm:5500): Connection refused (error = 111)
2013-07-04 14:11:14,057 Thread-2042371360 WARN  http: nmehl_connect_internal: connect failed to (dm:5500): Connection refused (error = 111)
2013-07-04 14:11:15,827 Thread-14814496 WARN  http: nmehl_connect_internal: connect failed to (dm:1830): Connection refused (error = 111)
2013-07-04 14:11:15,827 Thread-14814496 ERROR main: nmectla_agentctl: Error connecting to https://dm:1830/emd/main. Returning status code 1
2013-07-04 14:14:22,008 Thread-2785684768 WARN  http: nmehl_connect_internal: connect failed to (dm:5500): Connection refused (error = 111)
2013-07-04 14:14:24,049 Thread-1133100320 WARN  http: nmehl_connect_internal: connect failed to (dm:5500): Connection refused (error = 111)
2013-07-04 14:14:26,090 Thread-4225588512 WARN  http: nmehl_connect_internal: connect failed to (dm:5500): Connection refused (error = 111)

-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

20130706 今天竟然發現用IE無法開啟,用Firefox就可以了,真是奇怪了。

[[email protected] config]$ emctl stop dbconsole
[[email protected] log]$ sqlplus "/ as sysdba"
SQL> select username,lock_date,account_status from dba_users;

USERNAME                       LOCK_DATE ACCOUNT_STATUS
------------------------------ --------- --------------------------------
MGMT_VIEW                                OPEN
SYS                                      OPEN
SYSTEM                                   OPEN
SYSMAN                                   OPEN
DM                                       OPEN
LCMDM                                    OPEN
DBSNMP                         06-JUL-13 LOCKED(TIMED)

SQL> alter user dbsnmp identified by oradm;
SQL> alter user SYSMAN identified by oradm;
SQL> alter user dbsnmp account unlock;

[[email protected] collection]$ emctl setpasswd dbconsole
Oracle Enterprise Manager 11g Database Control Release 11.2.0.2.0 
Copyright (c) 1996, 2010 Oracle Corporation.  All rights reserved.
https://mes:1158/em/console/aboutApplication
Please enter new repository password:  <---輸入oradm
Repository password successfully updated.

[[email protected] emd]$ cd /oradm/11.2.0/dm_DM/sysman/emd

[[email protected] emd]$ cp targets.xml targets.xml.20130706

[[email protected] emd]$ vi targets.xml

修改些列程式碼中:
<Property NAME="UserName" VALUE="6f5848a4f53a2d0a" ENCRYPTED="TRUE"/>
<Property NAME="password" VALUE="829e1a25401de489" ENCRYPTED="TRUE"/>

用新的dbsnmp的密碼代替上列password的Value值,ENCRYPTED的值修改成FALSE。

[[email protected] emd]$ emctl start dbconsole


閱讀(887) | 評論(0) | 轉發(0) | 給主人留下些什麼吧!~~ 評論熱議