lsnodes Fails with lsnodes: struct size 0 (Doc ID 1339440.1)

Last updated on DECEMBER 29, 2015

Applies to:

Oracle Database - Enterprise Edition - Version 10.2.0.2 to 11.1.0.7 [Release 10.2 to 11.1]
Information in this document applies to any platform.

Symptoms

Trying to install 10.2.0.1 CRS on 2 node RAC with Veritas clusterware, the installation fails at root.sh:

Oracle Cluster Registry configuration upgraded successfully
WARNING: directory '/u01' is not owned by root
clscfg -install -nn nodeA,nodeAnum,nodeB,nodeBnum... -o crshome -l languageid -c clustername -q votedisk [-t p1,p2,p3,p4] [-pn privA,privAnum,privB,privBnum...][-hn hostA,hostAnum,hostB,hostBnum...]

  -o crshome - directory CRS is installed in
  -q votedisk - path to the CSS voting disk
  -c clustername - name of the cluster. 1-14 character string
  -l languageid - Oracle localization language id.
     e.g. AMERICAN_AMERICA.WE8ASCII37C
  -nn name,num - nodename list in pairs of nodename,nodenumber
     If OS clusterware is installed see vendor docs.
     e.g. node1,1,node2,2,node4,4
  -pn name,num - Defines private interconnect names for nodes already specified with the -nn flag.
     Defaults to the nodename if not specified.
  -hn name,num - Defines hostnames for nodes specified with the -nn flag in the same format as above.
......


Further checking reveal /tmp/oraInstall<date>/lsnodes does not work for oracle user:

$ lsnodes
lsnodes: struct size 0


while it works for root user:

$ lsnodes
racnode1
racnode2

Changes

Re-installation of CRS while RDBMS ORACLE_HOME remains.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms