Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Andrzejek on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

TNS:no listener - isqlplus

Status
Not open for further replies.

kafmil

Technical User
Jul 15, 2002
71
AU
I am receiving the error 'ERROR - ORA-12541: TNS:no listener'when I try to log in to iSQLPlus in Oracle 10g. I have found several solutions on other forums but they are very general, answers like thereis something wrong in the tnsnames.ora file. I am not an experienced oracle user and do not know what the file is supposed to look like. Could someone please provide a more detailed response to this problem.

tnsnames.ora lokks as follows:
# tnsnames.ora Network Configuration File: C:\oracle\product\10.1.0\db_1\network\admin\tnsnames.ora
# Generated by Oracle configuration tools.

ORCL3 =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = KMANAUTO)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = orcl3)
)
)

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

listener.ora looks like this:
# listener.ora Network Configuration File: C:\oracle\product\10.1.0\db_1\network\admin\listener.ora
# Generated by Oracle configuration tools.

SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = C:\oracle\product\10.1.0\db_1)
(PROGRAM = extproc)
)
)

LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
)
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = KMANAUTO)(PORT = 1521))
)
)
)

I am accessing isqlplus with this url I have tried using port 1521 but nothing happens.


Thank You.
 
Hi, kafmil

Try the following steps

1. Open a command prompt.
2. Type "lsnrctl"
3. Then type "start listener"
4. exit lsnrctl and the command prompt.
5. Then try to log into SQL*Plus.

Regards,



William Chadbourne
Oracle DBA
 
I tried

1. Open a command prompt.
2. Type "lsnrctl"
3. Then type "start listener"
4. exit lsnrctl and the command prompt.
5. Then try to log into SQL*Plus.
with the following results. I still cannot login to isqlplus

LSNRCTL> start listener
Starting tnslsnr: please wait...

Service OracleOraDb10g_home1TNSListener already running.
TNS-12536: TNS:eek:peration would block
TNS-12560: TNS:protocol adapter error
TNS-00506: Operation would block
32-bit Windows Error: 997: Unknown error

Can anyone please help.

Thank You
 
Hi, kafmil

I would suggest running the "Network Configuration Assist" again.

Regards,

William Chadbourne
Oracle DBA
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top