ORA-13605: The specified task or object SYS_AUTO_SQL_TUNING_TASK does not exist for the current user.


Alert log:
Errors in file /u01/app/oracle/diag/rdbms/azkktst/AZKKTST/trace/AZKKTST_j000_6201.trc:
ORA-12012: error on auto execute of job "SYS"."ORA$AT_SQ_SQL_SW_45"
ORA-13605: The specified task or object SYS_AUTO_SQL_TUNING_TASK does not exist for the current user.
ORA-06512: at "SYS.PRVT_ADVISOR", line 2735
ORA-06512: at "SYS.DBMS_ADVISOR", line 241
ORA-06512: at "SYS.DBMS_SQLTUNE", line 821
Solution:
bash-3.2$ sqlplus "/ as sysdba";
SQL*Plus: Release 11.2.0.3.0 Production on Thu Jan 22 09:41:00 2015
Copyright (c) 1982, 2011, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> select name,open_mode from v$database;
NAME OPEN_MODE
--------- --------------------
AZKKTST READ WRITE
SQL> 
SQL> @execsqlt.sql
PL/SQL procedure successfully completed.
PL/SQL procedure successfully completed.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: