Samedi 9 juillet 2011 6 09 /07 /Juil /2011 18:37

 

Démarrage du module d’écoute LISTENER Oracle avec LSNRCTL.

Comment démarrer le LISTENER sous Oracle. ?

Si vous avez ce type d'erreur ORA-TNS en tentant de vous connecter sur une base Oracle :

ORA-12541 : TNS - pas de processus d’écoute.
TNS-12541  : TNS - aucun processus d’écoute.
ORA-12170 : TNS - délai de connexion dépassé.
TNS-12535  : TNS - le délai imparti à l’opération est écoulé.

Il y a de forte chance que votre LISTENER soit arrêté.

On démarre le LISTENER Oracle avec l'outil LSNRCTL ou avec NET START <nom_service_windows>

 

Exemple ORA-12541: TNS:no listener.

 
C:\>SQLPLUS /NOLOG

SQL*Plus: Release 10.2.0.1.0 - Production on Sat Jul 9 19:03:20 2011

Copyright (c) 1982, 2005, Oracle.  All rights reserved.

SQL> CONNECT scott/tiger@dbtest
ERROR:
ORA-12541: TNS:no listener


SQL>

 

Démarrage du LISTENER Oracle avec LSNRCTL START.

 
SQL> exit

C:\>LSNRCTL START

LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on 09-JUL-2011 19:10:16

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

Starting tnslsnr: please wait...

TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Production
System parameter file is C:\oracle\product\10.2.0\db_1\network\admin\listener.ora
Log messages written to C:\oracle\product\10.2.0\db_1\network\log\listener.log
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=PC-DDD)(PORT=1521)))

Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=PC-DDD)(PORT=1521)))
STATUS of the LISTENER
------------------------
Alias                     LISTENER
Version                   TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Production
Start Date                09-JUL-2011 19:10:22
Uptime                    0 days 0 hr. 0 min. 5 sec
Trace Level               off
Security                  ON: Password or Local OS Authentication
SNMP                      OFF
Listener Parameter File   C:\oracle\product\10.2.0\db_1\network\admin\listener.ora
Listener Log File         C:\oracle\product\10.2.0\db_1\network\log\listener.log
Listening Endpoints Summary...
  (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=PC-DDD)(PORT=1521)))
Services Summary...
Service "dbtest" has 1 instance(s).
  Instance "dbtest", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully

C:\>

Maintenant le LISTENER est démarré. Les connexions sont possibles.

 

Démarrage du LISTENER Oracle avec la commande NET START.

 
C:\>
C:\>NET START OracleOraDb10g_home1TNSListener
Le service OracleOraDb10g_home1TNSListener démarre.
Le service OracleOraDb10g_home1TNSListener a démarré.

C:\>

Maintenant le LISTENER est démarré. Les connexions sont possibles.

 

Liens en rapport avec l'article et qui sont susceptibles de vous intéresser
● Description Listener Oracle
● Messages Erreurs LISTENER (ORA-TNS)
● Connection impossible Limite Ressource Processes TNS-12518
● Securité OracleNet Listener Oracle
Par Daniel Roesch - Publié dans : LISTENER - ORACLE NET
Ecrire un commentaire - Voir les 0 commentaires
Retour à l'accueil

Rechercher Articles Oracle SQL sur ce Site.

Loading

À lire aussi…

Download PDF Oracle

Rechercher sur le site

Oracle 10G - DBA -

Syndication

  • Flux RSS des articles
Contact - C.G.U. - Rémunération en droits d'auteur - Signaler un abus - Articles les plus commentés