Mais vous rencontrez les messages d'erreur:
SQL> alter system set
remote_listener='cluster-scan:1521' scope=both sid='*';
alter system set remote_listener='cluster-scan:1521' scope=both sid='*'
*
ERROR at line 1:
ORA-02097: parameter cannot be modified because specified value is invalid
ORA-00119: invalid specification for system parameter REMOTE_LISTENER
ORA-00132: syntax error or unresolved network name 'cluster-scan:1521'
alter system set remote_listener='cluster-scan:1521' scope=both sid='*'
*
ERROR at line 1:
ORA-02097: parameter cannot be modified because specified value is invalid
ORA-00119: invalid specification for system parameter REMOTE_LISTENER
ORA-00132: syntax error or unresolved network name 'cluster-scan:1521'
Cependant vous êtes sûr que le SCAN n'est pas en cause:
[oracle@svrhost1 ~]$ nslookup
cluster-scan
Server: 192.41.50.104
Address: 192.41.50.104#53
Name: cluster-scan.domaine.com
Server: 192.41.50.104
Address: 192.41.50.104#53
Name: cluster-scan.domaine.com
Address:
192.51.242.106
Name: cluster-scan.domaine.com
Address: 192.51.242.108
Name: cluster-scan.domaine.com
Address: 192.51.242.107
[oracle@srvhost1 ~]$
Name: cluster-scan.domaine.com
Address: 192.51.242.108
Name: cluster-scan.domaine.com
Address: 192.51.242.107
[oracle@srvhost1 ~]$
Le problème est tout simplement dû au fait que l'on utilise une chaine de connexion EZCONNECT.
Solution:
Dans le fichier sqlnet.ora local, ajouter EZCONNECT à la ligne NAMES.DIRECTORY_PATH=(TNSNAMES)
La ligne devient:
NAMES.DIRECTORY_PATH=(TNSNAMES,EZCONNECT).
Hope it helps.
Aucun commentaire:
Enregistrer un commentaire