The original address: http://blog.csdn.net/zhpsam109/article/details/727289
Modify TNsnames. ora with VI to add a local service name configuration with the following types:
(DESCRIPTION = = XXX
Modify TNsnames. ora with VI to add a local service name configuration with the following types:
(DESCRIPTION = = XXX
(ADDRESS_LIST =
(ADDRESS = (TCP) PROTOCOL = (HOST = 192.168.100.131) (1521) PORT =))
(CONNECT_DATA =
(= DEDICATED SERVER) (SERVICE_NAME = XXX)
)
)
After the configuration, use the command WQ, save and exit, and then test with TNSPing XXX, error occurs:
TNS-03505: Failed to resolve name
After a good check, the content added in tnsnames.ora above is correct and hard to understand! had to search the Internet to find a solution, just know is TNS|NAME before a space, re-open tnsnames.ora with VI, and then delete XXX in front of the space, with tnsping XXX, the problem is solved!
A small problem, toss me for a long time, ha ha!
Read More:
- Error: unable to resolve dependency for… Could not resolve project
- Failed to resolve: failed to resolve
- Tns-03505: the ultimate solution to failed to resolve name
- Failed to resolve: com.android.support:appcompat-v7:25.3.0
- Failed to resolve: com.github
- Failed to execute goal on project XXXX-api: Could not resolve dependencies for pro
- Failed to resolve: com.android.support:appcompat-v7:27.
- Android studio failed to resolve: com.github.CymChad :BaseRecyclerViewAdap terHelper:2.9.46
- Failed to resolve: com.se renegiant:common 1.5.20
- Failed to resolve filter: ToFixed
- failed to resolve:com.github.********
- Vue3. X reports an error using vantui. Failed to resolve component: Van-**-**
- Android studio failed to resolve: junit:junit : 4.12 solutions
- [error log] 27.1.0 series of errors Error:Failed to resolve: com.android.support :support-an notations:27.1.0
- Lenovo x3650 M5 installation esxi-5.5.0u3 failed to resolve circular relocation
- Resolve rabbitmq declarationexception: failed to declare queue exception
- Failed to resolve:com.github.xxx error
- [Vue warn]: Failed to resolve component vue3 import element error
- Android Studio sync build.gradle appears: Failed to resolve: com.android.support:appcompat problem
- NPM compilation failed: can’t resolve ‘child_ process’