Oracle 12cR2无法导入

时间:2017-04-14 06:20:34

标签: linux oracle import oracle12c

我试图将我的转储文件导入到' orcalpdb'(12c plugindb),但我遇到了一些问题......

我需要你的帮助。 :(

我的问题

[oracle@demo ~]$ imp ASSP/xxxx@orclpdb file= /home/oracle/assp.dmp  fromuser=ASSP touser=ASSP

Import: Release 12.2.0.1.0 - Production on Fri Apr 14 13:52:09 2017

Copyright (c) 1982, 2017, Oracle and/or its affiliates.  All rights reserved.


IMP-00058: ORACLE error 12537 encountered
ORA-12537: TNS:connection closed
IMP-00000: Import terminated unsuccessfully

LISTENER.LOG

14-APR-2017 17:23:24 * (CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=orclpdb)(CID=(PROGRAM=sqlplus@demo)(HOST=demo)(USER=oracle))) * (ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=11958)) * establish * orclpdb * 12518
TNS-12518: TNS:listener could not hand off client connection
 TNS-12547: TNS:lost contact
  TNS-12560: TNS:protocol adapter error
   TNS-00517: Lost contact
    Linux Error: 32: Broken pipe

但我尝试使用&tnsping orclpdb' ,它是成功的

[oracle@demo ~]$ tnsping orclpdb

TNS Ping Utility for Linux: Version 12.2.0.1.0 - Production on 14-APR-2017 13:51:24

Copyright (c) 1997, 2016, Oracle.  All rights reserved.

Used parameter files:
/u01/app/oracle/product/12.2.0/db_1/network/admin/sqlnet.ora


Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = orclpdb)))
OK (0 msec)

我的配置(tnsnames.ora,listener.ora,sqlnet.ora)已经爆炸了。

tnsnames.ora:

LISTENER_ORCLPDB =
  (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))

ORCLPDB  =
  (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    (CONNECT_DATA =
      (SERVER = DEDICATED)
      (SERVICE_NAME = orclpdb)
    )
  )

的listener.ora

LISTENER =
  (DESCRIPTION_LIST =
    (DESCRIPTION =
      (ADDRESS = (PROTOCOL = TCP)(HOST = oradb12clinux.globeunion.com)(PORT = 1521))
      (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    )
  )

SID_LIST_LISTENER =  
(SID_LIST =  
  (SID_DESC =  
  (GLOBAL_DBNAME = orcl)
  (SID_NAME = orcl)
  )
)

SQLNET.ORA

NAMES.DIRECTORY_PATH = (TNSNAMES,EZCONNECT, HOSTNAME)

我的环境:

红帽企业Linux服务器版本7.3

Oracle 12cR2

0 个答案:

没有答案