当前位置:网站首页>Monitoring cannot be started after Oracle modifies the computer name

Monitoring cannot be started after Oracle modifies the computer name

2022-07-07 04:51:00 Programmer community


Occasionally found this problem , Because I didn't pay attention when installing the operating system , The name assigned by my system is very long , I felt awkward when I deployed the project , In a fit of anger, he changed the name of the computer , I think everyone can do this !
But Oracle The database is inaccessible , In system services (DOS Input in services.msc) Check to see , There is no monitoring system .
Just think of it before I heard , If the name of the computer changes , Monitoring may not start , But I don't know that book for a moment , You can only check the information online .
Finally, a solution was found , It's very simple :
In the installation directory :D:\oracle\ora92\network\admin ( If you are installing C That's it C Go down and find ) There's a file listener.ora This is the file for configuring listening , open :

# LISTENER.ORA Network Configuration File: D:\oracle\ora92\network\admin\listener.ora# Generated by Oracle configuration tools.LISTENER =  (DESCRIPTION_LIST =    (DESCRIPTION =      (ADDRESS_LIST =        (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))      )      (ADDRESS_LIST =        (ADDRESS = (PROTOCOL = TCP)(HOST = 68B471F2AE9847A)(PORT = 1521))      )    )  )SID_LIST_LISTENER =  (SID_LIST =    (SID_DESC =      (SID_NAME = PLSExtProc)      (ORACLE_HOME = D:\oracle\ora92)      (PROGRAM = extproc)    )    (SID_DESC =      (GLOBAL_DBNAME = cui)      (ORACLE_HOME = D:\oracle\ora92)      (SID_NAME = cui)    )  )

 

that HOST Is to write the configuration of your computer name .

Oracle After modifying the computer name, the listener cannot start the illustration

I recommend you to read more about “ oracle monitor Can't start Computer name ” The article

原网站

版权声明
本文为[Programmer community]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/02/202202130743226176.html

随机推荐