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/[email protected]: working
  2. Sqlplus system/[email protected]: 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