error TNS expdp
HelloI am using expdp successfully for some time, but now I'm in trouble. I had originally a database on the Windows Server. I added a second database for testing, but have now removed. I initially tried running expdp (I need to run it against my original db) when I got the two databases and it looked like he was pointing to the second database.
When I try to use expdp now (after the removal of the second db) I get "Error TNS:protocol adapter." Any ideas? My experience is still somewhat limited with Oracle so I'd be surprised if I'm not missing what is obvious.
Thank you very much for any help, I sincerely appreciate it.
Thank you
Nick
user1194782 wrote:
Jac I thought you meant an Oracle command that I never knew. Here's the result (I see not much connected to Oracle, I deleted the user and machine name values):ALLUSERSPROFILE = C:\programdata
APPDATA = C:\Users\Administrator\AppData\Roaming
CLASSPATH =. ; C:\Program Files (x86)\Java\jre6\lib\ext\QTJava.zip
CommonProgramFiles = c: files
CommonProgramFiles (x 86) = c: Program Files (x 86) \Common Files
ComSpec=C:\Windows\system32\cmd.exe
FP_NO_HOST_CHECK = NO
Framework35Version = v3.5
FrameworkDir=c:\Windows\Microsoft.NET\Framework64
FrameworkVersion = v2.0.50727
HOMEDRIVE = C:
INCLUDE = c: Program Files (x 86) \Microsoft Visual Studio 9.0\VC\ATLMFC\INCLUDE;c:\Program files (x 86) \Microsoft Visual Studio 9.0\VC\INCLUDE. C:\Program Files\Microsoft SDKs\Windows\v6.0A\include.
LIB = c: Program Files files (x 86) \Microsoft Visual Studio 9.0\VC\ATLMFC\LIB\amd64;c:\Program files (x 86) \Microsoft Visual Studio 9.0\VC\LIB\amd64. C:\Program Files\Microsoft SDKs\Windows\v6.0A\lib\x64.
LIBPATH=c:\WINDOWS\Microsoft.NET\framework64\v3.5;c:\WINDOWS\Microsoft.NET\Framework64\v2.0.50727;c:\WINDOWS\Microsoft.NET\framework64\v3.5;c:\WINDOWS\Microsoft.NET\Framework64\v2.0.50727;c:\Program files (x 86) \Microsoft Visual Studio 9.0\VC\ATLMFC\LIB\amd64;c:\Program files (x 86) \Microsoft Visual Studio 9.0\VC\LIB\amd64.
LOCALAPPDATA = C:\Users\Administrator\AppData\Local
NUMBER_OF_PROCESSORS = 4
OS = Windows_NT
Path = c: Program Files files (x 86) \Microsoft Visual Studio 9.0\VC\BIN\amd64;c:\Windows\Microsoft.NET\Framework64\v3.5;c:\Windows\Microsoft.NET\Framework64\v3.5\Microsoft .NET Framework 3.5 (Pre - Release Version);c:\Windows\Microsoft.NET\Framework64\v2.0.50727;c:\Program files (x 86) \Microsoft Visual Studio 9.0\VC\VCPackages;c:\Program files (x 86) \Microsoft Visual Studio 9.0\Common7\IDE;c:\Program files (x 86) \Microsoft Visual Studio 9.0\Common7\Tools;c:\Program files (x 86) \Microsoft Visual Studio 9.0\Common7\Tools\bin;) C:\Program Files\Microsoft SDKs\Windows\v6.0A\bin\x64. C:\Program Files\Microsoft SDKs\Windows\v6.0A\bin\win64\x64. C:\Program Files\Microsoft SDKs\Windows\v6.0A\bin. C:\Ruby192\bin;d:\oracle\app\Administrator\product\11.2.0\dbhome_2\bin; C:\Program Files (x 86) \PHP\; C:\Windows\System32; C:\Windows; C:\Windows\System32\Wbem; C:\Program Files (x 86) \Microsoft SQL Server\100\Tools\Binn\; C:\Program Files\Microsoft SQL Server\100\Tools\Binn\; C:\Program Files\Microsoft SQL Server\100\DTS\Binn\; C:\Program Files (x 86) \Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\; C:\Program Files (x 86) \Microsoft SQL Server\100\DTS\Binn\; C:\Program Files (x 86) \Microsoft Visual Studio 9.0\Common7\IDE\PrivateAssemblies\. C:\Windows\system32\WindowsPowerShell\v1.0\; C:\Program Files (x 86) \Microsoft SQL Server\90\Tools\binn\; C:\Program Files (x 86) \QuickTime\QTSystem\; C:\Program Files (x 86) \Calibre2\; C:\Program Files (x 86) \Gallio\bin
PATHEXT = .COM; EXE;. BEATS;. CMD;. VBS;. VBE;. JS;. JSE;. WSF;. WSH;. MSC. ; RB;. RBW
PHPRC = c: Program Files (x 86) \PHP\
PROCESSOR_ARCHITECTURE = AMD64
PROCESSOR_IDENTIFIER = Intel64 family 6 model 23 Stepping 7 GenuineIntel
PROCESSOR_LEVEL = 6
PROCESSOR_REVISION = 1707
ProgramData = ProgramData
ProgramFiles = c: Program Files
ProgramFiles (x 86) = c: Program Files (x 86)
PROMPT = $P$ G
PUBLIC = C:\Users\Public
QTJAVA = C:\Program Files (x86)\Java\jre6\lib\ext\QTJava.zip
SESSION = Console
SystemDrive = C:
SystemRoot = C:\Windows
TEMP = C:\Users\ADMINI~1\AppData\Local\Temp
TMP = C:\Users\ADMINI~1\AppData\Local\Temp
VCINSTALLDIR = c: Program Files files (x 86) \Microsoft Visual Studio 9.0\VC
VS100COMNTOOLS = c: Program Files (x 86) \Microsoft Visual Studio 10.0\Common7\Tools\
VS90COMNTOOLS = c: Program Files files (x 86) \Microsoft Visual Studio 9.0\Common7\Tools\
VSINSTALLDIR = c: Program Files (x 86) \Microsoft Visual Studio 9.0
windir = C:\Windows
WindowsSdkDir = c: SDKs\Windows\v6.0A\
I don't see any Oracle variable defined environment (for example ORACLE_SID ORACLE_HOME and TNS_ADMIN etc.). Are there settings in the registry for the latter?
HTH
Srini
Tags: Database
Similar Questions
-
Hi guru
When I try to use expdp I get the following error[oracle@localhost ~]$ expdp scott/tiger@oracl full=y directory=test dumpfile=fulldump.dmp logfile=full.log Export: Release 10.2.0.1.0 - Production on Sunday, 26 June, 2011 10:46:45 Copyright (c) 2003, 2005, Oracle. All rights reserved. UDE-00008: operation generated ORACLE error 12154 ORA-12154: TNS:could not resolve the connect identifier specified [oracle@localhost ~]$
expdp scott/tiger@oracl
spelling error
Change instead of ORACL ORCL
expdp scott/tiger@orcl
Published by: Azar on June 25, 2011 23:14
-
Hello
I'm trying to export a schema with 2 tables with the CLOB (XML file stored) data type. While the expdp am getting error below.
ORA-39097: Data Pump job encountered the error unexpected-12801
ORA-39065: exception unexpected master process in HAND
ORA-12801: error reported in the PZ99, instance XXXXXX parallel query server
ORA-01460: dead letter or unreasonable conversion requested
Job 'XXXXXXXX '. "" SYS_EXPORT_SCHEMA_01 "stopped because of the mistake at 03:46:32
already my parameter PARALLEL_DEGREE_POLICY value is MANUAL. Help, please
The error that you get a little weird, so if I were you, and if the error is reproducible, I would trace your datapump for more information. You could follow the datapump job Oracle sessions or add "trace = 1FF0300" to the command line expdp; This will create tracking in your folder of trace files. Search for 'trace = 1FF0300' to find out how it works.
-
Need help with error TNS.
Hi guys,.
I'm still struggling with you try to start my DB.
Who is on the following IP 192.168.103.110 with the hostname being Computer1
When I try to start the listener I get the following error below
lsnrctl start $ [oracle@machine1 admin]
LSNRCTL for Linux: Version 12.1.0.1.0 - Production on 3 August 2015 13:00:24
Copyright (c) 1991, 2013, Oracle. All rights reserved.
Connection to (ADDRESS = (PROTOCOL = tcp)(HOST=) (PORT = 1521))
AMT-12541: TNS:no listener
AMT-12560: TNS:protocol adapter error
AMT-00511: no listener
Linux error: 111: connection refused
[oracle@machine1 admin] $
The output of my listener.ora is
listener.ora # Network Configuration file: /u01/app/oracle/product/12.1.0/dbhome_1/network/admin/listener.ora
# Generated by Oracle configuration tools.
LISTENER_OVSORCL =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = machine1) (PORT = 1521))
(ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC1521))
)
)
The output of my tnsnames.ora is
tnsnames.ora # Network Configuration file: /u01/app/oracle/product/12.1.0/dbhome_1/network/admin/tnsnames.ora
# Generated by Oracle configuration tools.
OVSORCL =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = machine1) (PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = ovsorcl)
)
LISTENER_OVSORCL =
(ADDRESS = (PROTOCOL = TCP)(HOST = machine1) (PORT = 1521))
Please inform guys how can I fix this error.
OK, now change this:
Edit the/etc/hosts the following:
: 1 localhost
127.0.0.1 localhost loghost
192.168.103.110 Computer1.
Computer1 loghost Listener.ora change to the following:
LISTENER_OVSORCL =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP) (HOST = 192.168.103.110)(PORT = 1521))
(ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC1521))
)
)
Make sure you have not any sqlnet.ora
After doing this change post your new/etc/hosts, your new listener.ora and confirm that you have not any sqlnet.ora
-
Hi all
I had TNS-12504 strange errors when I try to connect to a 10.2.0.5.0db on my laptop (Vista 32 bit MS).
I installed Oracle DB 10.2.0.5.0 in c:\oracle\product\10.2.0\db_1 and its Oracle customer 10.2.0.5.0 to C:\oracle\product\10.2.0\client_1.
I configured a MS Loopback card with static ip 10.10.1.1.
I set the variable ORACLE_HOSTNAME = PC322LB system, and my host file contains PC322LB 10.10.1.1.
My network configuration files contain:
###########################################
C:\oracle\product\10.2.0\db_1\network\admin\listener.ora:
LISTENER_ORA10 =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP) (HOST = 10.10.1.1)(PORT = 1522))
)
)
SID_LIST_LISTENER_ORA10 =
(SID_LIST =
(SID_DESC =
(SID_NAME = ORA10)
(ORACLE_HOME=C:\oracle\product\10.2.0\db_1)
)
)
###########################################
C:\oracle\product\10.2.0\db_1\network\admin\tnsnames.ora:
LISTENER_ORA10 =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP) (HOST = 10.10.1.1)(PORT = 1522))
)
)
ORA10 =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP) (HOST = 10.10.1.1)(PORT = 1522))
)
(CONNECT_DATA = (SID = ORA10))
)
###########################################
C:\oracle\product\10.2.0\client_1\network\admin\tnsnames.ora:
ORA10 =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS =
(PROTOCOL = TCP)
(HOST = 10.10.1.1)
(PORT = 1522)
)
)
(CONNECT_DATA =
(SID = ORA10)
)
)
#########################################
And I set the parameter LOCAL_LISTENER = "LISTENER_ORA10."
However, if I try to connect to sqlplus by the window / I still get the error
ORA-12504: TNS:listener did not have the SID in CONNECT_DATA
:
C:\oracle\product\10.2.0\db_1\bin >. \lsnrctl status listener_ora10
LSNRCTL for 32-bit Windows: Version 10.2.0.5.0 - Production on May 27, 2011 15:54:24
Copyright (c) 1991, 2010, Oracle. All rights reserved.
Connection to (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP (PORT = 1522))(HOST=10.10.1.1)))
STATUS of the LISTENER
------------------------
Alias listener_ora10
Version TNSLSNR for 32-bit Windows: Version 10.2.0.5.0 - Production
Start date may 27, 2011 15:38:28
Uptime 0 days 0 h 15 min 57 sec
Draw level off
Security ON: OS Local Authentication
SNMP OFF
Listener parameter File C:\oracle\product\10.2.0\db_1\network\admin\listener.ora
Listener log file C:\oracle\product\10.2.0\db_1\network\log\listener_ora10.log
Summary of endpoints listening...
(DESCRIPTION = (ADDRESS = (PROTOCOL = tcp (PORT = 1522))(HOST=10.10.1.1)))
Summary of services...
Service "ORA10" has 2 occurrences.
Instance "ORA10', status UNKNOWN, has 1 operation for this service...
Instance "ora10" READY State, has 1 operation for this service...
Service 'ORA10XDB' has 1 instance (s).
Instance "ora10" READY State, has 1 operation for this service...
Service 'ORA10_XPT' has 1 instance (s).
Instance "ora10" READY State, has 1 operation for this service...
The command completed successfully
C:\oracle\product\10.2.0\db_1\bin >. \tnsping ora10
AMT Ping Utility for 32-bit Windows: Version 10.2.0.5.0 - Production on May 27, 2011 15:54:29
Copyright (c) 1997, 2010, Oracle. All rights reserved.
Use settings files:
C:\oracle\product\10.2.0\db_1\network\admin\sqlnet.ora
TNSNAMES adapter used to resolve the alias
Try to contact (DESCRIPTION_LIST = (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP) (HOST = 10.10.1.1)(PORT = 1522))) ())
ONNECT_DATA = (SID = ORA10)))
OK (0 msec)
C:\oracle\product\10.2.0\db_1\bin >
C:\oracle\product\10.2.0\db_1\bin >.\sqlplus.exe system/foo@ORA10
SQL * more: version 10.2.0.5.0 - Production on Fri 27 mai 15:54: 40 2011
Copyright (c) 1982, 2010, Oracle. All rights reserved.
ERROR:
ORA-12504: TNS:listener did not have the SID in CONNECT_DATA
Enter the user name:
In my view, that really miss me stupid put... any help?
Thank you
AndreaORA10 =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP) (HOST = 10.10.1.1)(PORT = 1522))
)
(CONNECT_DATA = (SID = ORA10))
)Your TNS entry seems incorrect, try this way
ORA10 = (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = 10.10.1.1)(PORT = 1522)) (CONNECT_DATA=(SID=ORA10)) )
-
Hello
I installed oracle 10.2.0.1 on windows server 2003. When I'm trying to connect to this database using Toad or sql more than any other machine, I get the error: ORA-12203: TNS: unable to connect to the Destination. The database name is "ORCL". The listener is running on the server. I ping the server.
The listener parameters are as following on the server:
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = E:\oracle\product\10.2.0\db_1)
(= Extproc PROGRAM)
)
)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC1))
(ADDRESS = (PROTOCOL = TCP) (HOST = 192.168.25.16)(PORT = 1521))
)
)
The SQL NET parameters are as follows:
SQLNET. AUTHENTICATION_SERVICES = (NTS)
NAMES. DIRECTORY_PATH = (TNSNAMES, EZCONNECT)
The TNS customer is as follows:
mdstdby. World =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS =
(COMMUNITY = tcp.world)
(PROTOCOL = TCP)
(Host = 192.168.25.16)
(Port = 1521)
)
(ADDRESS =
(COMMUNITY = tcp.world)
(PROTOCOL = TCP)
(Host = 192.168.25.16)
(Port = 1526)
)
)
(CONNECT_DATA = (SID = ORCL)
)
)change (Port = 1526) 1521 and try to connect
Add the entry in the file tnsnames.ora on the client and the server
ORCL = (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST =192.168.25.16 )(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = orcl) ) ) EXTPROC_CONNECTION_DATA = (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1)) ) (CONNECT_DATA = (SID = PLSExtProc) (PRESENTATION = RO) ) )
Published by: rajeysh on May 15, 2011 15:02
-
ORA-04063: package body 'SYS. DBMS_CUBE_EXP"got error in expdp
Oracle 11.2.0.2 on Redhat. Received the error when export a schema
Thhs is a routine operation and still works. Recent changes to the database are down some patterns that we thought is perhaps not helpful, refer to[oracle@cchorbi1 admin]$ expdp bi/pass@cchbi2 schemas=BISTG directory=DATA_PUMP_DIR parallel=12 dumpfile=bistg_bi2_0315_%U.dmp logfile=bistg_bi2_0315.log .... Starting "BI"."SYS_EXPORT_SCHEMA_02": bi/********@cchbi2 schemas=BISTG directory =DATA_PUMP_DIR parallel=12 dumpfile=bistg_bi2_0315_%U.dmp logfile=bistg_bi2_0315. log Estimate in progress using BLOCKS method... Processing object type SCHEMA_EXPORT/TABLE/TABLE_DATA ORA-39126: Worker unexpected fatal error in KUPW$WORKER.GET_TABLE_DATA_OBJECTS [] ORA-31642: the following SQL statement fails: BEGIN "SYS"."DBMS_CUBE_EXP".SCHEMA_CALLOUT(:1,0,1,'11.02.00.00.00'); END; ORA-06512: at "SYS.DBMS_SYS_ERROR", line 86 ORA-06512: at "SYS.DBMS_METADATA", line 1245 ORA-04063: package body "SYS.DBMS_CUBE_EXP" has errors ORA-06508: PL/SQL: could not find program unit being called: "SYS.DBMS_CUBE_EXP" ORA-06512: at "SYS.DBMS_SYS_ERROR", line 86 ORA-06512: at "SYS.KUPW$WORKER", line 8353
. Removed default schema users arehttp://abcdba.com/abcdbaserver11gdefaultschema
The remaining default schemas areANONYMOUS,APPQOSSYS,CTXSYS,DIP,EXFSYS,MDDATA,MDSYS,OE,OLAPSYS, ORACLE_OCM,ORDDATA,ORDPLUGINS,ORDSYS,OWBSYS,OWBSYS_AUDIT,PM,SCOTT, SH,SI_INFORMTN_SCHEMA,SPATIAL_CSW_ADMIN_USR,SPATIAL_WFS_ADMIN_USR WMSYS
SYS objects. DBMS_CUBE_EXP causing ORA-06508 exists but not validAPEX_030200,APEX_PUBLIC_USER,DBSNMP,FLOWS_FILES,MGMT_VIEW, OUTLN,SYS,SYSMAN,SYSTEM,XDB,XS$NULL
We cannot restore the State before drooping users as it occurred last week and the backup is replaced by a more recent and a newapplication schema is generated and we want to keep?select owner,object_name,object_type,status from dba_objects where object_name='DBMS_CUBE_EXP' SYS DBMS_CUBE_EXP PACKAGE VALID SYS DBMS_CUBE_EXP PACKAGE BODY INVALID PUBLIC DBMS_CUBE_EXP SYNONYM VALID
Is there a way to solve this problem without restoring database?
Thank youIn fact, I had the same problem with DBMS_CUBE_EXP. Oracle Enterprise Manager alert recommended remove EXECUTE on the public DBMS_LOB. This caused several * SYS packages and package bodies to go invalid. I have granted EXECUTE the user (CTXSYS, OLAPSYS, ect) and then compiled the object successfully.
-
Hi all
My env oracle 11 g R2 Sp2 of Xp , I get my service name Tnsping error IE prod
error...
C:\Documents and Settings\Administrateur > tnsping prod
AMT Ping Utility for 32-bit Windows: Version 10.2.0.3.0 - Production 02-AUG-2
010 20:15:36
Copyright (c) 1997, 2006, Oracle. All rights reserved.
Use settings files:
AMT-03505: failed to resolve the name
C:\Documents and Settings\Administrateur > lsnrctl
LSNRCTL for 32-bit Windows: Version 11.2.0.1.0 - Production on August 2, 2010 20:19
: 46
Copyright (c) 1991, 2010, Oracle. All rights reserved.
Welcome to LSNRCTL, enter 'help' for more information.
LSNRCTL > reload
Connection to (DESCRIPTION = (ADDRESS = (PROTOCOL = IPC) (KEY = EXTPROC1521)))
The command completed successfully
LSNRCTL > tnsping prod
NL-00853: command not defined "tnsping. Try "help".
LSNRCTL > output
C:\Documents and Settings\Administrateur > tnsping prod
AMT Ping Utility for 32-bit Windows: Version 10.2.0.3.0 - Production 02-AUG-2
010 20:20:07
Copyright (c) 1997, 2006, Oracle. All rights reserved.
Use settings files:
AMT-03505: failed to resolve the name
C:\Documents and Settings\Administrateur > lsnrctl stop
LSNRCTL for 32-bit Windows: Version 11.2.0.1.0 - Production on August 2, 2010 20:21
: 40
Copyright (c) 1991, 2010, Oracle. All rights reserved.
Connection to (DESCRIPTION = (ADDRESS = (PROTOCOL = IPC) (KEY = EXTPROC1521)))
The command completed successfully
C:\Documents and Settings\Administrateur > lsnrctl start prod
LSNRCTL for 32-bit Windows: Version 11.2.0.1.0 - Production on August 2, 2010 20:21
: 48
Copyright (c) 1991, 2010, Oracle. All rights reserved.
From tnslsnr: Please wait...
Cannot open the service < OracleOraDb11g_home2TNSListenerprod >, error 1060.
TNSLSNR for 32-bit Windows: Version 11.2.0.1.0 - Production
System settings file is C:\ora1\product\11.2.0\db2\network\admin\listener.ora
Log messages written to c:\ora1\diag\tnslsnr\friends-c0d8866\prod\alert\log.xml
Listen on: (DESCRIPTION = (ADDRESS = (PROTOCOL = tcp) (HOST = friends-c0d8866)(PORT=15)
(21)) (21)) (CONNECT_DATA = (Server = Dedicated)(service_name=Prod)))
Connection to (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP) (HOST = friends-c0d8866)(PORT=15)
(21)) (21)) (CONNECT_DATA = (Server = Dedicated)(service_name=Prod)))
STATUS of the LISTENER
------------------------
Alias prod
Version TNSLSNR for 32-bit Windows: Version 11.2.0.1.0 - Prod
ction
Start date August 2, 2010 20:21:51
Uptime 0 days 0 h 0 min 1 s
Draw level off
Security ON: OS Local Authentication
SNMP OFF
Listener parameter File C:\ora1\product\11.2.0\db2\network\admin\listener.ora
C:\ora1\diag\tnslsnr\friends-c0d8866\prod\alert\log.XM log listener
l
Summary of endpoints listening...
(DESCRIPTION = (ADDRESS = (PROTOCOL = tcp) (HOST = friends-c0d8866)(PORT=1521)) (CONNECT
DATA = (SERVER = dedicated) (SERVICENAME = prod)))
The listener supports no services
The command completed successfully
C:\Documents and Settings\Administrateur > tnsping prod
AMT Ping Utility for 32-bit Windows: Version 10.2.0.3.0 - Production 02-AUG-2
010 20:22
Copyright (c) 1997, 2006, Oracle. All rights reserved.
Use settings files:
AMT-03505: failed to resolve the name
C:\Documents and Settings\Administrateur > netca
Oracle Net Services Configuration:
The name of the net service PROD has been removed.
By default the local naming complete configuration.
Created the network service name: PROD
Configuring Oracle Net Services successfully. The exit code is 0
C:\Documents and Settings\Administrateur > tnsping prod
AMT Ping Utility for 32-bit Windows: Version 10.2.0.3.0 - Production 02-AUG-2
010 20:24:39
Copyright (c) 1997, 2006, Oracle. All rights reserved.
Use settings files:
AMT-03505: failed to resolve the name
C:\Documents and Settings\Administrator > lsntctl
'lsntctl' is not recognized as an internal or external command
operable program or batch file.
C:\Documents and Settings\Administrateur > lsnrctl
LSNRCTL for 32-bit Windows: Version 11.2.0.1.0 - Production on August 2, 2010 20:26
: 58
Copyright (c) 1991, 2010, Oracle. All rights reserved.
Welcome to LSNRCTL, enter 'help' for more information.
LSNRCTL > help
The following are available
An asterisk (*) indicates a modifier or an extended order:
start stop status
top-up version services
save_config trace change_password
Exit exit together *.
show *.
LSNRCTL > status
Connection to (DESCRIPTION = (ADDRESS = (PROTOCOL = IPC) (KEY = EXTPROC1521)))
AMT-12541: TNS:no listener
AMT-12560: TNS:protocol adapter error
AMT-00511: no listener
32-bit Windows error: 2: no such file or directory
Connection to (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP) (HOST = friends-c0d8866)(PORT=15)
21)))
STATUS of the LISTENER
------------------------
Alias prod
Version TNSLSNR for 32-bit Windows: Version 11.2.0.1.0 - Prod
ction
Start date August 2, 2010 20:21:51
Uptime 0 days 0 h 5 min 30 s
Draw level off
Security ON: OS Local Authentication
SNMP OFF
Listener parameter File C:\ora1\product\11.2.0\db2\network\admin\listener.ora
C:\ora1\diag\tnslsnr\friends-c0d8866\prod\alert\log.XM log listener
l
Summary of endpoints listening...
(DESCRIPTION = (ADDRESS = (PROTOCOL = tcp) (HOST = friends-c0d8866)(PORT=1521)) (CONNECT
DATA = (SERVER = dedicated) (SERVICENAME = prod)))
Summary of services...
"Prod" service has 1 instance (s).
Instance "prod", State LOAN, has 1 operation for this service...
Service 'prodXDB' has 1 instance (s).
Instance "prod", State LOAN, has 1 operation for this service...
The command completed successfully
LSNRCTL > output
C:\Documents and Settings\Administrateur > tnsping
AMT Ping Utility for 32-bit Windows: Version 10.2.0.3.0 - Production 02-AUG-2
010 20:27:41
Copyright (c) 1997, 2006, Oracle. All rights reserved.
AMT-03502: insufficient Arguments. Use: tnsping < address > [< number >]
C:\Documents and Settings\Administrateur > tnsping prod
AMT Ping Utility for 32-bit Windows: Version 10.2.0.3.0 - Production 02-AUG-2
010 20:27:48
Copyright (c) 1997, 2006, Oracle. All rights reserved.
Use settings files:
AMT-03505: failed to resolve the name
C:\Documents and Settings\Administrateur > EPS
'env' is not recognized as an internal or external command
operable program or batch file.
C:\Documents and Settings\Administrateur > set TNS_ADMIN = C:\ora1\product\11.2.0\db
2\network\admin
C:\Documents and Settings\Administrateur > tnsping prod
AMT Ping Utility for 32-bit Windows: Version 10.2.0.3.0 - Production 02-AUG-2
010 20:28:51
Copyright (c) 1997, 2006, Oracle. All rights reserved.
Use settings files:
AMT-03505: failed to resolve the name
C:\Documents and Settings\Administrateur > lsnrctl
LSNRCTL for 32-bit Windows: Version 11.2.0.1.0 - Production on August 2, 2010 20:31
: 27
Copyright (c) 1991, 2010, Oracle. All rights reserved.
Welcome to LSNRCTL, enter 'help' for more information.
LSNRCTL > reload
Connection to (DESCRIPTION = (ADDRESS = (PROTOCOL = IPC) (KEY = EXTPROC1521)))
AMT-12541: TNS:no listener
AMT-12560: TNS:protocol adapter error
AMT-00511: no listener
32-bit Windows error: 2: no such file or directory
Connection to (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP) (HOST = friends-c0d8866)(PORT=15)
21)))
The command completed successfully
LSNRCTL > trcroute
NL-00853: command not defined "trcroute. Try "help".
LSNRCTL > output
C:\Documents and Settings\Administrateur > sqlplus
SQL * more: version 11.2.0.1.0 Production on Lun 2 August 20:48:17 2010
Copyright (c) 1982, 2010, Oracle. All rights reserved.
Enter the user name: virtue sysdba
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
With partitioning, Oracle Label Security, OLAP, Data Mining,
Oracle Database Vault and Real Application Testing options
SQL > stop the demolition
ORACLE instance stops.
SQL > startup
ORACLE instance started.
Total System Global Area 318046208 bytes
Bytes of size 1374332 fixed
268437380 variable size bytes
Buffers data 41943040 bytes
Redo buffers 6291456 bytes
Mounted database.
Open database.
SQL > exit
Disconnected from the database to Oracle 11 g Enterprise Edition Release 11.2.0.1.0 - Pr
production
With partitioning, Oracle Label Security, OLAP, Data Mining,
Oracle Database Vault and Real Application Testing options
C:\Documents and Settings\Administrateur > tnsping prod
AMT Ping Utility for 32-bit Windows: Version 10.2.0.3.0 - Production 02-AUG-2
010 22:11:11
Copyright (c) 1997, 2006, Oracle. All rights reserved.
Use settings files:
AMT-03505: failed to resolve the name...
My lsnr conf is......................................
listener.ora # Network Configuration file: C:\ora1\product\11.2.0\db2\network\admin\listener.ora
# Generated by Oracle configuration tools.
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = CLRExtProc)
(ORACLE_HOME = C:\ora1\product\11.2.0\db2)
(= Extproc PROGRAM)
(ENVS = "EXTPROC_DLLS=ONLY:C:\ora1\product\11.2.0\db2\bin\oraclr11.dll")
)
)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC1521))
(ADDRESS = (PROTOCOL = TCP) (HOST = friends-c0d8866)(PORT = 1521))
)
)
Prod =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP) (HOST = friends-c0d8866)(PORT = 1521))
(CONNECT_DATA =
(SERVER = dedicated)
(SERVICE_NAME = prod)
)
)
.............................................................
TNSNAME.ora is...
tnsnames.ora # Network Configuration file: C:\ora1\product\11.2.0\db2\network\admin\tnsnames.ora
# Generated by Oracle configuration tools.
PROD =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP) (HOST = friends-c0d8866)(PORT = 1521))
)
(CONNECT_DATA =
(SERVICE_NAME = prod)
)
)
ORACLR_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC1521))
)
(CONNECT_DATA =
(SID = CLRExtProc)
(PRESENTATION = RO)
)
)
................................................................
sqlnet.ora................................
sqlnet.ora s # Network Configuration file: C:\ora1\product\11.2.0\db2\network\admin\sqlnet.ora
# Generated by Oracle configuration tools.
# This file is actually generated by netca. But if customers can opt for
# install 'Software Only', this file does not exist and without the native
authentication #, they will not be able to connect to the database on NT.
SQLNET. AUTHENTICATION_SERVICES = (NTS)
NAMES. DIRECTORY_PATH = (TNSNAMES, EZCONNECT)
...............................................................................
I've done a few tracks... but I can't solve the error...
Please let me know what parameters to change...
Kind regards
KKA bad configuration OS/networking & has NOTHING to do with Oracle
Any type of operating system virtualization is involved?
-
Hello
When I tnsping to oen of my tns entry, I got the error like that.
I found the files parameter used is ull. How to point to the file sqlnet.
edited by: Ramesh_R on April 22, 2010 01:23C:\Learnings\Local > test_db tnsping
AMT Ping Utility for 32-bit Windows: Version 10.1.0.5.0 - Production on 22-APR-2
010 10:17:34
Copyright (c) 1997, 2003, Oracle. All rights reserved.
Use settings files:
AMT-03505: failed to resolve the name
C:\Learnings\Local >Ramesh_R wrote:
I specified in the post the trace of any order.
When I run
sqlplus user/password@test_dbERROR:
ORA-12154: TNS: could not resolve the connect identifier specifiedYou have several customer oracle installed on your machine?
If Yes, then first set ORACLE_HOME and TNS_ADMIN correctly
Set TNS_ADMIN = $ORALCE_HOME\network\admin
then try again
Concerning
Rajesh -
automatic restart of instances failed with error TNS in DGMGRL
Hi all
We have configured 10 gr 2 dataguard broker in windows 2003 box. Standby and primary databases are in the same box. While we try to pass we get the error below.
I'm writing my entry Listener.oraDGMGRL> switchover to 'PRIM'; Performing switchover NOW, please wait... Operation requires shutdown of instance "stdby" on database "STDBY" Shutting down instance "stdby"... ORA-01109: database not open Database dismounted. ORACLE instance shut down. Operation requires shutdown of instance "prim" on database "PRIM" Shutting down instance "prim"... ORA-01109: database not open Database dismounted. ORACLE instance shut down. Operation requires startup of instance "stdby" on database "STDBY" Starting instance "stdby"... Unable to connect to database ORA-12514: TNS:listener does not currently know of service requested in connect descriptor Failed. You are no longer connected to ORACLE Please connect again. Unable to start instance "stdby" You must start instance "stdby" manually Operation requires startup of instance "prim" on database "PRIM" You must start instance "prim" manually Switchover succeeded, new primary is "PRIM"
How to solve the error ORA-12514. Please give your suggestion to solve this problem.SID_LIST_LISTENER = (SID_LIST = (SID_DESC = (SID_NAME = PLSExtProc) (ORACLE_HOME = F:\oracle\product\10.2.0\db_1) (PROGRAM = extproc) ) (SID_DESC = (GLOBAL_DBNAME = PRIM_DGMGRL.cts.com) (ORACLE_HOME = F:\oracle\product\10.2.0\db_1) (SID_NAME = PRIM) ) (SID_DESC = (GLOBAL_DBNAME = STDBY_DGMGRL.cts.com) (ORACLE_HOME = F:\oracle\product\10.2.0\db_1) (SID_NAME = STDBY) ) ) LISTENER = (DESCRIPTION_LIST = (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = ctsingmrsdacoe1.cts.com)(PORT = 1521)) ) (DESCRIPTION = (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0)) ) )
Thank you and best regards,
Delphine K_DGMGRL services are missing... Without them Data Guard Broker will not be able to start and stop instances of database.
--
Ronny Egner
My blog: http://blog.ronnyegner-consulting.de -
Error weird expdp - cannot lock file.
Hello.
I followed all the steps required to begin using expdp on a database.
0 - set to help sid name "." oraenv.
1. create user identified by dpuser dpuser;
2 - create or replace directory datapump AS ' / u02/expdp/dbname ";
3 grant permission, connect, dpuser resources;
4 grant read, write on directory datapump dpuser;
This is the content of the directory.
/ U02/expdp/dbname > ls - la
drwxrwxr-x 3 oracle dba 4096 Apr 22 14:14.
drwxrwxr-x 6 oracle dba 4096 22 Apr 09:12...
It is empty.
Then I tried to run the expdp for the whole base of this directory.
expdp dpuser/dpuser full = y DIRECTORY = datapump DUMPFILE = datapump:test.dmp logfile = datapump:test.log;
This is the error I got.
Export: Release 10.2.0.4.0 - 64 bit Production Wednesday, April 22, 2009 14:18:32
Copyright (c) 2003, 2007, Oracle. All rights reserved.
Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Production 64-bit
With partitioning, OLAP, Data Mining and Real Application Testing options
ORA-39001: invalid argument value
ORA-39000: bad dump file specification
ORA-31641: failed to create the dump file ' / u02/expdp/dbname/test.dmp '.
ORA-27086: impossible to the locking file - already in use
Linux-x86_64 error: 13: permission denied
Additional information: 9
Additional information: 13
And finally, this is the new directory.
/ U02/expdp/dbname > ls - la
drwxrwxr-x 3 oracle dba 4096 Apr 22 14:16.
drwxrwxr-x 6 oracle dba 4096 22 Apr 09:12...
-rw - rw - 1 oracle dba 4096 Apr 22 14:16 test.dmp
-rw-rw-r - 1 oracle dba 592 22 Apr 14:16 test.log
ARGGGGGGGHHHHH.!
Who uses the file? It was not any file it and I just created the files (test.dmp and test.log)
Oracle should be more descriptive with error messages: P
Thanks for any help you can provide me.
Alex.
Published by: attitude on April 22, 2009 17:36Is the destination directory (OS level) local or a NFS mount point?
Try to use a local mount point (try/TMP or/usr/tmp)? -
Error in expdp in oracle 11g R2
Hello
I use the Oracle 11 g R2 database. I tried the command for the full database export to export. The process starts well but ends with 1 error.
ORA-39181: only partial table data can be exported due to the control of access to grain on "OE". "" PURCHASEORDER ", so I have issued the command
SQL > grant POLICE TAX-FREE ACCESS OE; But even once, I got the same error. Someone help me.Have you checked if there is political EVP can be disabled?
checked the ORA-39181: only partial data table exported Due To Fine Grain control of access (Doc ID 422480.1)?
-
Hello
Oracle: 10.2.0.3.0
OS: Windows 7
I have two files of dump as
dump14.dmp > > DATA_ONLY
dump15.dmp > > METADATA_ONLY
C:\Users\abc > remap_schema system/xyz@TDBIMPDP = dumpfile scott: akk1 = dump15. DMP [error no. all import metadata only]
Import: Release 10.2.0.3.0 - Production on Tuesday, September 3, 2013, 0:43:27
Copyright (c) 2003, 2005, Oracle. All rights reserved.
Connected to: Oracle Database 10 g Enterprise Edition release 10.2.0.3.0 - Production
With partitioning, OLAP and Data Mining options
Main table 'SYSTEM '. "' SYS_IMPORT_FULL_01 ' properly load/unloaded
Start "SYSTEM". ' SYS_IMPORT_FULL_01 ': system/***@TDB remap_schema = dumpfile scott: akk1 = ".
dump15. DMP
Processing object type SCHEMA_EXPORT/USER
Processing object type SCHEMA_EXPORT/SYSTEM_GRANT
Processing object type SCHEMA_EXPORT/ROLE_GRANT
Processing object type SCHEMA_EXPORT/DEFAULT_ROLE
Processing object type SCHEMA_EXPORT/PRE_SCHEMA/PROCACT_SCHEMA
Object type SCHEMA_EXPORT/TABLE/TABLE processing
Processing object type SCHEMA_EXPORT/TABLE/INDEX/INDEX
Object type SCHEMA_EXPORT/TABLE/CONSTRAINT/treatment
Object type SCHEMA_EXPORT/TABLE/INDEX/STATISTICS/INDEX_STATISTICS of treatment
Object type SCHEMA_EXPORT/FUNCTION/treatment
Object type SCHEMA_EXPORT/PROCEDURE/treatment PROCEDURE
Object type SCHEMA_EXPORT/FUNCTION/ALTER_FUNCTION of treatment
ORA-39082: object ALTER_FUNCTION type: 'AKK1. "' PAUSE_FOR_SECS ' created with compilation warning
s
Object type SCHEMA_EXPORT/PROCEDURE/ALTER_PROCEDURE processing
Object type SCHEMA_EXPORT/TABLE/CONSTRAINT/REF_CONSTRAINT of treatment
Object type SCHEMA_EXPORT/TABLE/STATISTICS/TABLE_STATISTICS treatment
Work 'SYSTEM '. "" SYS_IMPORT_FULL_01 "completed with error (s 1) at 00:43:30
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
C:\Users\abc >IMPDP akk1/xyz@TDB dumpfile = dump14. DMP
Import: Release 10.2.0.3.0 - Production on Tuesday, September 3, 2013, 0:44:01
Copyright (c) 2003, 2005, Oracle. All rights reserved.
Connected to: Oracle Database 10 g Enterprise Edition release 10.2.0.3.0 - Production
With partitioning, OLAP and Data Mining options
Table main "AKK1. "' SYS_IMPORT_FULL_01 ' properly load/unloaded
Departure "AKK1. "' SYS_IMPORT_FULL_01 ': dumpfile akk1/***@TDB = dump14. DMP
Processing object type SCHEMA_EXPORT/TABLE/TABLE_DATA
ORA-31693: Table object data 'SCOTT '. "' DEPT ' could not load/unload and being ignored due to
error:
ORA-00001: unique constraint (SCOTT. PK_DEPT) violated
. . imported 'SCOTT '. "" SALGRADE "15 ranks 5,726 KB
ORA-31693: Table object data 'SCOTT '. "' EMP ' could not load/unload and being ignored due to e
rror:
ORA-00001: unique constraint (SCOTT. PK_EMP) violated
. . imported 'SCOTT '. "" SQL_TRACE_TEST "5,351 KB 5 rows
. . imported 'SCOTT '. "" BONUS "0Ko 0 rows
Work 'AKK1. "' SYS_IMPORT_FULL_01 ' completed by 2 error (s) at 00:44:03
Why I get unique constraint violation error.
-----------------------------------------------------------------------------------------------------------------------------------
But when I use
C:\Users\abc > remap_schema system/xyz@TDB = dumpfile scott IMPDP: akk1 = dump14. DMP
There is no error.
Hello
the fact that you connect to IMPDP AKK1 wants not to say that the import will be in the schema AKK1. Unless you remap the schema explicitly, importation is made as is, that is to say SCOTT. DEPT will go to the SCOTT schema.
Best regards
Nikolai
-
Hello friends,
I have problem my error of clone of application as follows
AMT-01151: lack listener name, APPS_TEST, listener. ORASalvation;
your question relates to EBS. "" For your question, I suggest farm your thread here that change the status of the thread to answered and move it to the Forums of Discussion Oracle "E-Business Suite ' Discussion General EBS EBS dedicated forum site
I'll try to help
Respect of
HELIOS -
Hi all
I create a portfolio of oracle and everything works fine until a script is launched by the OS oracle user. (same user that whoever created the store)
I use authentication external store and inside my script, I do something like a sqlplus / @MYSECURE_TNS.
However, when I run a script OS another user as a 'data_loading_user' I get the error: Oracle Database Vault ORA-12578 connection error: TNS:wallet open failed
I would like to know, how I can activate any user on the local host access the portfolio safe to connect to the database.
Here my current ENV:
==================
Oracle Linux 6.5
Oracle a Standard 11.2.0.4
Webtier Oracle 11g
Database and thin client SQLNET. ORA
=============================
SQLNET. WALLET_OVERRIDE = TRUE
SSL_CLIENT_AUTHENTICATION = FALSE
SSL_VERSION = 0
WALLET_LOCATION =
(SOURCE =
(METHOD = FILE)
(METHOD_DATA =
(DIRECTORY = / u01/app/oracle/owm/wallets)
)
)
Thanks in advance for any help.
JS
Hi all
Tried something out of the blue, that has worked.
I added the data_loading_user of the user to the group administrator (Group of BONES that created the wallet).
The I added the read permission to the group, so the permission on the files below were 640:
# > chmod 640 cwallet.sso
# > 640ewallet.p12 chmod
Thank you
JS
Maybe you are looking for
-
Uunable to open the windows media player.
I'm unable to open windows media player. I then downloaded windows media player 11 and I still can't open the drive. The fix it trouble shooter couldn't fix. Please advise as to how to get windows media player to open. OT: Media Player I have now
-
Error starting XP - can only start in safe mode
I have XP with Service Pack 3. When starting, I get the following message: ("We apologize for the inconvenience, but Windows did not start successfully" it gives then five options: 1) start windows normally. (2) safe mode; (3) safe mode with network
-
cancel the warning of low disk space
I can't get rid of the warning of the disk space is low. Have you tried the remedy of the HELP site.
-
Bluetooth application development
Hello, I need to develop an application that communicates with other devices Blackbery via bluetooth. I've done this before on other mobile phones on JSR82 and now I need to get the blackberry specific app. The questions are: Is it possible to send a
-
RSA key generation fails on JCARD 2.2.2
HelloI am a beginner in JCard programming (2 days of experience...) and I'm trying to deploy an application on an emulated map ARB who generates an RSA key pair and sends the public key via the client application of RMI, home somehow, when I run the