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 AM
may 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
Similar Messages
-
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?
Jasonput u r server ip address without leading zeros
like 172.16.1.12 in place of 172.016.001.012 -
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 -
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 -
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] -
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
$ -
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 -
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? -
SRVCTL START DATABASE FAILS WITH ORA-00119
Hi,
My DB version is 11.2.0.2.3
I am able to start the DB thorough sqlplus as conventional way.But when I am trying to start using SRVCTL it gives the following errors:
CRS-5017: The resource action "ora.****.db start" encountered the following error:
SRVCTL START DATABASE FAILS WITH ORA-00119: invalid specification for system parameter LOCAL_LISTENER
ORA-00132: syntax error or unresolved network name 'LISTENER_local'
Can you please suggest for any workaround.
ThanksDid you check the TNS_ADMIN? Where does it point to?
Also check if you have all the network files placed under the directory pointed to by TNS_ADMIN.
sqlnet.ora
listener.ora
tnsnames.ora -
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 -
Cannot start RAC DB using srvctl start database
Hello Fellows,
We used to have a 10.1.0.4 RAC DB on top of CRS 10.1.0.4 on top of Sun cluster 3.1 on both Sun Solaris SPARC 64-bit 5.9 nodes.
We :
- Unregisted the current RAC DB from the 10.1.0.4 CRS.
- Removed the CRS 10.1.0.4 permanently and cleanly
- Installed a new Clusterware 10.2.0.1 and patched to 10.2.0.4 + patch 8705958.
- CRS servcies are healthy and up :
$ crs_status.sh
ora.tibisdb1.LISTENER_TIBISDB1.lsnr ONLINE ....etc for all other services
Now we are trying to upgrade the RAC DB from 10.1.0.4 to 10.2.
When i started the DBUA it i chose the cluster mode and then DBUA tried to startup both DB instances but it failed. To reproduce this, i registed the databse TIBIS with the 2 instances to the CRS and then tried to startup the DB but it failed:
$ crs_status.sh
ora.TIBIS.TIBIS1.inst OFFLINE OFFLINE
ora.TIBIS.TIBIS2.inst OFFLINE OFFLINE
ora.TIBIS.db OFFLINE OFFLINE ...etc
$ srvctl start database -d TIBIS
PRKP-1001 : Error starting instance TIBIS1 on node tibisdb1
tibisdb1:ora.TIBIS.TIBIS1.inst:
tibisdb1:ora.TIBIS.TIBIS1.inst:
SQL*Plus: Release 10.1.0.4.0 ...
Connected to an idle instance.
ORA-00603: ORACLE server session terminated by fatal error
ORA-27504: IPC error creating OSD context
ORA-27300: OS system dependent operation:IPC init failed with status: 65
ORA-27301: OS failure message: Package not installed
ORA-27302: failure occurred at: skgxpcini
ORA-27303: additional information:libskgxpd.so called
tibisdb1:ora.TIBIS.TIBIS1.inst:libskgxp10.so should reference real implementation.
tibisdb1:ora.TIBIS.TIBIS1.inst:SQL> Disconnected
CRS-0215: Could not start resource 'ora.TIBIS.TIBIS1.inst'.
PRKP-1001 : Error starting instance TIBIS2 on node tibisdb2
CRS-0215: Could not start resource 'ora.TIBIS.TIBIS2.inst
BTW, i can open the instances fine through SQLPLUS.
I did a full SRVCTL trace for the command and got the same errors above only.
I also followed also Note :Note : 814896.1
1. cd $ORACLE_HOME/rdbms/lib
2. rename the original library (if exists)
mv libskgxp10.so libskgxp10.so.old
3. Relink to configure UDP for IPC
make -f ins_rdbms.mk rac_on ipc_udp ioracle
4. Check whether the library exists
ls -l $ORACLE_HOME/lib/libskgxp10.so
Same result when try to SRVCTL START DATABASE -D TIBIS
RECENT CHANGES:
- Unregisted the current 10.1.0.4 RAC DB from the 10.1.0.4 CRS.
- Removed the CRS 10.1.0.4 permanently and cleanly
- Installed a new Clusterware 10.2.0.1 and patched to 10.2.0.4 + patch 8705958.
- Try to upgrade/register the 101 RAC DB to 10.2 .
O/S DETAILS:
$ uname -a
SunOS tibisdb1 5.9 Generic_122300-29 sun4u sparc SUNW,Sun-Fire-V240
CLUSTERWARE:
Sun Cluster 3.1
Please advise,
Thank you.
FerasHello,
Thanks first for your following up and trying to help. I appreciate that.
Here is what you suggested :
$ srvctl start instance -d TIBIS -i TIBIS1
PRKP-1001 : Error starting instance TIBIS1 on node tibisdb1
tibisdb1:ora.TIBIS.TIBIS1.inst:
tibisdb1:ora.TIBIS.TIBIS1.inst:SQL*Plus: Release 10.1.0.4.0 - Production on Tue Nov 17 08:57:50 2009
tibisdb1:ora.TIBIS.TIBIS1.inst:
tibisdb1:ora.TIBIS.TIBIS1.inst:Copyright (c) 1982, 2005, Oracle. All rights reserved.
tibisdb1:ora.TIBIS.TIBIS1.inst:
tibisdb1:ora.TIBIS.TIBIS1.inst:Enter user-name: Connected to an idle instance.
tibisdb1:ora.TIBIS.TIBIS1.inst:
tibisdb1:ora.TIBIS.TIBIS1.inst:SQL> ORA-00603: ORACLE server session terminated by fatal error
tibisdb1:ora.TIBIS.TIBIS1.inst:ORA-27504: IPC error creating OSD context
tibisdb1:ora.TIBIS.TIBIS1.inst:ORA-27300: OS system dependent operation:IPC init failed with status: 65
tibisdb1:ora.TIBIS.TIBIS1.inst:ORA-27301: OS failure message: Package not installed
tibisdb1:ora.TIBIS.TIBIS1.inst:ORA-27302: failure occurred at: skgxpcini
tibisdb1:ora.TIBIS.TIBIS1.inst:ORA-27303: additional information: libskgxpd.so called
tibisdb1:ora.TIBIS.TIBIS1.inst:libskgxp10.so should reference real implementation.
tibisdb1:ora.TIBIS.TIBIS1.inst:SQL> Disconnected
tibisdb1:ora.TIBIS.TIBIS1.inst:
CRS-0215: Could not start resource 'ora.TIBIS.TIBIS1.inst'.
$ $ORA_CRS_HOME/bin/crs_stat -p ora.TIBIS.TIBIS1.inst
NAME=ora.TIBIS.TIBIS1.inst
TYPE=application
ACTION_SCRIPT=/oracle/product/10.1.0/db_1/bin/racgwrap
ACTIVE_PLACEMENT=0
AUTO_START=1
CHECK_INTERVAL=600
DESCRIPTION=CRS application for Instance
FAILOVER_DELAY=0
FAILURE_INTERVAL=0
FAILURE_THRESHOLD=0
HOSTING_MEMBERS=tibisdb1
OPTIONAL_RESOURCES=
PLACEMENT=restricted
REQUIRED_RESOURCES=ora.tibisdb1.vip
RESTART_ATTEMPTS=5
SCRIPT_TIMEOUT=600
START_TIMEOUT=0
STOP_TIMEOUT=0
UPTIME_THRESHOLD=7d
USR_ORA_ALERT_NAME=
USR_ORA_CHECK_TIMEOUT=0
USR_ORA_CONNECT_STR=/ as sysdba
USR_ORA_DEBUG=0
USR_ORA_DISCONNECT=false
USR_ORA_FLAGS=
USR_ORA_IF=
USR_ORA_INST_NOT_SHUTDOWN=
USR_ORA_LANG=
USR_ORA_NETMASK=
USR_ORA_OPEN_MODE=
USR_ORA_OPI=false
USR_ORA_PFILE=
USR_ORA_PRECONNECT=none
USR_ORA_SRV=
USR_ORA_START_TIMEOUT=0
USR_ORA_STOP_MODE=immediate
USR_ORA_STOP_TIMEOUT=0
USR_ORA_VIP=
$ CRS_HOME/bin/crs_stat -p ora.oradb.oradb1.inst | grep ACTION_SCRIPT
/usr/bin/ksh: CRS_HOME/bin/crs_stat: not found
$ $ORA_CRS_HOME/bin/crs_stat -p ora.TIBIS.TIBIS1.inst | grep ACTION_SCRIPT
ACTION_SCRIPT=/oracle/product/10.1.0/db_1/bin/racgwrap
$ ls -ltr /oracle/product/10.1.0/db_1/bin/racgwrap
-rwxr-x--x 1 oracle dba 629 Oct 17 14:23 /oracle/product/10.1.0/db_1/bin/racgwrap
$ more /oracle/product/10.1.0/db_1/bin/racgwrap
#!/bin/sh
# Wrapper script
ORACLE_HOME=/oracle/product/10.1.0/db_1
export ORACLE_HOME
ORACLE_BASE=/oracle/product/10.1.0/db_1
# export ORACLE_BASE if it is set
if [ ! -z "$ORACLE_BASE" ]
then
export ORACLE_BASE
fi
PATH=$ORACLE_HOME/bin:/usr/bin:$PATH
export PATH
# environment variable need to be set for executing
# lsnrctl, agentctl and sqlplus
ORA_RACG_EXEC_ENV="LD_LIBRARY_PATH=$ORACLE_HOME/lib:$LD_LIBRARY_PATH"
export ORA_RACG_EXEC_ENV
LD_LIBRARY_PATH=$ORACLE_HOME/lib:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH
#_USR_ORA_DEBUG=1
#export USRORA_DEBUG
$ORACLE_HOME/bin/racgmain "$@"
status=$?
exit $status
$Regarding the Oracle SR, they replied yesterday and requested logs..etc. Waiting for their feedback while trying to resolve this.
Please advise.
Thanks,
Feras -
Databases instances stuck in MOUNT MODE after srvctl start database -d
Hi,
I wonder if anyone can shed some light on why the following scenario is happening in our environment.
We have a 4 node site, configured with RAC on nodes 1 & 2 and dataguard shipping the logs to a standby physical cluster
database on nodes 3 & 4.
Our issue is this:
When the database instances on nodes 1 & 2 are stopped and restarted using this command sequence
srvctl stop database -d SOCPRODCAV
srvctl start database -d SOCPRODCAV
each database instance gets started up only as far as MOUNT mode.
The databases are not opened and i have to go in and do this manually for each instance.
The above command sequence used to successfully restart the database and leave it open for use so i'm wondering how the start
mode has been changed and if there is an area of configuration or view anyone can guide me to look at it.
I provide remote DBA support for this client's and it is possible that another onsite DBA may have changed something.
Any pointers gratefully received.
Regards,
GeorgeSee current configuration as follows
srvctl config database -d SOCPRODCAV -aThis should show you current startup/stop settings as follows
Start options: open
Stop options: immediate
Now you can change current settings if Start option is not "open"
srvctl modify database -d SOCPRODCAV -s OPENReference
http://docs.oracle.com/cd/E14072_01/server.112/e10595/restart005.htm#i1009665
Salman -
We use Central and Regional database, between them we create dblinks. WE use TNSPING to check the connectivity, from Central it works but from regional we get a message TNS-12574 TNS lost contact.
We use Brodband, DDN and VSAT communications. Only from sites, which are used VSAT communications we get a problem. Is there any possibilities to make a connection.Starting TNS Listener gives "Linux Error: 32: Broken pipe"
by Jeff Hunter, Sr. Database Administrator
You have successfully install Oracle on Linux, installed and configured your application and everything is working fine. You get a call several months later from an angry user saying that he cannot login to the application. The error message indicates a problem connecting to the Oracle database. After noticing the Oracle TNS listener is not running, you attempt to start it and get the following stack trace error:
% lsnrctl start
LSNRCTL for Linux: Version 8.1.7.4.0 - Production on 18-JUL-2003 10:54:01
(c) Copyright 1998 Oracle Corporation. All rights reserved.
Starting /u01/app/oracle/product/8.1.7/bin/tnslsnr: please wait...
TNS-12547: TNS:lost contact
TNS-12560: TNS:protocol adapter error
TNS-00517: Lost contact
Linux Error: 32: Broken pipe
You then check with the SYS admin to only find out that nothing has changed with any of the network settings!
This is one of those troubleshooting issues that can take several hours to track done. But as it turns out, the most common reason for this stack trace when attempting to start the listener is the log file for the listener ($ORACLE_HOME/network/log/listener.log) has reached its 2GB file size limit on Linux. To alleviate the problem, simply archive or delete the file and restart the listener. -
Rapidwiz, adcrdb.sh fails: TNS Lost contact
OS: SuSE Enterprise Server 8, Service pack 2
Oracle Ebusiness suite version: 11.5.8
rapidwiz version: 11.5.8.17 (p2957103) 14-MAY-2003
When adcrdb.sh starts the following errors
appears:
ORA-12547: TNS:lost contact
SP2-0640: Not connected
ORA-24314: service handle not initialized
On metalink someone told me to add the following two
lines to /etc/resolv.conf
options attempts:5
options timeout:15
I don't think that this has anything to do with the error
I get. I can run adcrdb.sh manually from the same window
I started rapidwiz from. The database is then being created with out any problems.
Does anyone have any tips?
/MansWere you able to get this resolved ? Did you have any other problems during the install. I am planning on installing 11.5.9 on SuSE ES 8.0. Any problems encountered and solutions would help me during my install. What was the hardware configuration, RAM/CPU etc ?
Shekar
Maybe you are looking for
-
How do I make a new account just by changing my email?
I am trying to get one stupid song. I went in to buy it but it had been a long time since we had done so so my husband had changed his email and password. SO-stupidly I tried an old email that I had in college with our password. It put me through unt
-
Hi all doubt on smart forms ????????
hi , i am new to smart forms i need to create a smert form in which complex validation are all had to be implemented .. can anybody send any nice materials where i can get a brief decsription of what a smart form is how to create it how to implement
-
You do not have permission.
"The document xxxx could not be saved. You do not have permission." Why do I suddenly get this message? I'm the only one that uses this Mac. Permissions says I have read/write permission. What is going on?
-
OBIEE Analytics URL with fully qualified machine name
Hi All, I have issue with analytics URL, Analytics URL works fine if it is in this form: [<machine-name>:9704/analytics], but for EBS integration purpose, i need to give fully qualified name like: [<machine-name>.<domain-name>.<com>:9704/analytics].
-
Where can I find a list of my contacts on Firefox?
I cannot find a left-side category for contacts on my Firefox window that gives me a list of my contacts and their email addresses. Where can I locate my contact list?