[Switch] ORA-12514 TNS listener currently does not recognize the solution to the request service in the connection descriptor

Oracle is installed in the virtual machine, and after the virtual machine is copied, the client fails to connect again.

solve:

1. Find the network\admin\listener.ora file on the server;

2. Refer to adding red content similar to the following:

SID_LIST_LISTENER =

  (SID_LIST =

    (SID_DESC =

      (SID_NAME = PLSExtProc)

      (ORACLE_HOME = E:\Oracle10g)

      (PROGRAM = extproc)

    )

   (SID_DESC =

    (GLOBAL_DBNAME = ORCL)

    (ORACLE_HOME = E:\Oracle10g)

    (SID_NAME = ORCL)

    )

 )

LISTENER =

  (DESCRIPTION_LIST =

    (DESCRIPTION =

      (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))

      (ADDRESS = (PROTOCOL = TCP)(HOST = onest)(PORT = 1521))

    )

  )

3. Monitor restart.

 

(Reference: http://blog.sina.com.cn/s/blog_5007d1b10100oqo8.html)

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=327051054&siteId=291194637