Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

[EM] adjust the Enterprise Manager (Enterprise Manager) after modifying the listening port

2025-01-29 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

For changes to the listening port, please refer to the following two articles.

"[LISTENER] modify the listening port of LISTENER to 1526 (static registration)"

Http://space.itpub.net/519536/viewspace-609822

"[LISTENER] modify the listening port of LISTENER to 1526 (dynamic registration)"

Http://space.itpub.net/519536/viewspace-627534

If you are used to using EM to manage the database, the configuration file of EM needs to be adjusted accordingly after adjusting the listening port. Through this article, I will introduce you to the follow-up actions.

1. Modify port information in emoms.properties properties file

Ora10g@testdb / home/oracle$ vi $ORACLE_HOME/$ {HOSTNAME} _ ${ORACLE_SID} / sysman/config/emoms.properties

There are two lines of information with 1521 port numbers in this file. Change them all to 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))

The modified contents of these two lines are as follows

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))

two。 Modify port information in targets.xml configuration file

Ora10g@testdb / home/oracle$ vi $ORACLE_HOME/$ {HOSTNAME} _ ${ORACLE_SID} / sysman/emd/targets.xml

The information of the 1521 port number in this file has been changed to 1526.

3. Restart 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. Verify EM login

Enter the following URL in your local browser

Http://144.194.192.183:5500/em/

I see the login screen, OK. Got it.

5. Summary

Be sure to consider the follow-up work after making any database adjustments, and our goal is to leave no dead ends.

Good luck.

Secooler

10.02.23

-- The End--

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report