Introduction:
This week had one of those days where after working together with customer and Oracle Consultant one of the Rac Databases needed a restart due to a variable change. Together with customer it was decided to restart second instance first so first took care of the environment by enabling a Maintenance mode so our monitoring tool would not strike me with tickets.
The second instance was friendly:
- the shutdown: srvctl stop instance -d -i went smooth .
- the startup: srvctl start instance -d -i went smooth .
Then i performed same steps on first Instance:
- the shutdown: srvctl stop instance -d -i went smooth .
- the startup: srvctl start instance -d -i failed with an error message that puzzled me a lot .
ORA-00132: syntax error or unresolved network name ‘myserver-scan:33000’
I checked my scan listener settings:
oracle@myserver-s1:/opt/oracle [CRS]#
SCAN Listener LISTENER_SCAN1 is enabled
SCAN listener LISTENER_SCAN1 is running on node myserver-s4
SCAN Listener LISTENER_SCAN2 is enabled
SCAN listener LISTENER_SCAN2 is running on node myserver-s2
SCAN Listener LISTENER_SCAN3 is enabled
SCAN listener LISTENER_SCAN3 is running on node myserver-s3
oracle@myserver-s1:/opt/oracle [CRS]# srvctl config scan_listener
SCAN Listener LISTENER_SCAN1 exists. Port: TCP:33000
SCAN Listener LISTENER_SCAN2 exists. Port: TCP:33000
SCAN Listener LISTENER_SCAN3 exists. Port: TCP:33000
Crs agent log showed same error and i could not start the instance via the srvctl tool. The error suggested that my remote listener ( i am using scan ) was the issue.. But the remote listener was not even part of my tnsnames.ora, since my spfile value for the remote listener = myserver-scan:33000.
That was soo confusing. Well I attempted to start the Instance via sqlplus and that worked. I checked the cluster and it reported ONLINE ONLINE on the resource so the first pressure was off.
To solve it , make sure that the sqlnet.ora is similar on all environments and it seems to need the ezconnect information in there ( in names.directory_path).([ID 1318026.1])
Happy reading
Mathijs