SP2-0618:Cannot find the Session Identifier.SP2-0611
[oracle@rman1 ~]$ sqlplus /nolog
SQL*Plus: Release 11.2.0.4.0 Production on Mon May 22 14:31:03 2017
Copyright (c) 1982, 2013, Oracle. All rights reserved.
SQL> conn scott/tiger
Connected.
SQL> set autot trace
SP2-0618: Cannot find the Session Identifier. Check PLUSTRACE role is enabled
SP2-0611: Error enabling STATISTICS report
SQL> conn / as sysdba
Connected.
SQL> grant plustrace to scott;
grant plustrace to scott
*
ERROR at line 1:
ORA-01919: role 'PLUSTRACE' does not exist
SQL> @$ORACLE_HOME/sqlplus/admin/plustrce.sql
SQL> drop role plustrace;
drop role plustrace
*
ERROR at line 1:
ORA-01919: role 'PLUSTRACE' does not exist
SQL> create role plustrace;
Role created.
SQL>
SQL> grant select on v_$sesstat to plustrace;
Grant succeeded.
SQL> grant select on v_$statname to plustrace;
Grant succeeded.
SQL> grant select on v_$mystat to plustrace;
Grant succeeded.
SQL> grant plustrace to dba with admin option;
Grant succeeded.
SQL>
SQL> set echo off
SQL>
SQL> grant plustrace to scott;
Grant succeeded.
SQL> conn scott/tiger
Connected.
SQL> set autot trace
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/28572479/viewspace-2139705/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- SP2-0618: Cannot find the Session IdentifierSessionIDE
- SP2-0618: Cannot find the Session Identifier.Check PLUSTRACE role is enabledSessionIDE
- SP2-0618: Cannot find the Session Identifier. Check PLUSTRACE role is enabledSessionIDE
- SP2-0618: Cannot find the Session Identifier. Check PLUSTRACE role is enabledSessionIDE
- 使用普通使用者set autotrace on報錯SP2-0618: Cannot find the Session IdentifierSessionIDE
- 解決cannot find module providing package或cannot find main modulePackageAI
- Cannot find folder "Maintenance Plans".AINaN
- 解決 Cannot find OpenSSL's
- /usr/bin/ld: cannot find -lopenblas
- Cannot find package module sap/cds/commonPackage
- /usr/bin/ld: cannot find -lmysqlclient_rMySqlclient
- IntelliJ IDEA Cannot find declaration to go toIntelliJIdeaGo
- 求救--Cannot find ActionMappings or ActionFormBeans collectionAPPORMBean
- MapStruct-plus cannot find converter fromStruct
- Vue Router Cannot find module 'XXX.vue'Vue
- Go cannot find package "go-sql-driver/mysql" in any ofGoPackageMySql
- 解決Cannot find module '@angular/compiler-cli'AngularCompile
- Cannot find SS.INI file for user *** 解決方法
- 解決“su: cannot open session: Permission denied”Session
- Error: Cannot find configuration directory: /etc/hadoopErrorHadoop
- PHP報錯:?configure: error: Cannot find libmysqlclientPHPErrorIBMMySqlclient
- Cannot find module ‘webpack-cli/bin/config-yargs‘Web
- Python django報錯ImportError: cannot import name find_specPythonDjangoImportError
- SQL2012報錯:cannot find one or more cpmponentsSQL
- Cannot find ActionMappings or ActionFormBeans collection,實在是搞不定了APPORMBean
- 開啟 Word 文件報錯: Cannot find the Word document template:WordToRgm.dot
- How to Find which Session is Holding a Particular Library Cache LockSession
- Vue啟動報錯 Cannot find module 'webpack/bin/config-yargs'VueWeb
- spring cvc-elt.1: Cannot find the declaration of element 'beans'解決辦法SpringBean
- PHP動態編譯出現Cannot find autoconf的解決方法PHP編譯
- Node.js裡Cannot find moudle(針對第三方模組)Node.js
- OPatch cannot find a valid oraInst.loc file to locate Central InventoryAI
- Warning: Cannot send session cookie - headers already sent 解決SessionCookieHeader
- cannot send session cache limiter-headers already sent (output start at ............)SessionMITHeader
- Cannot find a C++ compiler that supports both C++11 and the specified C++ flags.C++Compile
- vue Cannot find module @/xxx/xxx.ts or its corresponding typeVue
- All mirror URLs are not using ftp, http[s] or file. Cannot find a valid baseurl for repo: baseFTPHTTP
- (轉載)關於usr/bin/ld: cannot find -lxxx問題總結