Fixed – ORA-12541: TNS no listener error

Start a Blog with BlueHost

Yesterday my friend asked me about this error "ORA-12541 TNS no listener error" while connecting with oracle database. I told him about the below solution and it worked very well.

He suggested me to post this article on TechiesDigest so that this tutorial can help other newbie database administrators too.

Error Message:

ORA-12541 TNS no listener error


Now you have to follow below mentioned steps to resolve the ORA-12541 issue.


First check your listener status.

C:\>lsnrctl status

The above command will show the current status of your listener.


Start the listener, if listener is not running.

C:\>lsnrctl start

This command will start all your listener services.


Stop the listener, if listener is running.

C:\>lsnrctl stop

This command will stop all your listener services.


Now restart the listener.

C:\>lsnrctl reload

This command will restart all your listener services.

Note: If you want to see all the available listener commands. Type lsnrtcl help on command prompt and you will get all available options.

C:\>lsnrctl help

LSNRCTL for 32-bit Windows: Version - Production on 02-JUL-2015 20:25:14

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

The following operations are available
An asterisk (*) denotes a modifier or extended command:

start                           stop                status
services                     version           reload
save_config              trace               change_password
quit                            exit                  set*


One last and very important thing which you have to do.

Open sqlnet.ora file and make the changes as suggested.


Change NTS to NONE


Now restart the listener services and your listener problem ORA-12541 will be resolved.

This solution worked for my friend and I hope it will also work for you, if not please write on comment section. I will try to provide you the solution at the earliest.

No. 1 Web Hosting

Subscribe to get FREE tech advice, tips and in-depth articles directly in your Inbox.

Leave a Reply

Your email address will not be published. Required fields are marked *