| |

VerySource

 Forgot password?
 Register
Search
View: 2308|Reply: 3

how to solve this problem

[Copy link]

2

Threads

2

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-1-19 16:20:01
| Show all posts |Read mode
When I log in to the server with sql * plus, I get this prompt: ora-12514: TNS: The listener cannot determine the service_name provided in the connection description area, because the tnsnames.ora file is replaced
Please how to solve the problem of masters?
Reply

Use magic Report

0

Threads

10

Posts

6.00

Credits

Newbie

Rank: 1

Credits
6.00

 Invalid IP Address

Post time: 2020-1-27 21:00:01
| Show all posts
There is something wrong with your TNS configuration file :)

There are several places to pay attention to
1.HOST is on the server machine name or static IP address
2.SERVICE_NAME The name of the ORACLE instance you installed, other copies are just fine
Reply

Use magic Report

0

Threads

10

Posts

6.00

Credits

Newbie

Rank: 1

Credits
6.00

 Invalid IP Address

Post time: 2020-1-27 22:36:01
| Show all posts
There is something wrong with your TNS configuration file :)

There are several places to pay attention to
1.HOST is on the server machine name or static IP address
2.SERVICE_NAME The name of the ORACLE instance you installed, other copies are just fine

For example:

CKCRP = --You can write the name of CKCRP in this place, just write this in the name of the service you log in to.
  (DESCRIPTION =
    (ADDRESS_LIST =
      (ADDRESS = (PROTOCOL = TCP) (HOST = 172.28.65.213) (PORT = 1521))
    )
    (CONNECT_DATA =
      (SERVER = DEDICATED)
      (SERVICE_NAME = CKCRP)
    )
  )
among them
HOST = 172.28.65.213 replaced with the live static IP address or machine name of the machine where your database is located
SERVICE_NAME = CKCRP where CKCRP is replaced with the name of your instance
Reply

Use magic Report

0

Threads

1

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-9-5 06:30:01
| Show all posts
# tnsnames.ora Network Configuration File: C:\oracle\product\10.2.0\db_1\network\admin\tnsnames.ora
# Generated by Oracle configuration tools.

ORACLE =
  (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = wgn)(PORT = 1521))
    (CONNECT_DATA =
      (SERVER = DEDICATED)
      (SERVICE_NAME = oracle)
    )
  )

EXTPROC_CONNECTION_DATA =
  (DESCRIPTION =
    (ADDRESS_LIST =
      (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    )
    (CONNECT_DATA =
      (SID = PLSExtProc)
      (PRESENTATION = RO)
    )
  )
I think I just create a new one
According to the above format host write computer name service_name write instance name
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

Contact us|Archive|Mobile|CopyRight © 2008-2023|verysource.com ( 京ICP备17048824号-1 )

Quick Reply To Top Return to the list