Bonjour à tous,
j'ai cherché sur google, mais je ne trouve rien qui puisse répondre à mon problème car à chaque fois il est écrit: "Vérifiez ça, et puis...."
Sauf que... que faut t-il vérifier??? Je n'en sais rien.
Bref, voici mon problème:
J'ai créé une base de donnée qui fonctionne sans problème.
J'ai créé une seconde base de données, qui a fonctionné hier (juste après sa création), mais maintenant, j'ai une erreur ORA-12505 quand j'essaye de m'y connecter.
Voici les infos que je peux donner:
listener.ora:
tnsnames.ora
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12 # listener.ora Network Configuration File: C:\Users\Philippe\Oracle\product\11.2.0\dbhome_1\network\admin\listener.ora # Generated by Oracle configuration tools. LISTENER = (DESCRIPTION_LIST = (DESCRIPTION = (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521)) (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521)) ) ) ADR_BASE_LISTENER = C:\Users\Philippe\Oracle
lsnrctl status:
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23 # tnsnames.ora Network Configuration File: C:\Users\Philippe\Oracle\product\11.2.0\dbhome_1\network\admin\tnsnames.ora # Generated by Oracle configuration tools. CMDB = (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = cmdb) ) ) SPTF = (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = sptf) ) ) LISTENER_CMDB = (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
(Donc la première base réponds... mais pas sptf...)
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27 C:\Users\Philippe\Oracle\product\11.2.0\dbhome_1\BIN>lsnrctl status LSNRCTL for 32-bit Windows: Version 11.2.0.1.0 - Production on 19-JANV.-2013 15:09:30 Copyright (c) 1991, 2010, Oracle. All rights reserved. Connexion Ó (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521))) STATUT du PROCESSUS D'ECOUTE ------------------------ Alias LISTENER Version TNSLSNR for 32-bit Windows: Version 11.2.0.1.0 - Production Date de dÚpart 19-JANV.-2013 14:52:41 DurÚe d'activitÚ 0 jours 0 heures 16 min. 48 sec Niveau de trace off SÚcuritÚ ON: Local OS Authentication SNMP OFF Fichier de paramÞtres du processus d'Úcoute C:\Users\Philippe\Oracle\product\11.2.0\dbhome_1\network\admin\listener.ora Fichier journal du processus d'Úcoute c:\users\philippe\oracle\diag\tnslsnr\PC-Philippe\listener\alert\log.xml RÚcapitulatif d'Úcoute des points d'extrÚmitÚ... (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1521ipc))) (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1521))) RÚcapitulatif services... Le service "cmdb" comporte 1 instance(s). L'instance "cmdb", statut READY, comporte 1 gestionnaire(s) pour ce service... Le service "cmdbXDB" comporte 1 instance(s). L'instance "cmdb", statut READY, comporte 1 gestionnaire(s) pour ce service... La commande a rÚussi
Et pour finir, lsnrctl services:
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20 C:\Users\Philippe\Oracle\product\11.2.0\dbhome_1\BIN>lsnrctl services LSNRCTL for 32-bit Windows: Version 11.2.0.1.0 - Production on 19-JANV.-2013 15:11:37 Copyright (c) 1991, 2010, Oracle. All rights reserved. Connexion Ó (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521))) RÚcapitulatif services... Le service "cmdb" comporte 1 instance(s). L'instance "cmdb", statut READY, comporte 1 gestionnaire(s) pour ce service... Gestionnaire(s) : "DEDICATED" Útabli : 114 refusÚ : 0 statut : ready LOCAL SERVER Le service "cmdbXDB" comporte 1 instance(s). L'instance "cmdb", statut READY, comporte 1 gestionnaire(s) pour ce service... Gestionnaire(s) : "D000" Útabli : 0 refusÚ : 0 en cours : 0 max. : 1022 statut : ready DISPATCHER <machine: PC-Philippe, pid: 3784> (ADDRESS=(PROTOCOL=tcp)(HOST=PC-Philippe)(PORT=4773)) La commande a rÚussi
Toute aide est la bienvenue !!
Merci !
Philippe
Partager