ORA-01035: only available to users with RESTRICTED
2014-10-10 10:02
417 查看
以下情况下,可能需要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
已连接。
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
已连接。
相关文章推荐
- 无法连接到数据库实例: ORA-01035: ORACLE only available to users with RESTRICTED SESSION privilege (D...
- ORA-01035: only available to users with RESTRICTED
- ORA-01035: only available to users with RESTRICTED SESSION privilege
- ORA-01035: ORACLE only available to users with RESTRICTED SESSION privilege
- ORA-01035: ORACLE only available to users with RESTRICTED SESSION
- Allow Users to Authenticate With Username Only Using Devise, ActiveAdmin, Rails 4 and Ruby 2
- The 'Apple Push Notification' feature is only available to users enrolled in Apple Developer Program
- Xcode The 'Apple Push Notification' feature is only available to users enrolled in Apple Develo.
- Xcode The 'Apple Push Notification' feature is only available to users enrolled in Apple Develo...
- Xcode The ‘in-app purchase’ feature is only available to users enrolled in apple developer program
- cmake+gcc解决extended initializer lists only available with -std=c++11 or -std=gnu++11
- Connection to Auxilary Instance failed with ORA-12528
- Connection to Auxilary using connect string failed with ORA-1252: TNS:listener: all appropriate instances are blocking new conne
- ORA-01093: ALTER DATABASE CLOSE only permitted with no sessions connected
- Julia is a high-level, high-performance dynamic programming language for technical computing, with syntax that is familiar to users of other technical
- RAC 中 ORA-12516: TNS: listener could not find available handler with matching protocol stack
- ORA-01093: alter database close only permitted with no sessions connected
- There are multiple modules with names that only differ in casing. This can lead to unexpected....
- ORA-12516: TNS:listener could not find available handler with matching protocol stack
- After new files are added to primary, rman fails at Standby with ORA-20079: Full Resync From Primary