Problem solve Get help with specific problems with your technologies, process and projects.

Why won't TNS listener connect with Oracle Database 11g 32-bit?

One reader asks why his 64-bit TNS listener won't connect with 32-bit Oracle Database 11g.

I successfully installed both Oracle Database 11g 64-bit and 32-bit on the same server machine. I can log in to both 64-bit and 32-bit instances directly. However, when going through TNS listener, only 64-bit works, as shown below:

  1. Sqlplus system/password@orc11g64: working
  2. Sqlplus system/password@orac11g32: ORA-12541 TNS:no listener

More on Oracle Database expert questions

Read all of Brian Peasland's expert answers

Send us your own expert question

I've done the following changes, to no avail:

  1. Change local_listener of 32-bit instance to default name LISTENER by: Alter system set local_listener=’’ 
  2. Change 32-bit instance listener.ora port to 1521

What do I need to do to make 32-bit Oracle 11g work with 64-bit TNS listener?

> ORA-12541 TNS:no listener

I'm not sure what the Transparent Network Substrate (TNS) definition for orac11g32 is, but the definition is pointing to a server that is not running any listener on that port. The session isn't yet to the point where it determines where the listener is. Verify that the TNS alias is pointing to a valid server with a listener on that port.

Next Steps

How to win the battle against common TNS errors

Dig Deeper on Oracle error messages

Join the conversation


Send me notifications when other members comment.

Please create a username to comment.

Without your full set up, I'm just guessing, but...
If you did the normal setup, you set up separate sqlnet.ora, tnsnames.ora, and listener.ora files in each of the $ORACLE_HOME/network/admin directories. In doing so, it is likely that you're using the same IP and port numbers for your listener. When starting the listeners the first succedes, but the second would fail due to the ip:port combo already in use.
I made $OH/network/admin, in each OH, a link to a common directory elsewhere that had a copy of the original files, and put all my config files there. I have one listener handling both databases.

your 32 bit running on 1521 bit .re-Run 32 bit service and see whether able to login r not