Dump file d:\oracle\product\10.2.0\admin\ora\bdump\ora_j000_2988.trc
Thu May 19 22:00:01 2011
ORACLE V10.2.0.1.0 - Production vsnsta=0
vsnsql=14 vsnxtr=3
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options
Windows Server 2003 Version V5.2 Service Pack 2
CPU                 : 4 - type 586, 1 Physical Cores
Process Affinity    : 0x00000000
Memory (Avail/Total): Ph:2962M/4085M, Ph+PgF:5047M/5964M, VA:1162M/2047M
Instance name: oraRedo thread mounted by this instance: 1Oracle process number: 88Windows thread id: 2988, image: ORACLE.EXE (J000)
*** SERVICE NAME:(SYS$USERS) 2011-05-19 22:00:01.058
*** SESSION ID:(48.3041) 2011-05-19 22:00:01.058
*** 2011-05-19 22:00:01.058
ORA-12012: 自动执行作业 8887 出错
ORA-02248: 无效的 ALTER SESSION 选项

解决方案 »

  1.   

    ORA-02248: 无效的 ALTER SESSION 选项
    KILL进程的语句。。出错。。
      

  2.   


     ORA-12012

      

  3.   

    我的oracle10g 在执行自动作业‘GATHER_STATS_JOB’时报的这个错误??
      

  4.   


    是自定义收集统计数据的存储过程吗?
    查看一下这个作业执行的具体代码,是否有alter session set xxxx之类的语句
      

  5.   


    进入 EM 中,查看,job->GATHER_STATS_JOB,就可以看到代码了
      

  6.   

    Dump file d:\oracle\product\10.2.0\admin\ora\bdump\ora_j001_1764.trc
    Tue Aug 11 22:00:00 2009
    ORACLE V10.2.0.1.0 - Production vsnsta=0
    vsnsql=14 vsnxtr=3
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    Windows Server 2003 Version V5.2 Service Pack 2
    CPU                 : 4 - type 586, 1 Physical Cores
    Process Affinity    : 0x00000000
    Memory (Avail/Total): Ph:2820M/4085M, Ph+PgF:4866M/5964M, VA:1234M/2047M
    Instance name: oraRedo thread mounted by this instance: 1我也有相同问题,求高手解答!!!Oracle process number: 60Windows thread id: 1764, image: ORACLE.EXE (J001)
    *** SERVICE NAME:(SYS$USERS) 2009-08-11 22:00:00.859
    *** SESSION ID:(57.49082) 2009-08-11 22:00:00.859
    *** 2009-08-11 22:00:00.859
    ORA-12012: 自动执行作业 8886 出错
    ORA-02248: 无效的 ALTER SESSION 选项
      

  7.   


    怎么查看具体代码呀???先从DBA_JOBS.WHAT字段查处是那个过程
    SELECT * FROM DBA_JOBS;
    EMD_MAINTENANCE.EXECUTE_EM_DBMS_JOB_PROCS();
    然后从DBA_SOURCE就可以看到是那个用户的代码了
    SELECT * FROM DBA_SOURCE T WHERE UPPER(T.TEXT) LIKE '%EMD_MAINTENANCE%'