ORA-01035: only available to users with RESTRICTED SESSION privilege

 以下情況下,可能需要STARTUP RESTRICT,這樣只有一定權限(CREATE SESSION and RESTRICTED SESSION)的用戶可以登陸數據庫

1 Perform an export or import of database data
2 Perform a data load (with SQL*Loader)
3 Temporarily prevent typical users from using data
4 During certain migration and upgrade operations

SQL> startup restrict
ORACLE 例程已經啓動。

Total System Global Area  160504432 bytes
Fixed Size                   453232 bytes
Variable Size             134217728 bytes
Database Buffers           25165824 bytes
Redo Buffers                 667648 bytes
數據庫裝載完畢。
數據庫已經打開。

SQL> select * from v$version;

BANNER

Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production
PL/SQL Release 9.2.0.1.0 - Production
CORE    9.2.0.1.0       Production
TNS for 32-bit Windows: Version 9.2.0.1.0 - Production
NLSRTL Version 9.2.0.1.0 - Production

SQL> conn hr/hr
ERROR:
ORA-01035: ORACLE only available to users with RESTRICTED SESSION privilege

警告: 您不再連接到 ORACLE。

SQL> conn test/test
ERROR:
ORA-01035: ORACLE only available to users with RESTRICTED SESSION privilege

警告: 您不再連接到 ORACLE。

SQL> conn system/maxin as sysdba
已連接。
SQL> alter system disable restricted session;

系統已更改。

SQL> conn test/test
已連接。

發佈了61 篇原創文章 · 獲贊 7 · 訪問量 15萬+
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章