Error in send_command : ORA-29260: network error: TNS:lost contact
I have a package that I'm trying to use to perform FTP via UTL_TCP (9.2.0.1.4).
SQLERRM : ORA-29260: network error: TNS:lost contact
My connection logic works, but then login is getting this SQLCODE.
Any ideas?
Jason
put u r server ip address without leading zeros
like 172.16.1.12 in place of 172.016.001.012
Similar Messages
-
ORA-29260: network error: TNS:lost contact
Hello Gurus,
I am getting this error Very frequently, when i am trying to post a string of Values to a URL.
ORA-29260: network error: TNS:lost contact
Thank youput u r server ip address without leading zeros
like 172.16.1.12 in place of 172.016.001.012 -
Sign in as sysdba causes TNS lost contact, any hints?
Hello world,
after a struggly update of RDBMS to 10.2.0.4 I can't connect any more.
Trying / as sysdba fails , also does sys/syspasswd as sysdba.
The error returned from listener looks like:
12457 :TNS lost contact
Thus, it's not possible to run startup upgrade against the instances.
Any hints?
regards
Franz LangnerTwo different versions matched when then installer crashed based on a java conflict. It caused many problems to sqlplus, rman, emctl, job system and so on.
I've thought about relink per packet or relink all, but didn't want to risk more trouble.
For solution of the problem there was assistance by support. Created a new ORACLE_HOME 10.2.0.3, copied needed files (ORACLE_HOME/dbs, network files) from the old one to the new one, switched environment vars to the new matching positions.
After some tests against the database the damaged installation was removed using OUI from old ORACLE_HOME/oui/bin.
regards
Franz -
Error message "ORA-12547: TNS:lost contact" during dbca
Background info: I am building a new test 11.2.0.3 RAC cluster running on IBM pSeries hardware with AIX 6.1 OS level. I need to practice building a cluster and then adding a new node later. Because of limited hardware availability, my inital cluster will have 1 node and I will add the additional node later.
I installed Grid Infrastructure successfully. GI and ASM are online and appear to be working normally. Today I installed the 11.2.0.3 database software. I am now trying to create a test database using DBCA. After entering all of the database information (SID information, where db files should reside, memory sizing, etc.) the database creation begins, then immediately issues the error message "ORA-12547: TNS:lost contact".
I have searched MOS (Metalink) and also reviewed a few sites using Google. All of the information indicates this problem occurs most often when trying to log into an existing database using sqlplus. I haven't found anything related to this error message during database creation.
Does anyone have advice on how to troubleshoot where the problem is coming from? Can you point me to some documentation that would help with this issue?
Any and all help is appreciated. Thank you!Srini,
I was verifying that I understood your request. The last install log relates to the Oracle db software installation and was created by OUI. The DBCA utility has not created any actual install logs. DBCA issues the error less than 10 seconds after I choose the "Finish" button to begin the database creation process. I also reviewed 4 notes on MOS and unfortunately they do not seem to apply. The permissions settings appear correct on all directories for both the database software owner and the grid infrastructure owner as well.
Here are the last 200 lines from the OUI install log. Thank you again for all of your help!
$ tail -200 installActions2012-07-16_10-20-11AM.log
INFO: This variable s_caHelpPtBRJar is not added to the global context map
INFO: This variable s_caHelpKoJar is not added to the global context map
INFO: This variable s_caHelpJar is not added to the global context map
INFO: This variable s_caHelpJaJar is not added to the global context map
INFO: This variable s_caHelpItJar is not added to the global context map
INFO: This variable s_caHelpFrJar is not added to the global context map
INFO: This variable s_caHelpEsJar is not added to the global context map
INFO: This variable s_caHelpDeJar is not added to the global context map
INFO: This variable s_authAdaptors is not added to the global context map
INFO: This variable ps_netCA_Args_OverRide is not added to the global context map
INFO: This variable b_net8ServerInstalling is not added to the global context map
INFO: This variable b_javavmIsInstalling is not added to the global context map
INFO: This variable b_isWindows is not added to the global context map
INFO: This variable b_isUNIX is not added to the global context map
INFO: This variable b_cmanIsInstalling is not added to the global context map
INFO: This variable b_anoIsInstalling is not added to the global context map
INFO: This variable s_xmlparservLoc is not added to the global context map
INFO: This variable s_skipharegistrationFlag is not added to the global context map
INFO: This variable s_ouiJlibDir is not added to the global context map
INFO: This variable s_opsmJlib is not added to the global context map
INFO: This variable s_ntwkTools is not added to the global context map
INFO: This variable s_netjlibDir is not added to the global context map
INFO: This variable s_netcahelpLocation is not added to the global context map
INFO: This variable s_netcaJlibDir is not added to the global context map
INFO: This variable s_netcaDocDir is not added to the global context map
INFO: This variable s_netPropertiesFile is not added to the global context map
INFO: This variable s_netCA is not added to the global context map
INFO: This variable s_net8caFileToInstantiate is not added to the global context map
INFO: This variable s_jre15Location is not added to the global context map
INFO: This variable s_jlibDir is not added to the global context map
INFO: This variable s_inventoryPrereqOui is not added to the global context map
INFO: This variable s_emdwLibDir is not added to the global context map
INFO: This variable s_caHelpDir is not added to the global context map
INFO: This variable s_assistantJlibDir is not added to the global context map
INFO: This variable s_JavaFlag is not added to the global context map
INFO: This variable b_isOPS is not added to the global context map
INFO: This variable s_windowsCommandLine is not added to the global context map
INFO: This variable s_srcOracleHome is not added to the global context map
INFO: This variable s_net8caExecutable is not added to the global context map
INFO: This variable s_netcaUserDirArg is not added to the global context map
INFO: This variable s_installTypeForNetCA is not added to the global context map
INFO: This variable s_netcaSilentFlag is not added to the global context map
INFO: This variable s_netCAInstalledProducts is not added to the global context map
INFO: This variable s_netcaClasspath is not added to the global context map
INFO: This variable PROD_HOME is not added to the global context map
INFO: ORACLE_HOME is not settable, hence not setting the value
INFO: Handling the storing of variables for aggr name oracle.assistants.server
INFO: This variable s_operatingSystem is not added to the global context map
INFO: This variable s_jreLocation is not added to the global context map
INFO: This variable pn_dboffset is not added to the global context map
INFO: This variable cs_swingName is not added to the global context map
INFO: This variable cs_komodoName is not added to the global context map
INFO: This variable cs_kodiakName is not added to the global context map
INFO: This variable cs_jewtName is not added to the global context map
INFO: This variable cs_iceBrowserName is not added to the global context map
INFO: This variable cs_ewtcompatName is not added to the global context map
INFO: This variable cs_ewtName is not added to the global context map
INFO: This variable cs_baliShareName is not added to the global context map
INFO: This variable b_orabaseContainsOrahome is not added to the global context map
INFO: This variable b_isWINDOWS is not added to the global context map
INFO: This variable b_isUNIX is not added to the global context map
INFO: This variable sl_dbmaParameterListForIcon is not added to the global context map
INFO: This variable sl_dbcaParameterListForIcon is not added to the global context map
INFO: This variable s_xmlparservLoc is not added to the global context map
INFO: This variable s_skipHARegistrationFlag is not added to the global context map
INFO: This variable s_ouiJlibLocation is not added to the global context map
INFO: This variable s_oratabLocation is not added to the global context map
INFO: This variable s_opsmLocation is not added to the global context map
INFO: This variable s_dbuaLocation is not added to the global context map
INFO: This variable s_dbcaLocation is not added to the global context map
INFO: This variable s_OracleBinLocation is not added to the global context map
INFO: This variable s_dbcaInstLaunchFile is not added to the global context map
INFO: This variable s_dbcaLaunchFile is not added to the global context map
INFO: This variable s_dbmaLaunchFile is not added to the global context map
INFO: This variable s_dbmaInstLaunchFile is not added to the global context map
INFO: This variable PROD_HOME is not added to the global context map
INFO: ORACLE_HOME is not settable, hence not setting the value
INFO: Handling the storing of variables for aggr name oracle.sysman.console.db
INFO: This variable s_sid is not added to the global context map
INFO: This variable s_serverInstallType is not added to the global context map
INFO: This variable s_platform is not added to the global context map
INFO: HashMap added with the key oracle.sysman.console.db and an empty variable Vector
INFO: Adding the variable s_obfOc4jAdmPasswd to the aggregate oracle.sysman.console.db
INFO: Adding the variable s_obfOc4jAdmPasswd to the global context map for the aggregate oracle.sysman.console.db
INFO: Adding the variable s_obfJtaAdmPasswd to the aggregate oracle.sysman.console.db
INFO: Adding the variable s_obfJtaAdmPasswd to the global context map for the aggregate oracle.sysman.console.db
INFO: This variable s_nlsLang is not added to the global context map
INFO: This variable s_emailServer is not added to the global context map
INFO: This variable s_emailAddress is not added to the global context map
INFO: This variable s_cfgtyperet is not added to the global context map
INFO: Adding the variable s_JtaAdmPasswd to the aggregate oracle.sysman.console.db
INFO: Adding the variable s_JtaAdmPasswd to the global context map for the aggregate oracle.sysman.console.db
INFO: This variable n_uploadInterval is not added to the global context map
INFO: This variable localhost is not added to the global context map
INFO: This variable b_launchTools is not added to the global context map
INFO: This variable b_launchBrowser is not added to the global context map
INFO: This variable b_isUNIX is not added to the global context map
INFO: This variable b_centralConsole is not added to the global context map
INFO: This variable USE_HTTP_PROXY is not added to the global context map
INFO: This variable USE_DB_CONSOLE is not added to the global context map
INFO: This variable SET_CONSOLE_MODE is not added to the global context map
INFO: This variable SA_SETUP is not added to the global context map
INFO: This variable OC4JLOC is not added to the global context map
INFO: This variable NO_PC_MODE is not added to the global context map
INFO: This variable LOGGING_LEVEL is not added to the global context map
INFO: This variable JRE_HOME is not added to the global context map
INFO: This variable ISQLPLUS_PROTOCOL is not added to the global context map
INFO: This variable ISQLPLUS_PORT is not added to the global context map
INFO: This variable HOST_SID_OFFSET_ENABLED is not added to the global context map
INFO: This variable HOSTNAME is not added to the global context map
INFO: This variable EM_UPLOAD_DISABLE is not added to the global context map
INFO: This variable EM_UIX_DEBUG_FLAG is not added to the global context map
INFO: This variable EMPRODVER is not added to the global context map
INFO: This variable CONSOLE_MODE is not added to the global context map
INFO: This variable CONSOLE_CFG is not added to the global context map
INFO: This variable sl_oraclehomes is not added to the global context map
INFO: This variable s_oc4jDir is not added to the global context map
INFO: This variable s_oc4jAppsDir is not added to the global context map
INFO: This variable s_jreHome is not added to the global context map
INFO: This variable s_configcommand is not added to the global context map
INFO: This variable b_isRAC is not added to the global context map
INFO: This variable b_UNIX is not added to the global context map
INFO: This variable OJSP_JAR_LOC is not added to the global context map
INFO: This variable OJSPUTIL_JAR_LOC is not added to the global context map
INFO: This variable LDAP_JAR_LOC is not added to the global context map
INFO: This variable JAVA_HOME is not added to the global context map
INFO: This variable ISQLPLUS_HOST is not added to the global context map
INFO: This variable EM_UIX_LOCATION is not added to the global context map
INFO: This variable EM_REPOS_HOST is not added to the global context map
INFO: This variable EM_PING_COMMAND is not added to the global context map
INFO: This variable EM_OC4J_HOME is not added to the global context map
INFO: This variable EM_EAR_LOC is not added to the global context map
INFO: This variable EMDROOT is not added to the global context map
INFO: Adding the variable s_oc4jAdmPasswd to the aggregate oracle.sysman.console.db
INFO: Adding the variable s_oc4jAdmPasswd to the global context map for the aggregate oracle.sysman.console.db
INFO: This variable s_launchBrowserClasspath is not added to the global context map
INFO: This variable s_javapOracleHome is not added to the global context map
INFO: This variable PROD_HOME is not added to the global context map
INFO: {Parameter:TOPLEVEL_COMPONENT in {Aggregate:OuiConfigVariables:1.0.0.0.0:common}}: Parameter data type is not compatible with the provided String Array.
INFO: passing params to cf done
INFO: done saving info by cf
INFO: This is a shared oracle home or remote nodes are null. No copy required.
INFO: Checkpoint:Failed Checkpoint found returning it for getAllFailedCheckPoints.
INFO: Checkpoint:Failed Checkpoint found returning null for getLastFailedCheckPoint.
INFO: Checkpoint:Index file written and updated
INFO: Checkpoint:Transfer of file done from remote node
INFO: Adding iterator oracle.sysman.oii.oiif.oiifw.OiifwRootShWCDE
INFO: Updating the global context
INFO: Path To 'globalcontext.xml' = /u01/app/oracle/cmdseries/11.2.0/install/chainedInstall/globalcontext
INFO: Since operation was successful, move the current OiicAPISessionDetails to installed list
INFO: Number of scripts to be executed as root user = 1
INFO: isSuccessfullInstallation: true
INFO: isSuccessfullRemoteInstallation: true
INFO: Adding ExitStatus SUCCESS to the exit status set
INFO: Completed setting up InstallDB
INFO: Number of scripts to be executed as root user = 1
INFO: User accepted to run root scripts
INFO: Shutting down OUISetupDriver.JobExecutorThread
INFO: Cleaning up, please wait...
INFO: Dispose the install area control object
INFO: Update the state machine to STATE_CLEAN
INFO: Setup completed with overall status as Succeeded
INFO: All forked task are completed at state setup
INFO: Completed background operations
INFO: Moved to state <setup>
INFO: Waiting for completion of background operations
INFO: Completed background operations
INFO: Validating view at state <setup>
INFO: Completed validating view at state <setup>
INFO: Validating state <setup>
INFO: Completed validating state <setup>
INFO: Verifying route success
INFO: Get view named [FinishUI]
INFO: View for [FinishUI] is oracle.install.ivw.db.view.FinishUI@6f286f28
INFO: Initializing view <FinishUI> at state <finish>
INFO: Completed initializing view <FinishUI> at state <finish>
INFO: Displaying view <FinishUI> at state <finish>
INFO: Completed displaying view <FinishUI> at state <finish>
INFO: Loading view <FinishUI> at state <finish>
INFO: Install Succeeded: true
INFO: Config Tool Succeeded: true
INFO: Remote Install Succeeded: true
INFO: Completed loading view <FinishUI> at state <finish>
INFO: Localizing view <FinishUI> at state <finish>
INFO: Completed localizing view <FinishUI> at state <finish>
INFO: Waiting for completion of background operations
INFO: Completed background operations
INFO: Executing action at state finish
INFO: FinishAction Actions.execute called
INFO: Completed executing action at state <finish>
INFO: Waiting for completion of background operations
INFO: Completed background operations
INFO: Moved to state <finish>
INFO: Adding ExitStatus SUCCESS_WITH_WARNINGS to the exit status set
INFO: Finding the most appropriate exit status for the current application
INFO: Exit Status is 6
INFO: List of warnings encountered in this Application:
INFO: PREREQS_FAILED_WITH_WARNING
INFO: Shutdown Oracle Database 11g Release 2 Installer
INFO: Unloading Setup Driver
$ -
ERROR: ORA-12547: TNS:lost contact :- how do i debug this error
Hi all,
we have three 9i databases here( 3 server machines ). in my system i installed 10 g client and modified the tnsnames.ora to connect to these databases thru sqlplus. Now able to connect two of the databases but for the third one
when i try to connect it gives error
ERROR: ORA-12547: TNS:lost contact :- how do i debug this error
please guide me how to solve this error.
i checked the sid , service name etc. seems to be ok. ( Also compared with other two databases )
regards raviyou can turn on net tracing by setting the following sqlnet.ora parameters:
TRACE_DIRECTORY_CLIENT = c:\temp
TRACE_UNIQUE_CLIENT = on
trace_level_client = admin
then review trace files or send them to oracle support to see the cause of this error -
ORA-12547: TNS:lost contact - error while installing db 10gr2 (10202)
Hi
i am trying to install Oracle 10gr2 in IBM Zlinux environment. I am getting the following error, while installing the database. This error was thrown
as pop up while passing database config. step.
ORACLE_HOME, LD_LOAD_LIBRARY, ORACLE_SID are set properly.
I have also tried re-linking all libraries, it did not work.
I appreciate earliest help.
------------------ERROR Message
ORA-12547: TNS:lost contact
-------------------Linux version and architecture
Linux rkbxxx.us.oracle.com 2.6.18-128.el5 #1 SMP Wed Dec 17 11:45:02 EST 2008 s390x s390x s390x GNU/Linux
--------------------Linux
Red Hat Enterprise Linux Server release 5.3 (Tikanga)
krishna[aime@strkb14 10gr2]$ ping strkb14.us.oracle.com
PING strkb14.us.oracle.com (130.35.40.62) 56(84) bytes of data.
64 bytes from strkb14.us.oracle.com (130.35.40.62): icmp_seq=1 ttl=64 time=0.028 ms
64 bytes from strkb14.us.oracle.com (130.35.40.62): icmp_seq=2 ttl=64 time=0.056 ms
64 bytes from strkb14.us.oracle.com (130.35.40.62): icmp_seq=3 ttl=64 time=0.057 ms
64 bytes from strkb14.us.oracle.com (130.35.40.62): icmp_seq=4 ttl=64 time=0.064 ms
64 bytes from strkb14.us.oracle.com (130.35.40.62): icmp_seq=5 ttl=64 time=0.074 ms
64 bytes from strkb14.us.oracle.com (130.35.40.62): icmp_seq=6 ttl=64 time=0.067 ms
64 bytes from strkb14.us.oracle.com (130.35.40.62): icmp_seq=7 ttl=64 time=0.071 ms
64 bytes from strkb14.us.oracle.com (130.35.40.62): icmp_seq=8 ttl=64 time=0.069 ms
64 bytes from strkb14.us.oracle.com (130.35.40.62): icmp_seq=9 ttl=64 time=0.068 ms
64 bytes from strkb14.us.oracle.com (130.35.40.62): icmp_seq=10 ttl=64 time=0.069 ms
64 bytes from strkb14.us.oracle.com (130.35.40.62): icmp_seq=11 ttl=64 time=0.069 ms
64 bytes from strkb14.us.oracle.com (130.35.40.62): icmp_seq=12 ttl=64 time=0.068 m -
Srvctl start database -d dbname error tns lost contact
hi,
i am facing error while starting the databse by using srvctl in single node database.
srvctl status database -d <dbname> is working fine and it is giving output. i am able to start the database manually too.
srvctl start database -d <dbname>
PRCR-1133 : Failed to stop database <dbname> and its running services
PRCR-1132 : Failed to stop resources using a filter
ORA-12547: TNS:lost contact
any advice.
regards
Suresh J
Edited by: user11982371 on Apr 20, 2012 6:53 AMmay i know what you have done before....srvctl start...etc...
do you have done any changes?
post your oracle version and OS....
please find below notes from metalink..it may helpful to you....
This could be many things but a popular issue is when you have a separate ASM Home and the listener is running out of this home (it was the first home installed). Srvctl needs a TNS_ADMIN alias to the network/admin directory in this home instead of using the default ORACLE_HOME/network/admin for the database you are trying to start. For srvctl to work you must
srvctl setenv nodeapps -n node -T TNS_ADMIN=full path
on each node in the cluster.
You cannot rely on a TNS_ADMIN environment variable.
See Note 420977.1
Another cause is non-existent spfile, see Note 732683.1
source support.oracle.com
Edited by: dbc001 on Mar 23, 2013 10:55 AM -
Linux Error: 104: Connection reset by peer TNS-12547: TNS:lost contact
My system seems to be hanged , so I restarted my RHEL 4 linux with ORACLE 10.2.0.4.
but i can't able to start the listener.
please help me out.
[oracle@localhost log]$ lsnrctl start LISTENER_LIMCAMP
LSNRCTL for Linux: Version 10.2.0.4.0 - Production on 26-AUG-2010 09:02:09
Copyright (c) 1991, 2007, Oracle. All rights reserved.
Starting /ora10gsoft/oracle/product/10.2.0/db_1/bin/tnslsnr: please wait...
TNSLSNR for Linux: Version 10.2.0.4.0 - Production
System parameter file is /ora10gsoft/oracle/product/10.2.0/db_1/network/admin/listener.ora
Log messages written to /ora10gsoft/oracle/product/10.2.0/db_1/network/log/listener_limcamp.log
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost.localdomain)(PORT=1521)))
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost.localdomain)(PORT=1521)))
TNS-12547: TNS:lost contact
TNS-12560: TNS:protocol adapter error
TNS-00517: Lost contact
Linux Error: 104: Connection reset by peer[oracle@localhost admin]$ cat listener.ora
# listener.ora Network Configuration File: /ora10gsoft/oracle/product/10.2.0/db_1/network/admin/listener.ora
# Generated by Oracle configuration tools.
LISTENER_LIMCAMP =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.106.72)(PORT = 1521))
CLONE =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.106.72)(PORT = 1523))
PROD1 =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.106.72)(PORT = 1522))
SID_LIST_CLONE =
(SID_LIST =
(SID_DESC =
(ORACLE_HOME = /ora10gsoft/oracle/product/10.2.0/db_1)
(SID_NAME = CLONE)
SID_LIST_PROD1 =
(SID_LIST =
(SID_DESC =
(ORACLE_HOME = /ora10gsoft/oracle/product/10.2.0/db_1)
(SID_NAME = PROD1)
SID_LIST_LISTENER_LIMCAMP =
(SID_LIST =
(SID_DESC =
(ORACLE_HOME = /ora10gsoft/oracle/product/10.2.0/db_1)
(SID_NAME = LIMCAMP)
[oracle@localhost admin]$ cat tnsnames.ora
# tnsnames.ora Network Configuration File: /ora10gsoft/oracle/product/10.2.0/db_1/network/admin/tnsnames.ora
# Generated by Oracle configuration tools.
DEV =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.106.72)(PORT = 1523))
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.106.72)(PORT = 1522))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = dev)
LIMCAMP =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.106.72)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = LIMCAMP)
# tnsnames.ora Network Confi72uration File: /ora1072soft/oracle/product/10.2.0/db_1/network/admin/tnsnames.ora
LISTENER_DEV =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.106.72)(PORT = 1523))
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.106.72)(PORT = 1522))
LIMCADEV =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.106.72)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = LIMCADEV)
LIMCASP =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.119.221)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = LIMCASP)
TOCLONE =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.106.72)(PORT = 1523))
(CONNECT_DATA =
(SERVICE_NAME = CLONE)
TOPROD1 =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.106.72)(PORT = 1522))
(CONNECT_DATA =
(SERVICE_NAME = PROD1)
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
[oracle@localhost admin]$ lsnrctl start
LSNRCTL for Linux: Version 10.2.0.4.0 - Production on 26-AUG-2010 13:07:55
Copyright (c) 1991, 2007, Oracle. All rights reserved.
Starting /ora10gsoft/oracle/product/10.2.0/db_1/bin/tnslsnr: please wait...
TNSLSNR for Linux: Version 10.2.0.4.0 - Production
System parameter file is /ora10gsoft/oracle/product/10.2.0/db_1/network/admin/listener.ora
Log messages written to /ora10gsoft/oracle/product/10.2.0/db_1/network/log/listener.log
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost.localdomain)(PORT=1521)))
Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
TNS-12547: TNS:lost contact
TNS-12560: TNS:protocol adapter error
TNS-00517: Lost contact
Linux Error: 104: Connection reset by peer
[oracle@localhost admin]$ lsnrctl services
LSNRCTL for Linux: Version 10.2.0.4.0 - Production on 26-AUG-2010 13:08:02
Copyright (c) 1991, 2007, Oracle. All rights reserved.
Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
TNS-12541: TNS:no listener
TNS-12560: TNS:protocol adapter error
TNS-00511: No listener
Linux Error: 111: Connection refused
[oracle@localhost admin]$ lsnrctl start LISTENER_LIMCAMP
LSNRCTL for Linux: Version 10.2.0.4.0 - Production on 26-AUG-2010 13:08:13
Copyright (c) 1991, 2007, Oracle. All rights reserved.
Starting /ora10gsoft/oracle/product/10.2.0/db_1/bin/tnslsnr: please wait...
TNSLSNR for Linux: Version 10.2.0.4.0 - Production
System parameter file is /ora10gsoft/oracle/product/10.2.0/db_1/network/admin/listener.ora
Log messages written to /ora10gsoft/oracle/product/10.2.0/db_1/network/log/listener_limcamp.log
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=192.168.106.72)(PORT=1521)))
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.106.72)(PORT=1521)))
TNS-12547: TNS:lost contact
TNS-12560: TNS:protocol adapter error
TNS-00517: Lost contact
Linux Error: 104: Connection reset by peer
[oracle@localhost log]$ tail -100 listener.log
TNSLSNR for Linux: Version 10.2.0.4.0 - Production on 26-AUG-2010 13:00:22
Copyright (c) 1991, 2007, Oracle. All rights reserved.
System parameter file is /ora10gsoft/oracle/product/10.2.0/db_1/network/admin/listener.ora
Log messages written to /ora10gsoft/oracle/product/10.2.0/db_1/network/log/listener.log
Trace information written to /ora10gsoft/oracle/product/10.2.0/db_1/network/trace/listener.trc
Trace level is currently 0
Started with pid=6230
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost.localdomain)(PORT=1522)))
Listener completed notification to CRS on start
TIMESTAMP * CONNECT DATA [* PROTOCOL INFO] * EVENT [* SID] * RETURN CODE
TNSLSNR for Linux: Version 10.2.0.4.0 - Production on 26-AUG-2010 13:02:15
Copyright (c) 1991, 2007, Oracle. All rights reserved.
System parameter file is /ora10gsoft/oracle/product/10.2.0/db_1/network/admin/listener.ora
Log messages written to /ora10gsoft/oracle/product/10.2.0/db_1/network/log/listener.log
Trace information written to /ora10gsoft/oracle/product/10.2.0/db_1/network/trace/listener.trc
Trace level is currently 0
Started with pid=6295
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost.localdomain)(PORT=1521)))
Listener completed notification to CRS on start
TIMESTAMP * CONNECT DATA [* PROTOCOL INFO] * EVENT [* SID] * RETURN CODE
TNSLSNR for Linux: Version 10.2.0.4.0 - Production on 26-AUG-2010 13:07:55
Copyright (c) 1991, 2007, Oracle. All rights reserved.
System parameter file is /ora10gsoft/oracle/product/10.2.0/db_1/network/admin/listener.ora
Log messages written to /ora10gsoft/oracle/product/10.2.0/db_1/network/log/listener.log
Trace information written to /ora10gsoft/oracle/product/10.2.0/db_1/network/trace/listener.trc
Trace level is currently 0
Started with pid=6429
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost.localdomain)(PORT=1521)))
Listener completed notification to CRS on start
TIMESTAMP * CONNECT DATA [* PROTOCOL INFO] * EVENT [* SID] * RETURN CODE
[oracle@localhost log]$ pwd
/ora10gsoft/oracle/product/10.2.0/db_1/network/log
Please find the above inputs.
Regards,
Sakthivel -
TNS: lost contact error consuming https web services
Hi,
I'm trying this piece of pl/sql code and I'm getting TNS: lost contact error while trying to retrieve soap response. What could be wrong? I'm using oracle 10.2.0.1.0 database. Thanks in advance.
declare
envio varchar2(32767);
peticion UTL_HTTP.req;
respuesta UTL_HTTP.resp;
cadena varchar2(32767);
begin
envio := 'xxx'; -- soap request
Utl_Http.Set_Response_Error_Check ( enable => true );
Utl_Http.Set_Detailed_Excp_Support ( enable => true );
utl_http.set_wallet('file:/oracle/wallets','xxx');
peticion := UTL_HTTP.begin_request ('https://xxx','POST','HTTP/1.1');
UTL_HTTP.set_header(peticion, 'Content-Type', 'text/xml');
UTL_HTTP.set_header(peticion, 'Content-Length', LENGTH(envio));
UTL_HTTP.set_header(peticion, 'SOAPAction','');
UTL_HTTP.write_text(peticion,envio);
respuesta := UTL_HTTP.get_response(peticion);
UTL_HTTP.read_text(respuesta, envio);
UTL_HTTP.end_response(respuesta);
dbms_output.put_line(envio);
exception
when Utl_Http.Request_Failed then
Dbms_Output.Put_Line ( 'Request_Failed: ' || Utl_Http.Get_Detailed_Sqlerrm );
when Utl_Http.Http_Server_Error then
Dbms_Output.Put_Line ( 'Http_Server_Error: ' || Utl_Http.Get_Detailed_Sqlerrm );
when Utl_Http.Http_Client_Error then
Dbms_Output.Put_Line ( 'Http_Client_Error: ' || Utl_Http.Get_Detailed_Sqlerrm );
when others then
Dbms_Output.Put_Line ('Otros: ' || SQLERRM);
end;The problem is a database bug:
Bug 5575771 UTL_HTTP cannot handle https connections without a content-length
If UTL_HTTP is used to retrieve an HTTPS response with no content-length, it
throws an ORA-12547 on the final read (if the final read is shorter than the
buffer supplied).
Workaround:
Include a Content-Length section on all responses.
(This may not be possible since some responses may not
be under your control)
Message was edited by:
[email protected] -
Hi,
I tried to install Oracle 10.2.0.1 on a RedHat 4 box. Both, Oracle and RedHat are 64 bit versions. The installation was fine but the database creation (with dbca) could not create the database because of this error: ORA-12547: TNS:lost contact
I can not find any errors in the installation log. Only this warnings in the make.log:
/usr/bin/ld: warning: i386 architecture of input file `/opt/oracle/oracle/product/10.2.0/db_1/sysman/lib/snmccolm.o' is incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `/opt/oracle/oracle/product/10.2.0/db_1/sysman/lib/libnmccol.a(nmccole.o)' is incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `/opt/oracle/oracle/product/10.2.0/db_1/sysman/lib/libnmcbuf.a(nmcbuft.o)' is incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `/opt/oracle/oracle/product/10.2.0/db_1/sysman/lib/libnmcbuf.a(nmcbufw.o)' is incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `/opt/oracle/oracle/product/10.2.0/db_1/sysman/lib/libnmcbuf.a(nmcbufu.o)' is incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `/opt/oracle/oracle/product/10.2.0/db_1/sysman/lib/libnmcbuf.a(snmcbufm.o)' is incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `/opt/oracle/oracle/product/10.2.0/db_1/sysman/lib/libnmcbuf.a(nmcbuff.o)' is incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `/opt/oracle/oracle/product/10.2.0/db_1/sysman/lib//libnmadbg.a(nmadbg.o)' is incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `/opt/oracle/oracle/product/10.2.0/db_1/sysman/lib//libnmadbg.a(snmadbg.o)' is incompatible with i386:x86-64 output
mv -f /opt/oracle/oracle/product/10.2.0/db_1/bin/nmccollector /opt/oracle/oracle/product/10.2.0/db_1/bin/nmccollector0
mv /opt/oracle/oracle/product/10.2.0/db_1/sysman/lib/nmccollector /opt/oracle/oracle/product/10.2.0/db_1/bin/
Has anyone an idea? Or a hint how to encircle the problem?
Best regards,
DirkIf you execute "uname -mpi" and output value is x86_64 then you didn't install all required packages.
/usr/bin/ld: warning: i386 architecture of input file `/opt/oracle/oracle/product/10.2.0/db_1/sysman/lib/snmccolm.o' is incompatible with i386:x86-64 outputAccording to this message you are missing some 64bit package.
To find the missing package execute following command to list installed packages and post the output:
rpm -qa --qf '%{name}-%{version}-%{release}.%{arch}\n'|egrep 'compat|glibc|gcc|libstdc'|sortMessage was edited by:
Ivan Kartik
Too late... :-( -
ORA-12547 tns lost contact while creating 11gr2 database using dbca
Hi All,
I am installing oracle 11gr2 rac on centos 4. Grid infrastrucure and oracle home is successfully installed.
When i try to create database using dbca during that time i am getting an error that PRCR-1079: Failed to start resource ora.racdb.db
ORA-12547: TNS lost contact.
when i check the database on node 1, Its running fine.
However its giving me an error on the second node.
on Node 1
[oracle@rac1 dbs]$ sqlplus "/as sysdba"
SQL*Plus: Release 11.2.0.1.0 Production on Sun Aug 28 19:31:55 2011
Copyright (c) 1982, 2009, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
With the Partitioning, Real Application Clusters, Automatic Storage Management, OLAP,
Data Mining and Real Application Testing options
SQL> select instance_name , host_name from v$instance;
INSTANCE_NAME
HOST_NAME
racdb1
rac1.oracle.com
on node 2:
[oracle@rac2 ~]$ sqlplus "/as sysdba"
SQL*Plus: Release 11.2.0.1.0 Production on Sun Aug 28 19:33:05 2011
Copyright (c) 1982, 2009, Oracle. All rights reserved.
ERROR:
ORA-12547: TNS:lost contact
Enter user-name:
I tried to installed to many a time but no luck.
Please help me on this.
Your assistance in this regards is much appreciated.
Thanks in advance.Do you have a support.oracle.com User Account?
If yes search there for TNS-12547 and you will get a huge list of possible root causes.
Just to name a few (which you can check - also compare with your first node):
Permission oracle executable
Kernel Parameter
Environment variables
etc.etc.
Regards
Sebastian -
DBCA Producing ORA 12547 TNS lost contact when I try to create a database
Hi all!
I just installed Oracle 11GR2 (only software not creating a database) on Oracle Linux 6.4 64 Bit via Oracle VM VirtualBox. I created a new Listener to create a database. It looks working. But when I try to create a new database with dcba; I had an ORA-12547 TNS lost contact after I had specified all options for creating the database. I'm too new to get what's going on here. Already, the Oracle Software has occured a few errors while the installation. But the software has been installed successfully at the end. Maybe I went wrong from the beginning. What should I do about managing that ORA error? Can anybody suggest me something?
Btw I have installed the all installations with information on this link: ORACLE-BASE - Oracle Database 11g Release 2 (11.2) Installation On Oracle Linux 6
If we consider that I did nothing after those installation, what should the next step be to create a database successfully?Hi all!
I just installed Oracle 11GR2 (only software not creating a database) on Oracle Linux 6.4 64 Bit via Oracle VM VirtualBox. I created a new Listener to create a database. It looks working. But when I try to create a new database with dcba; I had an ORA-12547 TNS lost contact after I had specified all options for creating the database. I'm too new to get what's going on here. Already, the Oracle Software has occured a few errors while the installation. But the software has been installed successfully at the end. Maybe I went wrong from the beginning. What should I do about managing that ORA error? Can anybody suggest me something?
Btw I have installed the all installations with information on this link: ORACLE-BASE - Oracle Database 11g Release 2 (11.2) Installation On Oracle Linux 6
If we consider that I did nothing after those installation, what should the next step be to create a database successfully? -
ORA-12547: TNS:lost contact Linux with different unix userids
Hi all,
I have installed Oracle under the linux username oracle. I can connect to the database as system user sqlplus. When I log on to a different username, I get the TNS: lost contact error.
I made sure that the new username is in the dba group and the entire /home/oracle directory structure allows access to the dba group.
What else do I need to do to allow other linux usernames besides oracle to connect to the database?
Thanks,[satin@ddschwitrh4 ~]$ diff /tmp/satin.env /tmp/oracle.env
_=/bin/env
COLORTERM=gnome-terminal
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-P4ptdaASXQ
DESKTOP_SESSION=default
DESKTOP_STARTUP_ID=
GDMSESSION=default
GNOME_DESKTOP_SESSION_ID=Default
GNOME_KEYRING_SOCKET=/tmp/keyring-tPzxmx/socket
GTK_RC_FILES=/etc/gtk/gtkrc:/home/satin/.gtkrc-1.2-gnome2
HOME=/root
HOME=/home/oracle
LD_LIBRARY_PATH=/home/oracle/app/oracle/product/11.2.0/dbhome_1/lib
LOGNAME=satin
LOGNAME=oracle
MAIL=/var/spool/mail/satin
NWISDB=ORACLE
OLDPWD=/home/satin/oracledecodes
MAIL=/var/spool/mail/oracle
NWISDB=NWISDD
OLDPWD=/home/oracle/oracledecodes35,36c29,31
< PATH=/usr/java/latest/bin:/usr/kerberos/sbin:/usr/java/latest/bin:/usr/ant/bin:/usr/opt/DECODES/bin:/usr/java/latest/bin:/usr/ant/bin:/usr/opt/DECODES/bin:/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/satin/bin:/home/oracle/app/oracle/product/11.2.0/dbhome_1/bin
< PWD=/root
ORACLE_TERM=xterm
PATH=/usr/java/latest/bin:/usr/ant/bin:/usr/opt/DECODES/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/home/oracle/bin:/home/oracle/app/oracle/product/11.2.0/dbhome_1/bin
PWD=/home/oracle38d32
< SESSION_MANAGER=local/ddschwitrh4.er.usgs.gov:/tmp/.ICE-unix/5636
40,41c34
< SHLVL=3
< SSH_AGENT_PID=5666
SHLVL=143d35
< SSH_AUTH_SOCK=/tmp/ssh-hIEyPP5636/agent.5636
45,48c37,38
< USER=satin
< _=/usr/bin/env
< WINDOWID=18874447
< XAUTHORITY=/root/.xauthdeWnqQ
USER=oracle
XAUTHORITY=/home/oracle/.xauthiGYDCi[satin@ddschwitrh4 ~]$ uname -a
Linux ddschwitrh4.er.xxxx.gov 2.6.9-89.0.26.ELsmp #1 SMP Sun May 30 09:31:52 EDT 2010 i686 i686 i386 GNU/Linux
[satin@ddschwitrh4 ~]$ cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
130.xx.xxx.41 ddschwitrh4.er.xxxx.gov dschwitrh4.er.xxxx.gov ddschwitrh4
[oracle@ddschwitrh4 ~]$ id
uid=510(oracle) gid=512(oracle) groups=502(nwuser),510(nwdba),512(oracle)
[satin@ddschwitrh4 ~]$ id
uid=502(satin) gid=503(satin) groups=502(nwuser),503(satin),512(oracle),513(dba)
Regards. -
Hi
We are using Oracle 8.1.6 under HP Unix 11i.
When we execute the svrmgr command in HP-UX, it give us the followings error.
$SVRMGR
Oracle Server Manager Release 3.1.6.0.0 - Production
Copyright (c) 1997, 1999, Oracle Corporation. All Rights Reserved.
ORA-12547: TNS:lost contact
SVRMGR>
If anyone knows how to solve it, please help us . Now we are not able to start and shutdown the database.
regards
SanthoshSanthosh,
Is this a new install on this server or has it been working and only now having this issue? I had this same problem on HPUX 11 if the ORACLE_SID wasn't exported in the environment before starting svrmgrl. What happens when you try to connect? Did you try using sqlplus and connecting as sysdba?
Regards.
Robert.
Hi
We are using Oracle 8.1.6 under HP Unix 11i.
When we execute the svrmgr command in HP-UX, it give us the followings error.
$SVRMGR
Oracle Server Manager Release 3.1.6.0.0 - Production
Copyright (c) 1997, 1999, Oracle Corporation. All Rights Reserved.
ORA-12547: TNS:lost contact
SVRMGR>
If anyone knows how to solve it, please help us . Now we are not able to start and shutdown the database.
regards
Santhosh -
ORA-12547: TNS:lost contact
Everything I've searched hasn't helped, so I thought I'd bounce this off the collected masses.
I have a user defined as bob in Solaris 10. The Oracle 10 login for bob is bobblehead. If, as the oracle user, I do sqlplus bobblehead@db_sid, then enter the the password it works. However, if I su - to bob, then do sqlplus bobblehead@db_sid, I get the TNS:lost contact error. Because I can connect as the oracle user, I'm thinking the tnsnames file is correct as is the listener and sqlnet files.
Any ideas why the user bob cannot connect? I've checked his SID and PATH and both are correct.of course,
this is the output
svilgisp1> /gispunico/usr/unico # ssh 0 ldd /oracleunico/app/product/11.2.0/bin/oracle
The authenticity of host '0 (0.0.0.0)' can't be established.
RSA key fingerprint is fc:a7:28:ce:b2:2e:5c:4f:ca:31:54:bf:76:5b:82:5c.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '0,0.0.0.0' (RSA) to the list of known hosts.
Password:
ldd: /oracleunico/app/product/11.2.0/bin/oracle: cannot open file: Permission denied
Regards
Andrea
Maybe you are looking for
-
New Customer: What is better deal, 3g or 3gs?
Hey everyone, I'm a new customer and am planning on getting an iphone. Since majority of you have experience with both phones, I was hoping you could shed some light on what deal you think is best. For $199, I would love to get the 16g 3gs because it
-
My HP Envy HD always had a solid blue light on the tower panel. Last night, the tower panel had a solid red light & monitor said no signal, check video connection, so hubby changed HDMI cable. Still didn't work, but somehow he did get it to work & mo
-
Stream 8 cant use windows apps
I cant open any windows apps on my stream 8. Not sure why. I cant even open the pc settings. Anyone know why?The error it gives when opening mail or calender is "This app cant open. Theres a problem with*app name*. Contact your system administrator a
-
UIWebView - tabbed browser by using an array?
I want to build a tab-Browser and so far I've implemented everything (Bookmarks, settings...) except tabbed browsing. What I know so far is that I should store my webView in an array or a dictionary and then retrieve it. but it doesn't seem to work.
-
2012 DC getting numerous 5152 errors in Security log
I have a DC running Windows Server 2012 (not R2) which has recently started getting numerous failed audit entries in its security log, ID 5152. The source IP seems to include about half a dozen in use by domain PCs (all Windows 7). The source and des