ORA-12547 TNS:lost contact Confusions
Hi all,
We have 15 client linux server with 11gxe each.
We installed the database under the userid "oracle" group "dba"
We have another apps userid "apps" group "apps".
I login to apps and
export ORACLE_HOME, ORACLE_SID, PATH
The I can sqlplus hr/hr and connected ok.
All of the 14 servers can connect except 1 :( with lost contact error ora-12547 (but it is okay if I use the ID "oracle")
They are all configured the same and why do I get this error.
Please help...
Thanks,
yxes2013 wrote:
Actually, I am very stressed, and I my lowest moment in my life now and have a very biggg problem and wish I was not a DBA but a simple worker only with simple job like cleaner.
But reading and posting and talking in the forum somehow lighten the load, especially when lots of people help you. Anyways, from the bottom of my heart...I THANK YOU ALL.Well, off topic may be but still, don't give up and don't compare working with Oracle database to a blue collar job. The times would change too and it happens with all! So buckle up, read as much as you can, try to push yourself ahead and you would be through.
Good luck!
Aman....
Similar Messages
-
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... :-( -
Repeated 'ORA-12547: TNS: lost contact' messages after installing Oracle 10
Hi,
I installed Oracle 10g on Redhat ES 3, and the install went well, but when I try and interact with the server I get the message:
ORA-12547: TNS: lost contact
For example, if I use the Database Configuration Assistant to attempt to create a database, I will see the above message when it begins the database creation process, or if I try to interact with the Oracle server using sqlplus I will see the above message after each command entered.
I had recently tried to install Oracle 8.1.7 on the same box, but abandoned that after deciding that the effort required to link Oracle 8 on RHES3 just wasn't worth it.
I have been told that my previous partial installation of Oracle 8 may be the cause of the problem, and have been advised to uninstall Oracle 8, uninstall Oracle 10g, and reinstall Oracle 10g. I find it hard to believe that it would require such an action to solve this problem. Are there any configuration changes I can make to resolve it?
My problem sounds like it may be similar problem to a recent posting by Hugo Ferrer - but my Spanish isn't good enough to fully understand Hugo's problem. Anyways, I am new to Oracle, so thanks for any help with this problem.
Colm.My last message asking for a grater degree of specificity was not overly specific, hence I am posting the kernel parms that I have set with the hopes that you will spot one that I set improperly or one that I neglected to set.
[root@awyr ~]# cat /proc/sys/kernel/shmmax
2147483648
[root@awyr ~]# cat /proc/sys/kernel/shmmni
4096
[root@awyr ~]# cat /proc/sys/kernel/shmall
2097152
[root@awyr ~]# ipcs -lm |grep "min seg size"
min seg size (bytes) = 1
[root@awyr ~]# cat /proc/sys/kernel/sem | awk '{print $1}'
250
[root@awyr ~]# cat /proc/sys/kernel/sem | awk '{print $2}'
32000
[root@awyr ~]# cat /proc/sys/kernel/sem | awk '{print $3}'
100
[root@awyr ~]# cat /proc/sys/kernel/sem | awk '{print $4}'
128
[root@awyr ~]# cat /proc/sys/fs/file-max
65536
[root@awyr ~]# cat /proc/sys/net/ipv4/ip_local_port_range
1024 65000
[oracle@awyr Desktop]$ ulimit -n
63536
[oracle@awyr Desktop]$ ulimit -u
4091
[oracle@awyr Desktop]$ ulimit -a
core file size (blocks, -c) 0
data seg size (kbytes, -d) unlimited
file size (blocks, -f) unlimited
max locked memory (kbytes, -l) 32
max memory size (kbytes, -m) unlimited
open files (-n) 63536
pipe size (512 bytes, -p) 8
stack size (kbytes, -s) 8192
cpu time (seconds, -t) unlimited
max user processes (-u) 4091
virtual memory (kbytes, -v) unlimited
from sysctl -a
my fs.file-max = 65536
in my limits.conf I added:
oracle soft nofile 4096
oracle hard nofile 63536
in my (1) /etc/pam.d/system-auth (2) /etc/pam.d/sshd (3) /etc/pam.d/su (4) /etc/pam.d/login
files I added:
session required pam_limits.so
and verified that it exists
in my limits.conf I added
oracle soft nproc 2047
oracle hard nproc 16384
my /etc/oratab has:
orcl:/usr/local/oracle/app/oracle/oracle/product/10.2.0/db_1:N
I tried to change the N at the end to a Y but to no avail
my /etc/oraInst.loc has:
inventory_loc=/usr/local/oracle/app/oracle/oraInventory
inst_group=oinstall
Thanks again for your atention
Richard -
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 -
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
$ -
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? -
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 -
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 -
Connecting sysdba as root user :ORA-12547: TNS:lost contact
Hi
Oracle software/databases installed as oracle user
when i tried to connect to sysdba as root user
sdp1:/oracle/product/11.2.0/bin# sqlplus '/ as sysdba'
SQL*Plus: Release 11.2.0.1.0 Production on Mon Jan 7 05:08:16 2013
Copyright (c) 1982, 2009, Oracle. All rights reserved.
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
ORACLE_HOME = /oracle/product/11.2.0
System name: AIX
Node name: sdp1
Release: 1
Version: 6
Machine: 00056514D700
Instance name: main
Redo thread mounted by this instance: 0 <none>
Oracle process number: 0
Unix process pid: 25559200, image: oracle@sdp1
*** 2013-01-07 05:08:17.098
skgm error 27121: errno = 13, info = 3, 1048584, 0, 0, 0, 0, 0
ERROR:
ORA-12547: TNS:lost contactHi,
root is not - and must not be - member of dba group.
You must perform your operation under the oracle (or whatsoever) unix account, either bu su - or by sudo - -
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. -
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 -
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 -
Intermittent TNS-12547: TNS:lost contact
Does anybody experienced sporadic TNS-12547: TNS:lost contact, especially when loading machine with big INSERT queries? Is this well known and solvable? How may I track down this error? I'm using Oracle 8.0.5.0.0 on a standard RedHat 6.1 distribution.
Many thanks to everybody
[email protected]I've got the same problem. I'm trying to access the O9i 9.2. Either through TOAD or ODBC, I get an error from TNSLSNR:
VERSION INFORMATION:
TNS for 32-bit Windows: Version 9.2.0.1.0 - Production
Windows NT TCP/IP NT Protocol Adapter for 32-bit Windows: Version 9.2.0.1.0 - Production
Time: 14-JUL-2006 09:57:41
Tracing not turned on.
Tns error struct:
nr err code: 0
ns main err code: 12547
TNS-12547: TNS:contacto perdido
ns secondary err code: 12560
nt main err code: 517
TNS-00517: Contacto perdido
nt secondary err code: 54
nt OS err code: 0
Any ideas? -
TNS-12547: TNS: Lost Contact
I installed Oracle8i on Windows NT EE edition with SP6a. It
passed the test in Net8 Assistant. But after I installed a
nother package and I tried to test again with: cmd> TNSPING
MAchineName, I got "TNS-12547: TNS: Lost Contact".
Thanks.
RobertThe OraBooks suggest that the package you loaded (or
dependecies) terminated abnormaly while executed (see below).
Suggestion: Debug and/or reload the package if applies.
Make sure that for typical SGA buffer configuration you have at
least 512 RAM and mprocessor at least 600MHz clock and plenty of
disk space.
<<
TNS-12547 TNS:lost contact
Cause: Partner has unexpectedly gone away, usually during
process startup.
Action: Investigate partner application for abnormal
termination. On an Interchange, this can happen if the machine
is overloaded.>>
Maybe you are looking for
-
Hi Suport, My iphone was stolen yesterday so I decided to delete my device in find my iphone, but the it has not yet been deleted bec the device is not connected to the internet yet. Can I undo my changes before it will be deleted from icloud? I wan
-
Hi, I am trying to create a materialized view and trying replace + left outer join with 'left outer join' clause. I am getting ERROR at line 68: ORA-00904: "RF"."DATA_TYPE_ID": invalid identifier Here is the sql I am using. Any help is appreciated. C
-
Creating the spool request for the internal table data
Hi.. I am little confused with the function module used for creating the spool request. well...I am practicing the ALV report and sending the that report to the spool. I ve used the FM SLVC_TABLE_PS_TO_SPOOL. this is the way i defined the internal t
-
Cannot Copy, Paste in OneNote webapp under Firefox
I have attempted to modify the profile to activate the copy, paste functions to be used in OneNote webapp as follows: user_pref("capability.policy.policynames", "allowclipboard"); user_pref("capability.policy.allowclipboard.sites", "http://office.liv
-
Logic Pro 9.1.8 on ML Crashes after restore to new computer
Hi I have just upgraded my computer from a Mac OS X 10.6.8 (SL) 2009 Intel Core 2 Duo iMac to a Mac OS X 10.8.2 (ML) 2013 Intel Core i7 iMac, and instead of doing a reinstall of my SW, I restored my previous software and data from the latest Time Mac