- 論壇徽章:
- 0
|
最近執(zhí)行數(shù)據(jù)庫(kù)導(dǎo)出時(shí)遇到一個(gè)很奇怪的問(wèn)題,請(qǐng)各位大蝦幫忙看看
[oracle@node1 admin]$ exp test/test123@orcl file=/data/111.dmp full=y
Export: Release 10.2.0.5.0 - Production on Thu May 30 11:54:14 2013
Copyright (c) 1982, 2007, Oracle. All rights reserved.
EXP-00056: ORACLE error 12154 encountered
ORA-12154: TNS:could not resolve the connect identifier specified
EXP-00000: Export terminated unsuccessfully
通過(guò)sqlplus / as sysdba登上數(shù)據(jù)庫(kù)查看狀態(tài)是OPEN,其它的也都正常,數(shù)據(jù)庫(kù)監(jiān)聽(tīng)也是正常的,通過(guò)PLSQL用test用戶(hù)登陸也都OK
[oracle@guangxi1 admin]$ tnsping node1
TNS Ping Utility for Linux: Version 10.2.0.5.0 - Production on 30-MAY-2013 11:56:59
Copyright (c) 1997, 2010, Oracle. All rights reserved.
Used parameter files:
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.200.65)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = orcl)))
OK (10 msec)
TNSPING顯示OK
[oracle@guangxi1 admin]$ sqlplus test/test123@orcl
SQL*Plus: Release 10.2.0.5.0 - Production on Thu May 30 11:58:15 2013
Copyright (c) 1982, 2010, Oracle. All Rights Reserved.
ERROR:
ORA-12154: TNS:could not resolve the connect identifier specified
Enter user-name: test
Enter password:
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.5.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> select instance_name,status from v$instance;
INSTANCE_NAME
------------------------------------------------
STATUS
------------------------------------
orcl
OPEN
SQL>
很奇怪,直接sqlplus test/test123@orcl登陸不了數(shù)據(jù)庫(kù),在輸入用戶(hù)名密碼后又可以登陸,用戶(hù)名和密碼還是原來(lái)的test/test123,這種情況是哪里配置有問(wèn)題呢?
|
|