1.报错内容:
下午看到一个文件夹似乎权限有问题然后就执行chown -R .....
结果:
ERROR:
ORA-12547: TNS:lost contact
[oracle@racnode1 ~]$ sqlplus "/as sysdba"
SQL*Plus: Release 11.2.0.2.0 Production on Mon Jan 21 17:03:25 2013
Copyright (c) 1982, 2010, Oracle. All rights reserved.
Connected to an idle instance.
SQL> startup
ORA-01078: failure in processing system parameters
ORA-01565: error in identifying file '+RACDB_DATA/racdb/spfileracdb.ora'
ORA-17503: ksfdopn:2 Failed to open file +RACDB_DATA/racdb/spfileracdb.ora
ORA-12547: TNS:lost contact
SQL>
2.解决
(1)
/u01/app/oracle/product/11.2.0/dbhome_1/bin
[oracle@racnode1 bin]$ ls -tl oracle
-rwsrwsrwx 1 oracle asmadmin 228886426 Jan 16 15:15 oracle* ---如果没有S属性chmod +s oracle
(2)与前面类似只是一个是ORACLE一个是GRID用户下
[grid@racnode1 ~]$ cd $ORACLE_HOME/bin
[grid@racnode1 bin]$ ls -tl oracle
-rwsr-s--x 1 grid oinstall 200678430 Jan 16 09:55 oracle*
[grid@racnode1 bin]$ pwd
/u01/app/11.2.0/grid/bin