sqlplus / as sysdba敲回车,也是报ORA-12547: TNS:lost contact
追踪错误
/u01/app/oracle/product/11.2.0/db_1/rdbms/log下找trc文件
-rw-r----- 1 oracle asmadmin 439570 Mar 23 14:50 orcl_ora_25781.trc
vi进去查看,报错:ORA-600 [spstp: ORACLE_HOME uid does not match euid],应该还是权限的问题。
查看数据库目录
$ ls -lrt
total 4
drwxrwxr-x. 74 grid oinstall 4096 Mar 23 09:09 dbhome_1
修改权限为oracle:oinstall 后正常安装。
$ chown oracle:oinstall dbhome_1/