TNS-00517: Lost contact
LSNRCTL> start
Starting /u01/oracle/product/10.2.0/db_1/bin/tnslsnr: please wait...
TNSLSNR for Linux: Version 10.2.0.1.0 - Production
System parameter file is
/u01/oracle/product/10.2.0/db_1/network/admin/listener.ora
Log messages written to
/u01/oracle/product/10.2.0/db_1/network/log/listener.logListening on:
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=192.168.0.6)(PORT=1521)))
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC)))
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
LSNRCTL>
Hi,
I had same problem and after searching through this forum i got the solution.
I checked my /etc/hosts file and a entry was missing.
127.0.0.1 localhost.localdomain localhost
Now i am able to start listener.
Similar Messages
-
ADAUTOCFG: TNS Error Lost contact
We are having a issue with concurrent managers (unable to see the output and log file) it gives internal error some times.
When we ran the autofig we found these errors while configuring the AD_TOP.
TNS-12547: TNS:lost contact
TNS-12560: TNS:protocol adapter error
TNS-00517: Lost contact
32-bit Windows Error: 54: Unknown error
orainf.cmd exiting with status
TNS-12224: TNS:no listener
TNS-12541: TNS:no listener
TNS-12560: TNS:protocol adapter error
TNS-00511: No listener
32-bit Windows Error: 61: Unknown error
Any idea what is wrong?
This is in Vision (WINDOWS).
.Did you set "USE_SHARED_SOCKET" in the registry to "TRUE"?
Note: 124140.1 - How to configure USE_SHARED_SOCKET on Windows NT/2000
https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=124140.1
In addition, I suggest you go through the following notes:
Note: 125021.1 - Oracle Connections and Firewalls
https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=125021.1
Note: 361284.1 - Port 1521 opened in firewall yet cannot connect to Oracle Server (ORA-12535,TNS-12203)
https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=361284.1 -
I just installed 11.1.0.7 client on win 2003 server and tried to connect to 9.2.0.6 database but both tnsping and sqlplus is giving 'TNS-12547: TNS:lost contact' error
Please note that the same client 11.1.0.7 is connecting to database 9.2.0.8 and higher i.e 10.2.0.3 and 10.2.0.4.
Please advice as why 11.1.0.7 client is not connecting to 9.2.0.6 database and giving 'TNS-12547: TNS:lost contact' error.
Thanks in advance.Hi,
1)ping is working?
2)disable the firewall running on the windows machine,Check firewall at network level is affecting this connection
3)listener is up and running on the EBIZ side and u can connect using the service_name of EBIZ in EBIZ server?then copy the service_name entry form the server tnsnames.ora to the windows machine and try
4)Check at server o/s level are there any restrictions for other machine to get connect,Can u telnet to the server from this machine?
Regards -
TNS-12547 lost contact - listener log has TNS-12516??
OS: Win98
DB: Personal Oracle8i 8.1.6
Attempting to make connection from JDBC and eventually found out even TNSPING has problems. I have a listener configured on port 1521, using 127.0.0.1 as the host (I'm doing development on same machine).
I do lsnrctl start LISTENER, but afterwards a lsnrctl status LISTENER returns nothing. Not sure if it only replies if there is a problem. Anyway, it seems like the listener is running, otherwise I'd get a different error, like no listener.
I can't find docs on TNS-12516, and the explanation of 12547 isn't very helpful. The full error text in the listener.log is as follows:
22-JUN-2001 16:05:24 * handoff * giop * 12516
TNS-12516: TNS:listener could not find available handler with matching protocol stack.
I can provide more info if needed.I also have the same problem. It doesn't seem to happen regularly but off and on. When this database state occurs, I can't even shutdown the database. It appears to hang due to an unknown cause. When I check my listener log, I see that the error messages I was getting were the TNS-12516 errors. The really odd thing is that some of my Perl DBI and PHP programs were still going through without a problem while my sql*plus and discoverer connections were dying with the TNS-12516 error. If anyone has ANY ideas at all, please respond.
-
Hi,
RHEL Version 5.3
Oracel11g 11.2.0.2.0
$lsnrctl status
TNS-12547 : TNS : Lost Contact
TNS-12560 : TNS: Protocol adapter error
TNS-00517 : Lost Contact
Linux Error : 104: Connection reset by peer.
is this errors because of there is no static IP address or because of some other issues...Please Suggests.978487 wrote:
Hi,
RHEL Version 5.3
Oracel11g 11.2.0.2.0
$lsnrctl status
TNS-12547 : TNS : Lost Contact
TNS-12560 : TNS: Protocol adapter error
TNS-00517 : Lost Contact
Linux Error : 104: Connection reset by peer.
is this errors because of there is no static IP address or because of some other issues...Please Suggests.
when was last time SQL*Net worked without error?
What changed since then?
>Linux Error : 104: Connection reset by peer.
Indicates OS/Networking mis-configuration
post results of following OS commands
id
env | sort
uname -a
hostname
cat /etc/hosts
/sbin/ifconfig -
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 -
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. -
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? -
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 -
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] -
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 -
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?
Maybe you are looking for
-
I purchased album from tunes store it has now synch to my phone how can i remove them
i purchased album from tunes store it has now synch to my phone how can i remove them from iphone 5s
-
Aquestion: can i connect a tape recorder to computer and put the digitial info on my computer
I have HP Pavilion p6310f desktop PC. I desire to put some cassette tape music on the computer using the TEAC tape deck player. I do not have a receiver for the tape deck, but I would like to know if the digital info of the songs would be picked up
-
General Ledger veiw button is missing at the time doc. entry
Hi, i am facing a problem in ECC 5.0, that the general ledger view button is not displayed at the time of FI document entry, or in T. Code FB02 or FB03. Document Splitting is active in company code. Please suggest what could be the possible reason. T
-
Win XP Drivers Not Working - Last Resort - Please Help
Okay, I have searched and searched this forum and Google for 3 days to find a similar problem to mine but I just can't find one, so I am resorting to posting myself. I have a new 2.53 GHz Macbook Pro 15inch that I recently installed Windows XP Profes
-
Dear All Java Programmer I'm writing a program to obtain my WAN / router public IP Address I managed to do it by connecting into remote server (http://checkip.dyndns.org) it works fine.... My concern is that we cant assume that remote server to be on