1.报错如下: [oracle@rac1 ~]$ srvctl add service -d rac -s test -r rac1 /u01/app/oracle/product/dbhome_1/jdk/jre/bin/java: error while loading shared libraries: libpthread.so.0: cannot open shared object file: No such file or directory [or
[oracle@rac1 ~]$ srvctl add service -d rac -s test -r "rac1"
/u01/app/oracle/product/dbhome_1/jdk/jre/bin/java: error while loading shared libraries: libpthread.so.0: cannot open shared object file: No such file or directory[oracle@rac1 ~]$ vi .bash_profile
将$ORA_CRS_HOME/bin:放到$ORACLE_HOME/bin:前面----原来是在后面[oracle@rac1 ~]$ source .bash_profile