This article is a mirror article of machine translation, please click here to jump to the original article.

View: 11404|Reply: 0

[Solved] Oracle ORA-12541: TNS:no listener error workaround

[Copy link]
Posted on 11/26/2014 3:54:56 PM | | |
The Oracle installed the day before yesterday suddenly became unusable yesterdayOracleJudging from the error prompt, it is said that TNS: no listener, it is estimated that some kind of service is not starting, open the windows management tool - > service, at a glance, there is oneOracleServices like OraHome90TNSListener are consistent with the error message problem, and it is almost certain that the problem caused by this service is the same. Looking at it again, the service did not start, so I started it manually, and after refreshing, the service was automatically closed immediately. Tried N times, the result is the same. I went to Google to search, but I didn't expect this to be a common problem, and someone proposed to open listener.ora in the installation directory and take a look. For example: d:\oracle\ora90\network\admin\listener.ora。 After opening the configuration file, the following configuration information is found: LISTENER = (DESCRipTION_LIST = (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0)) ) (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = IBMThinkPad) (PORT = 1521)) ) ) ) ) ) When I saw the line HOST=IBMThinkPad, the problem was solved. It turned out that it was due to a few days of installationOracleAfter that, the computer name of Windows was changed, and the listening host name recorded in this configuration file was still the original name, which is no wonder.OracleThe OraHome90TNSListener service cannot be started, so immediately change it to the current computer name and start againOracleOraHome90TNSListener service is successful, PL/SQL Developer connectionOracleThe database succeeds, but the login cannot be logged in for troubleshooting.




Previous:ORACLE 11g New Features - Allows DDL locks to wait for DML locks
Next:What is the difference between iPad Air2 and iPad mini3? iPad Air2 vs. iPad mini3
Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com