rac ORA-01012 not logged on

$ORACLE_HOME/BIN/oracle的用户权限和组权限中s沾滞位的问题

[oracle@rac1 bin]$ cd $ORACLE_HOME
[oracle@rac1 db_home]$ cd bin
[oracle@rac1 bin]$ ll oracle
-rwsr-s--x 1 oracle asmadmin 239626641 Aug 9 04:31 oracle
[oracle@rac1 bin]$ chmod u-s oracle
[oracle@rac1 bin]$ ll oracle
-rwxr-x--x 1 oracle asmadmin 239626641 Aug 9 04:31 oracle
[oracle@rac1 bin]$ chmod u+s oracle
[oracle@rac1 bin]$ ll oracle
-rwsr-x--x 1 oracle asmadmin 239626641 Aug 9 04:31 oracle
[oracle@rac1 bin]$ chmod g+s oracle
[oracle@rac1 bin]$ ll oracle
-rwsr-x--x 1 oracle asmadmin 239626641 Aug 9 04:31 oracle
[oracle@rac1 bin]$ sqlplus / as sysdba

SQL*Plus: Release 11.2.0.4.0 Production on Thu Sep 1 06:34:48 2016

Copyright (c) 1982, 2013, Oracle. All rights reserved.

Connected.
SQL> select open_mode from gv$database;
select open_mode from gv$database
*
ERROR at line 1:
ORA-01012: not logged on
Process ID: 0
Session ID: 0 Serial number: 0


SQL> quit
Disconnected
[oracle@rac1 bin]$ sqlplus / as sysdba

SQL*Plus: Release 11.2.0.4.0 Production on Thu Sep 1 06:36:18 2016

Copyright (c) 1982, 2013, Oracle. All rights reserved.

Connected.
SQL> show parameter name
ORA-01012: not logged on
Process ID: 0
Session ID: 0 Serial number: 0


SQL> quit
Disconnected
[oracle@rac1 bin]$ lsnrctl status

LSNRCTL for Linux: Version 11.2.0.4.0 - Production on 01-SEP-2016 06:36:31

Copyright (c) 1991, 2013, Oracle. All rights reserved.

Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
STATUS of the LISTENER
------------------------
Alias LISTENER
Version TNSLSNR for Linux: Version 11.2.0.4.0 - Production
Start Date 01-SEP-2016 06:22:29
Uptime 0 days 0 hr. 14 min. 2 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /u01/app/11.2.0/grid/network/admin/listener.ora
Listener Log File /u01/app/grid/diag/tnslsnr/rac1/listener/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=LISTENER)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=192.168.56.101)(PORT=1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=192.168.56.103)(PORT=1521)))
Services Summary...
Service "+ASM" has 1 instance(s).
Instance "+ASM1", status READY, has 1 handler(s) for this service...
Service "orcl" has 1 instance(s).
Instance "orcl1", status READY, has 1 handler(s) for this service...
Service "orclXDB" has 1 instance(s).
Instance "orcl1", status READY, has 1 handler(s) for this service...
The command completed successfully
[oracle@rac1 bin]$ ll oracle
-rwsr-x--x 1 oracle asmadmin 239626641 Aug 9 04:31 oracle
[oracle@rac1 bin]$ chmod g+s oracle
[oracle@rac1 bin]$ ll oracle
-rwsr-x--x 1 oracle asmadmin 239626641 Aug 9 04:31 oracle
[oracle@rac1 bin]$ pwd
/u02/app/oracle/product/11.2.0/db_home/bin
[oracle@rac1 bin]$ exit
logout
[root@rac1 ~]# cd /u02/app/oracle/product/11.2.0/db_home/bin
[root@rac1 bin]# chmod g+s oracle
[root@rac1 bin]# ll oracle
-rwsr-s--x 1 oracle asmadmin 239626641 Aug 9 04:31 oracle
[root@rac1 bin]# su - oracle
[oracle@rac1 ~]$ sqlplus / as sysdba

SQL*Plus: Release 11.2.0.4.0 Production on Thu Sep 1 06:41:07 2016

Copyright (c) 1982, 2013, Oracle. All rights reserved.


Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
With the Partitioning, Real Application Clusters, Automatic Storage Management, OLAP,
Data Mining and Real Application Testing options

SQL> select open_mode from gv$database;

OPEN_MODE
--------------------
READ WRITE
READ WRITE

SQL> quit
Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
With the Partitioning, Real Application Clusters, Automatic Storage Management, OLAP,
Data Mining and Real Application Testing options
[oracle@rac1 ~]$

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值