Home » RDBMS Server » Server Administration » no listener
no listener [message #50246] Thu, 07 March 2002 00:38 Go to next message
krishna
Messages: 141
Registered: October 1998
Senior Member
hi
when i try to connect to my database from my machine(server is on my machine itself) thru sql plus, i get the error
ora-12541: TNS no listener
when i enter all fields(ie username, password and hoststring). But it is letting me enter if i leave out the host string.
What is the problem?
Re: no listener [message #50251 is a reply to message #50246] Thu, 07 March 2002 07:53 Go to previous messageGo to next message
Grant
Messages: 578
Registered: January 2002
Senior Member
When you use the host string it is getting it from your tnsnames.ora file. Make sure you have enterred the alias correctly. Make sure the port and host is correct. The port in the tnsnames file must be the same as the port your listener.ora file is listeneing on. You may need to tack on your domain.com to the end of the host string.

The reason you are able to connect on the server without a host string (tnsnames alias) is because you have your Oracle environment variables set and the user connecting is in the dba group. It doesn't use tnsnames.
Re: no listener [message #50256 is a reply to message #50246] Thu, 07 March 2002 11:08 Go to previous message
Suresh Vemulapalli
Messages: 624
Registered: August 2000
Senior Member
start listener service
Previous Topic: Re: Help please Oracle 8.1.7/Solaris Installation
Next Topic: How to list all fields in JDBC
Goto Forum:
  


Current Time: Mon Jul 08 12:13:00 CDT 2024