關(guān)于監(jiān)聽端口的修改請參考下面兩篇文章。
《【LISTENER】修改 LISTENER的監(jiān)聽端口為1526(靜態(tài)注冊)》
http://space.itpub.net/519536/viewspace-609822
《【LISTENER】修改 LISTENER的監(jiān)聽端口為1526(動態(tài)注冊)》
http://space.itpub.net/519536/viewspace-627534
如果您習慣使用EM管理數(shù)據(jù)庫,那么在調(diào)整完監(jiān)聽端口后EM的配置文件也需要相應(yīng)的調(diào)整。通過這個文章給大家介紹一下后續(xù)的動作。
1.修改emoms.properties屬性文件中端口信息
ora10g@testdb /home/oracle$ vi $ORACLE_HOME/${HOSTNAME}_${ORACLE_SID}/sysman/config/emoms.properties
這個文件中有兩行含有1521端口號的信息,將他們統(tǒng)統(tǒng)的修改為1526
oracle.sysman.eml.mntr.emdRepPort=1521
oracle.sysman.eml.mntr.emdRepConnectDescriptor=(DESCRIPTION\=(ADDRESS_LIST\=(ADDRESS\=(PROTOCOL\=TCP)(HOST\=testdb)(PORT\=1521)))(CONNECT_DATA\=(SERVICE_NAME\=ora10g)))
這兩個行修改后的內(nèi)容如下
oracle.sysman.eml.mntr.emdRepPort=1526
oracle.sysman.eml.mntr.emdRepConnectDescriptor=(DESCRIPTION\=(ADDRESS_LIST\=(ADDRESS\=(PROTOCOL\=TCP)(HOST\=testdb)(PORT\=1526)))(CONNECT_DATA\=(SERVICE_NAME\=ora10g)))
2.修改targets.xml配置文件中端口信息
ora10g@testdb /home/oracle$ vi $ORACLE_HOME/${HOSTNAME}_${ORACLE_SID}/sysman/emd/targets.xml
這個文件中的1521端口號的信息統(tǒng)統(tǒng)的修改為1526
3.重啟EM
ora10g@testdb /home/oracle$ emctl stop dbconsole
TZ set to PRC
Oracle Enterprise Manager 10g Database Control Release 10.2.0.1.0
Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved.
http://testdb:5500/em/console/aboutApplication
Stopping Oracle Enterprise Manager 10g Database Control ...
... Stopped.
ora10g@testdb /home/oracle$ emctl start dbconsole
TZ set to PRC
Oracle Enterprise Manager 10g Database Control Release 10.2.0.1.0
Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved.
http://testdb:5500/em/console/aboutApplication
Starting Oracle Enterprise Manager 10g Database Control ......................... started.
------------------------------------------------------------------
Logs are generated in directory /oracle/app/oracle/product/10.2.0/db_1/testdb_ora10g/sysman/log
4.驗證EM登陸
在本地瀏覽器中輸入如下的URL
http://144.194.192.183:5500/em/
看到登陸界面了,OK,搞定。
5.小結(jié)
在做任何數(shù)據(jù)庫調(diào)整之后一定要考慮清楚后續(xù)的收尾工作,我們的目標是:不留死角。
Good luck.
secooler
10.02.23
-- The End --
本文名稱:【EM】修改監(jiān)聽端口后企業(yè)管理器(EnterpriseManager)相應(yīng)的調(diào)整
文章來源:http://aaarwkj.com/article2/jjpjic.html
成都網(wǎng)站建設(shè)公司_創(chuàng)新互聯(lián),為您提供網(wǎng)站維護、域名注冊、面包屑導航、虛擬主機、搜索引擎優(yōu)化、
廣告
聲明:本網(wǎng)站發(fā)布的內(nèi)容(圖片、視頻和文字)以用戶投稿、用戶轉(zhuǎn)載內(nèi)容為主,如果涉及侵權(quán)請盡快告知,我們將會在第一時間刪除。文章觀點不代表本網(wǎng)站立場,如需處理請聯(lián)系客服。電話:028-86922220;郵箱:631063699@qq.com。內(nèi)容未經(jīng)允許不得轉(zhuǎn)載,或轉(zhuǎn)載時需注明來源:
創(chuàng)新互聯(lián)