Error Ora-12541 Tns No Listener Oracle
Contents |
SQL TuningSecurityOracle UNIXOracle LinuxMonitoringRemote supportRemote plansRemote servicesApplication Server ApplicationsOracle FormsOracle PortalApp UpgradesSQL ServerOracle ConceptsSoftware SupportRemote Support Development Implementation Consulting StaffConsulting PricesHelp Wanted! Oracle PostersOracle Books Oracle Scripts Ion Excel-DB Don Burleson Blog
ora 12541 tns no listener oracle instant client ORA-12541: TNS: no listener Oracle Tips by John Garmany YouOra 12541 Tns No Listener Oracle 11g Client
Asked: I get the ORA-12541 error message when I try to connect through Forms6i and Reports6i Builder. I've started the listener ora 12541 tns no listener dbd error ociserverattach also. I have no problems accessing the database through SQL*Plus. I've checked the listener.ora and tnsnames.ora files and everything seems okay. We Said: From the docs: ORA-12541: TNS no listener Cause: Listener for the source repository
Ora 12541 Tns No Listener But Listener Is Running
has not been started. Action: Start the Listener on the machine where the source repository resides. Basically the Forms server could not find the listener. First check the tnsnames.ora file and ensure that it points to the correct server and port. If the Forms server is on another machine, test the TNS resolve with tnsping from the command prompt. Finally, check the listener. First, ensure that your listener service is running. ora 12541 tns no listener windows 7 C:\Documents and Settings\ME>lsnrctl stat This should show the status of the listener and the services it is listening for. Remember that when you run SQL*Plus on the database server, it does not need the listener to connect unless you specify the database tnsnames.ora entry.Try to start the listener service using lsnrctl from DOS prompt. set ORACLE_HOME= cd %ORACLE_HOME%/bin lsnrctl start LISTENER If the listener service is not running, re-start the listener service using the Windows task manager or use the DOS command line utility to re-start the Windows service with the "net start" command: C:\Documents and Settings\ME>net start OracleOraDb10g_home1TNSListener You can use the lsnrctl status command to verify that the listener is down, and lsnrctl start to start your listener. If you are on Windows, also verify that the listener service is running. Here are more notes on lsnrctl: Oracle listener lsnrctl command Oracle listener lsnrctl command Oracle listener security tips Blocking Oracle access by IP Addresses �� Burleson is the American Team Note: This Oracle documentation was created as a support and Oracle training reference for use by our DBA performance tuning consulting professionals. F
log in tour help Tour Start here for a quick overview of the site Help Center
Ora 12541 Tns No Listener Visual Studio
Detailed answers to any questions you might have Meta Discuss
Ora 12541 Tns No Listener Client Side
the workings and policies of this site About Us Learn more about Stack Overflow the ora 12541 no listener oracle 10g company Business Learn more about hiring developers or posting ads with us Database Administrators Questions Tags Users Badges Unanswered Ask Question _ Database Administrators http://www.dba-oracle.com/t_ora_12541_tns_no_listener.htm Stack Exchange is a question and answer site for database professionals who wish to improve their database skills and learn from others in the community. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers http://dba.stackexchange.com/questions/73944/ora-12541-tnsno-listener are voted up and rise to the top ORA-12541: TNS:no listener up vote 3 down vote favorite 1 I've been working this issue all day, reading posts here and other locations. I'm just not able to get past this error. I can connect just fine locally on my server (CentOS), but continue to get the TNS:no listener error when trying to connect via my Mac (OSX Mavericks) which is on the same subnet. Below are some notes I've captured based on what information I see that has been requested for this type of issue: -------------------------------------------------------------------------------- MISC NETWORK CONFIG: -------------------------------------------------------------------------------- [root@rubyrailssvr ~]# more /etc/hosts 127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4 ::1 localhost localhost.localdomain localhost6 localhost6.localdomain6 192.168.1.14 rubyrailssvr.homenet.com [root@rubyrailssvr ~]# [root@rubyrailssvr ~]# more /etc/sysconfig/network NETWORKING=yes HOSTNAME=rubyrailssvr.homenet.com [root@rubyrailssvr ~]# -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- LISTENER.ORA File: -------------------------------------------------------------------------------- [oracle@rubyrailssvr ~]$ more /u01/app/oracle/product/11.2.0/xe/network/admin/listener.ora # listener.ora Network Configuration File: SID_LIST_LISTENER = (SID_LIST = (SID_DESC = (SID
example inside Event Log Technote (troubleshooting) Problem(Abstract) User tries to launch Controller. User receives error message on screen. If they http://www.ibm.com/support/docview.wss?uid=swg21361712 look at their client PC's 'application' Event Log, there is an entry there, corresponding with the time when they tried to logon. On the Controller application server, there are periodic VBRUNTIME errors. Symptom Client PC screen: An error occurred while trying to access the server Client PC Event Log: Event Type: WarningEvent Source: Cognos ControllerEvent Category: NoneEvent ID: 0Date: no listener 1/31/2008Time: 10:20:10 AMUser: N/AComputer: PCNAMEDescription:Error occured at 1/31/2008 10:20:10 AM in Cognos Controller, Error No=5, Source=FrangoDirect.ServerInfoD.GetServerInfo#ControllerProxyClient, Description=System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.Runtime.InteropServices.COMException (0x80004005): ORA-12541: TNS:no listener at FrServerB.ServerInfoClass.GetServerInfo(String sGuid, String sUser) at Cognos.Controller.Proxy.CCRWS.ServerInfo_GetServerInfo(String sGuid, String sUser) --- End of inner exception stack trace ---, HelpFile= HelpContext=0 Application Server Event Log: Event Type: Warning Event Source: tns no listener VBRuntime Event Category: None Event ID: 1 Date: 1/31/2008 Time: 10:08:02 AM User: N/A Computer: SERVERNAME Description: The VB Application identified by the event source logged this Application FrSrvFunc: Thread ID: 3424 ,Logged: Error occured at 1/31/2008 10:08:02 AM in FrSrvFunc, Error No=-2147467259, Source=Server function:Db_CreateConnection(..) , Description= ORA-12541: TNS:no listener, HelpFile= HelpContext=0 And: Event Type: Error Event Source: VBRuntime Event Category: None Event ID: 1 Date: 1/31/2008 Time: 10:08:02 AM User: N/A Computer: SERVERNAME Description: The VB Application identified by the event source logged this Application FrSrvFunc: Thread ID: 3424 ,Logged: Connection Error: Udl=File Name=C:\Program Files\cognos\c8\Data\DEVELOPMENT.Udl But security is OFF!!! Error No=-2147467259, Source=OraOLEDB, Description= ORA-12541: TNS:no listener, Native Error=12541, Sql State = In addition, if using TNSPING, you may get the error ' TNS-12541: TNS: no listener'. Cause There are many potential causes for 'ORA-12541 TNS:no listener' errors. For example: Scenario #1 - Tnsnames.ora file does not have the correct information required to connect to the Oracle instance See separate IBM Technote 1346169 for more details Scenario #2 - Oracle server has more tha