Home » RDBMS Server » Networking and Gateways » Listener/Connectivity issues.
Listener/Connectivity issues. [message #150785] Fri, 09 December 2005 13:15 Go to next message
shankariyer
Messages: 3
Registered: December 2005
Junior Member
Hi,

I've 10g in my XP prof. box @ home and it started chocking all of a
sudden.

Database wasn't going to start as it reported shutdown in progress.
Finally it got shutdown or I shut it down, thro' OEM(web).

But now listener/tnsnames has some issues...

LSNRCTL> start
Starting tnslsnr: please wait...

TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Production
System parameter file is H:\oracle\product\10.2.0\db_1\network\admin\listener.
a
Log messages written to H:\oracle\product\10.2.0\db_1\network\log\listener.log
Trace information written to H:\oracle\product\10.2.0\db_1\network\trace\liste
r.trc
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=eashu)(PORT=1521)))

Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=eashu)(PORT=1521)))
STATUS of the LISTENER
------------------------
Alias LISTENER
Version TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Pro
ction
Start Date 09-DEC-2005 10:37:39
Uptime 0 days 0 hr. 0 min. 1 sec
Trace Level user
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File H:\oracle\product\10.2.0\db_1\network\admin\listener.ora
Listener Log File H:\oracle\product\10.2.0\db_1\network\log\listener.l
Listener Trace File H:\oracle\product\10.2.0\db_1\network\trace\listener
rc
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=eashu)(PORT=1521)))
Services Summary...
Service "ORADB" has 1 instance(s).
Instance "ORADB", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully


Why am I getting this 'unknown' ??

My listener.ora
# listener.ora Network Configuration File:

H:\oracle\product\10.2.0\db_1\NETWORK\ADMIN\listener.ora
# Generated by Oracle configuration tools.

LISTENER =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = eashu)(PORT = 1521))
)

SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = ORADB)
(ORACLE_HOME = H:\oracle\product\10.2.0\db_1)
)
)

TRACE_LEVEL_LISTENER = USER

My tnsnames.ora
# tnsnames.ora Network Configuration File:

H:\oracle\product\10.2.0\db_1\network\admin\tnsnames.ora
# Generated by Oracle configuration tools.

ORADB =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = eashu)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = ORADB)
)
)

Please advice.

Thanks,
Kramer.

[Updated on: Fri, 09 December 2005 13:18]

Report message to a moderator

Re: Listener/Connectivity issues. [message #150786 is a reply to message #150785] Fri, 09 December 2005 13:21 Go to previous messageGo to next message
shankariyer
Messages: 3
Registered: December 2005
Junior Member
I get this error, when I try to connect

C:\Documents and Settings\Shankar>sqlplus system/<passwd>

SQL*Plus: Release 10.2.0.1.0 - Production on Fri Dec 9 11:20:50 2005

Copyright (c) 1982, 2005, Oracle. All rights reserved.

ERROR:
ORA-12560: TNS:protocol adapter error
Re: Listener/Connectivity issues. [message #150801 is a reply to message #150785] Fri, 09 December 2005 16:09 Go to previous messageGo to next message
shankariyer
Messages: 3
Registered: December 2005
Junior Member
I tried couple of things and here is the log...

listner.log

TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Production on 09-DEC-2005 14:07:08

Copyright (c) 1991, 2005, Oracle. All rights reserved.

System parameter file is H:\oracle\product\10.2.0\db_1\network\admin\listener.ora
Log messages written to H:\oracle\product\10.2.0\db_1\network\log\listener.log
Trace information written to H:\oracle\product\10.2.0\db_1\network\trace\listener.trc
Trace level is currently 0

Started with pid=4684
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=eashu)(PORT=1521)))
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC0ipc)))
Listener completed notification to CRS on start

TIMESTAMP * CONNECT DATA [* PROTOCOL INFO] * EVENT [* SID] * RETURN CODE
09-DEC-2005 14:07:09 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=__jdbc__)(USER=))(SERVICE_NAME=oradb.anand)) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.0.106)(PORT=3834)) * establish * oradb.anand * 12514
TNS-12514: TNS:listener does not currently know of service requested in connect descriptor
09-DEC-2005 14:07:09 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=__jdbc__)(USER=))(SERVICE_NAME=oradb.anand)) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.0.106)(PORT=3839)) * establish * oradb.anand * 12514
TNS-12514: TNS:listener does not currently know of service requested in connect descriptor
09-DEC-2005 14:07:09 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=__jdbc__)(USER=))(SERVICE_NAME=oradb.anand)) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.0.106)(PORT=3840)) * establish * oradb.anand * 12514
TNS-12514: TNS:listener does not currently know of service requested in connect descriptor
09-DEC-2005 14:07:09 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=)(USER=Shankar))(COMMAND=status)(ARGUMENTS=64)(SERVICE=LISTENER)(VERSION=169869568)) * status * 0
09-DEC-2005 14:07:10 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=__jdbc__)(USER=))(SERVICE_NAME=oradb.anand)) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.0.106)(PORT=3842)) * establish * oradb.anand * 12514
TNS-12514: TNS:listener does not currently know of service requested in connect descriptor

My listener.ora
LISTENER =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = eashu)(PORT =

1521)(key=oradb0))
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
)
)

SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = H:\oracle\product\10.2.0\db_1)
(PROGRAM = extproc))
(SID_DESC =
(SID_NAME = ORADB)
(ORACLE_HOME = H:\oracle\product\10.2.0\db_1)
(PROGRAM = oradb))
)


My tnsnames.ora
# tnsnames.ora Network Configuration File:

H:\oracle\product\10.2.0\db_1\network\admin\tnsnames.ora
# Generated by Oracle configuration tools.

EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
)
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
)
)

ORADB =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = eashu)(PORT =

1521)(key=oradb0))
(CONNECT_DATA = (SID = ORADB) )
)

My windows service name
Oracleora_homeTNSListener

Still I'm not able to connect. Please advice.
Re: Listener/Connectivity issues. [message #165855 is a reply to message #150785] Mon, 03 April 2006 02:11 Go to previous message
naveen19
Messages: 24
Registered: November 2005
Location: Chennai
Junior Member
Hi,

drop the current listener and create a new listener, it will work

b'cos it works for me also

Cheers
Naveen
Previous Topic: How to kill a session Permanently
Next Topic: session is getting diconnected
Goto Forum:
  


Current Time: Mon Apr 29 09:05:00 CDT 2024