Oracle entry series (2)

Source: Internet
Author: User

Oracle has not been used for a long time. If you want to verify an SQL statement tonight, the Oracle service cannot be started. Cold!
since the Oracle service was started automatically every time it was started, the Oracle service was started manually.
you have to solve the problem by yourself. Check the Oracle startup log. Where is the log? Long time don't forget, cold!
fortunately, we finally found the Oracle installation path/product/10.2.0/db_1/Network/log/listener. log
see the following error:
start with PID = 5108
listener: (description = (address = (Protocol = IPC) (pipename = //. /pipe/extproc1ipc)
An error occurred while listening to this object: (description = (address = (Protocol = TCP) (host = 192.168.1.102) (Port = 1521)
TNS-12545: connection failed because the target host or object does not exist
TNS-12560: TNS: protocol adapter error
TNS-00515: because the target host or object does not exist, connection Failed
32-bit Windows Error: 49: unknown error
no listening: (description = (address = (Protocol = IPC) (pipename = //. /pipe/extproc1ipc)

the problem is clear. If the server IP address is incorrect, run the ipconfig command to check that the IP address is no longer 1.102! In the future, dynamic IP addresses cannot be used to specify machines.
solution:
1. Changing the dynamic IP address to the current IP address may cause such problems in the future
changing the Oracle installation path/product/10.2.0/db_1/Network/tnsname. ora
Oracle installation path/product/10.2.0/db_1/Network/listener. ora
2. Change to the machine name. Generally, this problem does not occur if the machine name is not used.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.