SQL error "-601" occurred when accessing table "SMEN_BUFFC

Hi Guys
I am getting the above error at tiem when i am logging on.
The actual error message in the st22 dump is
Database error text........: "SMEN_BUFH5 in R3EPT32000 type *SQLPKG already    
exists. Job=018343/EPT01/WP00" 
The termination occurred in the ABAP/4 program "SAPLSMTR_NAVIGATION_MODULES "
in                                                                          
"SMTR_STRU_PROCESS_STRUCTURE".                                               
The main program was "SAPLSMTR_NAVIGATION ". 
This seems to happen when some users log on to the system and then tries to change their password. If I stop sap and start it again, the rror goes away.
I have actually deleted the sql package with the command
DLTSQLPKG R3EPT32000\SMEN_BUFH5.
This seem to work but after a while the erro comes back again

Dear Christian,
at the moment in our Productive system we have hundreds of Dumps: nearly at every log on user get a DUMP with the well known message.
Analyzing develoepr trace we find following information:
C Wed Mar 14 09:54:35 2007    
C  Concurrent prepare happened for SIPID
C  Library name: R3S1132000                                                                           
C  Package name: SMEN_BUFH5
C  Statement name: "QL1YQAAAAAFC"
C  SQL Error: -601
C  *** ERROR => Error -601 in function prep_cached_op [dbsldb4.cpp  7057]
C  Library name: R3S1132000                                                                           
C  Package name: SMEN_BUFH5
C  Statement name: "QL1YQAAAAAFC" 
C  Failing statement is:                                                                               
C  , SELECT   *   FROM  R3S11DATA/"SMEN_BUFFC" WHERE  "MANDT" = ? AND  "UNAME" = ?  WITH UR           
B  ***LOG BY4=> sql error -601   performing PRE on table SMEN_BUFFC [dbtran  7009 ]                   
B  ***LOG BY0=> SMEN_BUFH5 in R3S1132000 tipo *SQLPKG esiste gi{. Job=251690/S1100/WP12 [dbtran  7009 ]
B  dbtran ERROR LOG (hdl_dbsl_error): DbSl 'PRE'                                                      
B   FHDR: {tab='SMEN_BUFFC                    ',
fcode=53, mode=2, bpb=0, dbcnt=0, crsr=1,
B          hold=0, keep=1, xfer=2, pkg=0, upto=0, init:b=0,                                           
B          init:p=0000000000000000, init:#=278, wa:p=0000000000000000, wa:#=278}                      
B  dbtran ERROR LOG (hdl_dbsl_error): DbSl 'PRE'                                                      
B   STMT:                                    
B   CRSR: {tab='SMEN_BUFFC                    ', id=-1, hold=0, prop=0x10000, max.in@0=1, fae:blk=10, 
B          con:nm='R/3', con:id=0, con:vndr=2, val=2,                                                 
B          key:1=0, key:#=6, xfer=2, xin:#=0, xout:#=0, upto=0,                                       
B          wa:p=000000800440C380, init:p=00000090D4CF4DF8, init:#=15, init:b=0}                       
Additionaly we also tried to delete only mentioned SQL package (while system was running), but without succes.
What do you think?
Giuseppe

Similar Messages

  • SQL error 60 occurred when accessing table "STXH ".

    Hi Friends,
    I have written a BAPI to create a sales order wihch would store the Texts in differant Text id like, operating comments, shipping instructinos, warehouse instructions and the table stored in the table STXH.
    In my program i am trying to insert three type of Text id ...Operating instructions, Shipping instructions and Warehouse information.  If i am running through the debug, the sales order is created and the respective Text Ids are stored in the respetive Text Id.  But when  just run the progam, it gives me an error saying the table in / wa sin a deadlock sitation.
    Has anyone faced this kind of situation.  Pls suggest me ad as also this is an urgetnt sittuation here.
    Thanks in advance.
    Venky.

    Hi Santhosh,
    Didn't get a chance to log into this for a long time.  I am again facing this problem after using this function for a differant object.  Is there any other possible way ?
    Thanks,
    Venky.

  • Runtime error SQL error 3114 occurred when accessing program CX_ w

    Hi Friends,
    Iam in a big mess . I have one query based on one my Zinfocube.This query ia attached in the workbook .. Previuolsy all was fine , but now whever iam executing this query it is throwing me the exception
    Query 0: Runtime error SQL error 3114 occurred when accessing program CX_ with parallel processing via RFC.
    and
    Beim Lesen der Daten sind Fehler aufgetreten. Navigation ist möglich
    I am not able to get the cause of error ..
    Can anybody help me in this regrd as its a bit urgent.
    Thanks in advance..

    Hi , thanks for replying ,
    I have tried running query through RSRT also , its not working still it is giving me the same error .
    In st22 it is showing me the follwing dump.
    DBIF_REPO_SQL_ERROR
    Short text
        SQL error 3114 occurred when accessing program
    What happened?
        The system is no longer linked to an ORACLE instance.
        No further operations can be performed on the database.
    What can you do?
        You cannot eliminate this error yourself.
        Please inform your database administrator.
        Note which actions and input led to the error.
        For further help in handling the problem, contact your SAP administrator
        You can use the ABAP dump analysis transaction ST22 to view and manage
        termination messages, in particular for long term reference.
        Note which actions and input led to the error.
        For further help in handling the problem, contact your SAP administrator
        You can use the ABAP dump analysis transaction ST22 to view and manage
        termination messages, in particular for long term reference.
    Error analysis
        The system attempted to access an ORACLE instance to which
        it is no longer linked.
        This situation may arise because the ORACLE instance
        has been stopped due to an error or an external operation.
    How to correct the error
        Database error text........: "ORA-03114: not connected to ORACLE"
        Triggering SQL statement...: "CX_SQL_EXCEPTION==============CP "
        The current status of the ORACLE instance cannot be determined.
        It may be still inactive or the database administrator may have
        restarted it.
        In any case, all systems that have accessed the ORACLE instance
        must be restarted after the ORACLE instance has been restarted.
        If you were working on a central system, inform
        your system administrator.
        If you were working on an external local system, inform
        the person responsible for this system.
        If you were working on your own local system, restart
        the system yourself.
        If the error occures in a non-modified SAP program, you may be able to
        find an interim solution in an SAP Note.
        If you have access to SAP Notes, carry out a search with the following
        keywords:
        "DBIF_REPO_SQL_ERROR" " "
        "CL_SQL_RESULT_SET=============CP" or "CL_SQL_RESULT_SET=============CM006"
        "NEXT_PACKAGE"
        If you cannot solve the problem yourself and want to send an errornotification to SAP, include the following information:
    1. The description of the current problem (short dump)
       To save the description, choose "System->List->Save->Local File
    (Unconverted)".
    2. Corresponding system log
       Display the system log by calling transaction SM21.
       Restrict the time interval to 10 minutes before and five minutes
    after the short dump. Then choose "System->List->Save->Local File
    (Unconverted)".
    3. If the problem occurs in a problem of your own or a modified SAP
    program: The source code of the program
       In the editor, choose "Utilities->More
    Utilities->Upload/Download->Download".
    4. Details about the conditions under which the error occurred or which
    actions and input led to the error.
    If the error occures in a non-modified SAP program, you may be able to
    find an interim solution in an SAP Note.
    If you have access to SAP Notes, carry out a search with the following
    keywords:
    "DBIF_REPO_SQL_ERROR" " "
    "CL_SQL_RESULT_SET=============CP" or "CL_SQL_RESULT_SET=============CM006"
    "NEXT_PACKAGE"
    Thanks in Advance..

  • SQL Error 3114 occured when accessing program CX_

    Hi there,
    I have build an infoset on a infocube and ODS. On this infoset I've build a query using a calculated key figure: Availibility%
    Inside this key figure I have 2 restricted key figures: Allocation and Availibility
    When I execute this query I get the error: "SQL Error 3114 occured when accessing program CX_"
    If I remove the calculated key figure from the columns it works fine. If I place one of the 2 restricted key figures in the query it also work fine. But If i place both the restricted key figures in the columns, I also get the error. Or If I place the calculated key figure in the columns, I also get the error. Does somebody know what the problem is?

    No they don't show me the problem. I've executed with RSRT transaction and I;ve got this error with the ABAP-debugger:
      error in >> l_repid       <<
                >> l_include     <<
                >> l_source_line <<

  • SQL error 3113 occurred when executing EXEC SQL.

    Hi,
    We are facing one typical problem, One background is failing regularly with
    below dump. as we now got all notes giving information, if database  restarted
    taking backup, these type of failures occur, but our database is only down for backup once in a week, but it is failing with frequenly.
    in this two servers are located in different place, in this job tries to connect
    another server to get material statistics.
    It is giving some error message in sm21 with
    SQL error 3113 occurred when executing EXEC SQL.
    work procees in reconnect mode.
    all notes saying these types of dump occur when database restared, but this dump
    even though database is up.
    below is short dump, please can anyone help me from this problem.
    ABAP runtime errors    DBIF_DSQL2_SQL_ERROR
          Occurred on    08.01.2007 at 00:30:28
    >> Short dump has not been completely stored. It is too big.
    SQL error 3113 occurred when executing EXEC SQL.
    What happened?
    The error occurred in the current database connection "AZ1".
    What can you do?
    Note the actions and input that caused the error.
    Inform your SAP system administrator.
    You can print out this message by choosing "Print". Transaction ST22
    allows you to display and manage termination messages, including keeping
    them beyond their normal deletion date.
    Error analysis
    How to correct the error
    Database error text........: "ORA-03113: end-of-file on communication channel#"
    Triggering SQL statement...: "select mara.groes, mara.brgew, mara.ntgew,
    mara.gewei, mara.volum, mara.voleh, mara.mstae, mara.mstde, mara.prdha,
    marc.matnr, marc.werks, marc.mmsta, marc.mmstd from sapr3.mara, sapr3.m
    where sapr3.mara.mandt = sapr3.marc.mandt and sapr3.mara.matnr =
    Internal call code.........: "[DBDS/NEW DSQL]"
    Please check the entries in the system log (Transaction SM21).
    If the error occurred in a non-modified SAP program, you may be
    able to find a solution in the SAP note system.
    If you have access to the note system yourself, use the following
    search criteria:
    "DBIF_DSQL2_SQL_ERROR"
    "ZM2431216 " or "ZM2431216 "
    "EXTRACT_GENERAL_DATA"
    If you cannot solve the problem yourself, please send the
    following documents to SAP:
    1. A hard copy print describing the problem.
      To obtain this, select the "Print" function on the current screen.
    2. A suitable hardcopy prinout of the system log.
      To obtain this, call the system log with Transaction SM21
      and select the "Print" function to print out the relevant
      part.
    3. If the programs are your own programs or modified SAP programs,
      supply the source code.
      To do this, you can either use the "PRINT" command in th
      print the programs using the report RSINCL00.
    4. Details regarding the conditions under which the error o
      or which actions and input led to the error.
    System environment
    SAP Release.............. "46C"
    Application server....... "essceu3"
    Network address.......... "172.19.119.198"
    Operating system......... "AIX"
    Release.................. "5.3"
    Hardware type............ "00C7ADBD4C00"
    Database server.......... "ukblx176"
    Database type............ "ORACLE"
    Database name............ "EU3"
    Database owner........... "SAPR3"
    Character set............ "es_ES.ISO8859-1"
    SAP kernel............... "46D"
    Created on............... "Jul 9 2006 20:26:33"
    Created in............... "AIX 1 5 00447C4A4C00"
    Database version......... "OCI_920__OCI_7_API "
    Patch level.............. "2257"
    Patch text............... " "
    Supported environment....
    Database................. "ORACLE 8.0.5.., ORACLE 8.0.6.., ORACLE
    8.1.6.., ORACLE 8.1.7.., ORACLE 9.2.0.., ORACLE 10.2.0.."
    SAP database version..... "46D"
    Operating system......... "AIX 1 4, AIX 2 4, AIX 3 4, AIX 1 5, AIX 2 5, AIX 3
    5, , System build information:,                                      , LCHN :
    841480"
    User, transaction...
    Client.............. 600
    User................ "MPZMMES"
    Language key........ "S"
    Transaction......... " "
    Program............. "ZM2431216 "
    Screen.............. "SAPMSSY0 1000"
    Screen line......... 6
    Information on where termination occurred
    The termination occurred in the ABAP/4 program "ZM2431216 " in
    "EXTRACT_GENERAL_DATA".
    The main program was "ZM2431216 ".
    The termination occurred in line 980
    of the source code of program "ZM2431216 " (when callin
    The program "ZM2431216 " was started as a background jo
    Source code extract
    009500              mara.ntgew,
    009510              mara.gewei,
    009520              mara.volum,
    009530              mara.voleh,
    009540              mara.mstae,
    009550              mara.mstde,
    009560              mara.prdha,
    009570              marc.matnr,
    009580              marc.werks,
    009590              marc.mmsta,
    009600              marc.mmstd
    009610        into :w_ops-groes,
    009620              :w_ops-brgew,
    009630              :w_ops-ntgew,
    009640              :w_ops-gewei,
    009650              :w_ops-volum,
    009660              :w_ops-voleh,
    009670              :w_ops-mstae,
    009680              :w_ops-mstde,
    009690              :w_ops-prdha,
    009700              :w_ops-matnr,
    009710              :w_ops-werks,
    009720              :w_ops-mmsta,
    009730              :w_ops-mmstd
    009740        from sapr3.mara, sapr3.marc
    009750        where sapr3.mara.mandt = sapr3.marc.mandt
    009760          and sapr3.mara.matnr = sapr3.marc.matnr
    009770          and sapr3.mara.mandt = :p_mandt
    009780          and sapr3.mara.matnr = :w_ebs-matnr
    009790          and sapr3.marc.werks = :p_owerks
        >    ENDEXEC.
    009810  endform.                    " extract_general_data
    009820  *&
    009830  *&      Form  append_i_ops
    009840  *&
    009850  *      Appends W_OPS to I_OPS
    009860  *
    009870  form append_i_ops.
    009880    append w_ops to i_ops.
    009890  endform.                    " append_i_ops
    009900  *&
    009910  *&      Form  extract_material_description
    009920  *&
    009930  *      Extracts a Material Description from the remote database an
    009940  *      modifies the current record in I_OPS.
    009950  *
    009960  *        >P_SPRAS  Language Key
    009970  *
    009980  form extract_material_description using    p_spras.
    009990    EXEC sql performing set_langauge.
    Contents of system fields
    SY field contents..................... SY field contents............
    SY-SUBRC 0                            SY-INDEX 0
    SY-TABIX 1                            SY-DBCNT 1
    SY-FDPOS 18                            SY-LSIND 0
    SY-PAGNO 0                            SY-LINNO 1
    SY-COLNO 1
    Chosen variables
    Name.......................... Contents.1........2........3....+..
    W_EBS-PRAT4
                                  2
                                  0
    W_OPS-GROES
                                  22222222222222222222222222222222
                                  00000000000000000000000000000000
    W_OPS-BRGEW                    #######
                                  0000000
                                  000000C
    W_OPS-NTGEW                    #######
                                  0000000
                                  000000C
    regards,
    krishnaiah.

    Hi,
    This is usually a SERVER SIDE DATABASE PROBLEM or SQLNET LISTENER (server side) PROBLEM.  The client side should initially be ignored and instead the server should be investigated. In rare cases, this can be caused by client
    side memory or other resource problem, or a DLL version mismatch, but this is
    unlikely.
    Enlist the assistance of your DBA.  Then reproduce the ORA-3113 error on your
    client application.  Ask your DBA to look at the database side Alert.log and
    trace files and look for ANY activity.  Any activity that coincides with your
    ORA-3113 will be a clue.
    REgards
    Vinod

  • MCOD Installation - Error ORA-1403 when accessing table SAPUSER

    Hello.
    We are in middle of a MCOD installation of 4.7 x 2.00 SR1 with BW 3.1 on Windows 2003/Oracle.
    BW 3.1 is up and running, while 4.7 fails on R3loads.
    Following are SAP000.log and SAPUSER.log files:
    SAP000.log
    ===============================
    D:\usr\sap\D11\SYS\exe\run/R3load.exe: START OF LOG: 20060507193904
    D:\usr\sap\D11\SYS\exe\run/R3load.exe: sccsid @(#) $Id: //bas/640_REL/src/R3ld/R3load/R3ldmain.c#4 $ SAP
    D:\usr\sap\D11\SYS\exe\run/R3load.exe: version R6.40/V1.4
    D:\usr\sap\D11\SYS\exe\run/R3load.exe -dbcodepage 1100 -i D:\Program Files\sapinst_instdir\R3E_472SR1_ABAP_NUC\DB/SAP0000.cmd -l D:\Program Files\sapinst_instdir\R3E_472SR1_ABAP_NUC\DB/SAP0000.log -stop_on_error
    DbSl Trace: ORA-1403 when accessing table SAPUSER
    (DB) INFO: connected to DB
    (DB) INFO: DbSlControl(DBSL_CMD_NLS_CHARACTERSET_GET): WE8DEC
    (DB) ERROR: DDL statement failed
    (DROP TABLE "REPOLOAD")
    DbSlExecute: rc = 103
      (SQL error 942)
      error message returned by DbSl:
    ORA-00942: table or view does not exist
    (IMP) INFO: a failed DROP attempt is not necessarily a problem
    DbSl Trace: ORA-406 occured when executing SQL statement (parse error offset = 0)
    (DB) ERROR: DDL statement failed
    (CREATE TABLE "REPOLOAD" ( "PROGNAME" VARCHAR2(40) DEFAULT ' ' NOT NULL , "R3STATE" VARCHAR2(1) DEFAULT ' ' NOT NULL , "MACH" NUMBER(5) DEFAULT 0 NOT NULL , "UNAM" VARCHAR2(12) DEFAULT ' ' NOT NULL , "UDAT" VARCHAR2(8) DEFAULT '00000000' NOT NULL , "UTIME" VARCHAR2(6) DEFAULT '000000' NOT NULL , "L_DATALG" NUMBER(10) DEFAULT 0 NOT NULL , "Q_DATALG" NUMBER(10) DEFAULT 0 NOT NULL , "SDAT" VARCHAR2(8) DEFAULT '00000000' NOT NULL , "STIME" VARCHAR2(6) DEFAULT '000000' NOT NULL , "MINOR_VERS" NUMBER(5) DEFAULT 0 NOT NULL , "MAJOR_VERS" NUMBER(10) DEFAULT 0 NOT NULL , "LDATA" BLOB , "QDATA" BLOB  ) TABLESPACE PSAPD11620 STORAGE (INITIAL 0000000016K NEXT 0000040960K MINEXTENTS 0000000001 MAXEXTENTS 2147483645 PCTINCREASE 0 ) )
    DbSlExecute: rc = 99
      (SQL error 406)
      error message returned by DbSl:
    ORA-00406: COMPATIBLE parameter needs to be 9.2.0.0.0 or greater
    (DB) INFO: disconnected from DB
    D:\usr\sap\D11\SYS\exe\run/R3load.exe: job finished with 1 error(s)
    D:\usr\sap\D11\SYS\exe\run/R3load.exe: END OF LOG: 20060507193905
    ========================================
    SAPUSER.log
    ==============================
    D:\usr\sap\D11\SYS\exe\run/R3load.exe: START OF LOG: 20060507193834
    D:\usr\sap\D11\SYS\exe\run/R3load.exe: sccsid @(#) $Id: //bas/640_REL/src/R3ld/R3load/R3ldmain.c#4 $ SAP
    D:\usr\sap\D11\SYS\exe\run/R3load.exe: version R6.40/V1.4
    D:\usr\sap\D11\SYS\exe\run/R3load.exe -dbcodepage 1100 -i D:\Program Files\sapinst_instdir\R3E_472SR1_ABAP_NUC\DB/SAPUSER.cmd -l D:\Program Files\sapinst_instdir\R3E_472SR1_ABAP_NUC\DB/SAPUSER.log -stop_on_error
    DbSl Trace: ORA-1403 when accessing table SAPUSER
    (DB) INFO: connected to DB
    (DB) INFO: DbSlControl(DBSL_CMD_NLS_CHARACTERSET_GET): WE8DEC
    (DB) INFO: disconnected from DB
    D:\usr\sap\D11\SYS\exe\run/R3load.exe: job completed
    D:\usr\sap\D11\SYS\exe\run/R3load.exe: END OF LOG: 20060507193835
    ==============================================
    Kindly look into it.
    Thanks
    KT

    Hi KT,
    Actually the problem is not ORA-1403, but the <i>ORA-00406: COMPATIBLE parameter needs to be 9.2.0.0.0 or greater</i>.
    Please update the COMPATIBLE parameter in your init<SID>.ora file and restart the database. This should fix your problem.
    Kind regards,
    Alexander Webster
    P.S. points are appreciated if my reply was helpfull.
    Message was edited by: Alexander Webster
    Removed typo

  • ORA-1403 when accessing table SAPUSER

    Hi all,
    I was performed  from Windows 2003 R2 32bit to Windows 2008 R2 64bit for Homogeneous system copy for SAP ERP 6.0 SR2.
    I occure error during Importing on Windows 2008 R2 64bit using sapinst.exe of Install Master ERP 2005 SR2.
    Source system : Windows 2003 R2 32bit + Oracle 10.2.0.2 + ERP 2005 SR2 with  Non-Unicode
    Target system :  Windows 2008 R2 64bit + Oracle 10.2.0.5 + ERP 2005 SR2 with  Non-Unicode
    The step  is stop "Import ABAP"
    1. Error detail log
    D:\usr\sap\MAR\SYS\exe\nuc\NTAMD64\R3load.exe: sccsid @(#) $Id: //bas/700_REL/src/R3ld/R3load/R3ldmain.c#13 $ SAP
    D:\usr\sap\MAR\SYS\exe\nuc\NTAMD64\R3load.exe: version R7.00/V1.4
    Compiled Jul 16 2007 22:44:14
    D:\usr\sap\MAR\SYS\exe\nuc\NTAMD64\R3load.exe -dbcodepage 1100 -i test_MIGKEY.cmd -l test_MIGKEY.log -K
    DbSl Trace: ORA-1403 when accessing table SAPUSER
    (DB) INFO: connected to DB
    (DB) INFO: DbSlControl(DBSL_CMD_NLS_CHARACTERSET_GET): WE8DEC
    (CNV) ERROR: rscpMCActivate rc = 2048
    --------------------------------------5-
    code: 2048  RSCPENOCONV 
    in character code "MDMP" unknown                                   
    module: rscpc    location:   22 line: 14584
    TSL01: F43  p3: MDMP      
    D:\usr\sap\MAR\SYS\exe\nuc\NTAMD64\R3load.exe: job finished with 1 error(s)
    D:\usr\sap\MAR\SYS\exe\nuc\NTAMD64\R3load.exe: END OF LOG: 20140924032758
    2. R3load test connection error
    C:\Users\maradm.IDES>R3load.exe -testconnect
    sapparam: sapargv( argc, argv) has not been called.
    sapparam(1c): No Profile used.
    sapparam: SAPSYSTEMNAME neither in Profile nor in Commandline
    R3load.exe: START OF LOG: 20140924033549
    R3load.exe: sccsid @(#) $Id: //bas/700_REL/src/R3ld/R3load/R3ldmain.c#13 $ SAP
    R3load.exe: version R7.00/V1.4
    Compiled Jul 16 2007 22:44:14
    R3load.exe -testconnect
    DbSl Trace: ORA-1403 when accessing table SAPUSER
    (DB) INFO: connected to DB
    (DB) INFO: DbSlControl(DBSL_CMD_NLS_CHARACTERSET_GET): WE8DEC
    (DB) INFO: disconnected from DB
    R3load.exe: job completed
    R3load.exe: END OF LOG: 20140924033549
    C:\Users\maradm.IDES>
    3. R3trans connect test error
    C:\Users\maradm.IDES>R3trans -d .
    This is R3trans version 6.14 (release 700 - 15.06.07 - 15:50:00).
    2EETW000 sap_dext called with msgnr "2":
    2EETW000 ---- db call info ----
    2EETW000 function:   db_ntab
    2EETW000 fcode:      NT_RDTDESCR
    2EETW000 tabname:    TADIR
    2EETW000 len:        5
    2EETW000 key:        TADIR
    2EETW000 retcode:    2
    R3trans finished (0012).
    trans.log
    4 ETW000  [dev trc     ,00000]         SELECT USERID, PASSWD FROM SAPUSER WHERE USERID IN (:A0, :A1)                                                            
    4 ETW000                                                                             393  0.034113
    4 ETW000  [dbsloci.    ,00000]  *** ERROR => ORA-1403 when accessing table SAPUSER
    4 ETW000                                                                             429  0.034542
    4 ETW000  [dev trc     ,00000]     set_ocica() -> OCI or SQL return code 1403         14  0.034556
    4 ETW000  [dev trc     ,00000]  Disconnecting from connection 0 ...                   12  0.034568
    4 ETW000  [dev trc     ,00000]  Rolling back transaction ...                          10  0.034578
    4 ETW000  [dev trc     ,00000]  Closing user session (con_hdl=0,svchp=000000000025BF58,usrhp=000000000AC98A60)
    4 ETW000                                                                             221  0.034799
    4 ETW000  [dev trc     ,00000]  Now I'm disconnected from ORACLE                     413  0.035212
    4 ETW000  [dev trc     ,00000]  Try to connect with default password                  21  0.035233
    4 ETW000  [dev trc     ,00000]  Connecting as SAPSR3/<pwd>@MAR on connection 0 (nls_hdl 0) ... (dbsl 700 250407)
    4 ETW000                                                                              24  0.035257
    4 ETW000  [dev trc     ,00000]  Nls CharacterSet                 NationalCharSet              C      EnvHp      ErrHp ErrHpBatch
    4 ETW000                                                                              27  0.035284
    4 ETW000  [dev trc     ,00000]    0 WE8DEC                                                    1 0000000000253E70 000000000025C098 00000000002640F8
    4 ETW000                                                                              12  0.035296

    Hi Vagesan,
    Thank you for your reply
    First i try to connection test via R3load -testconnect
       It is ok.
       This problem not correct password of SAPR3. so i modify table SAPUSER OF OPS$ schema. I refer to Note 400241  - Problems with ops$ or sapr3 connect to Oracle
    Second.
    I retry SAPINST gui of sapinst.exe with button "retry".
    but this error message the below.
    I guess this IDES System is MDMP codepage.
    D:\usr\sap\MAR\SYS\exe\uc\NTAMD64\R3load.exe: START OF LOG: 20140924061219
    D:\usr\sap\MAR\SYS\exe\uc\NTAMD64\R3load.exe: sccsid @(#) $Id: //bas/700_REL/src/R3ld/R3load/R3ldmain.c#13 $ SAP
    D:\usr\sap\MAR\SYS\exe\uc\NTAMD64\R3load.exe: version R7.00/V1.4
    Compiled Jul 17 2007 00:40:17
    D:\usr\sap\MAR\SYS\exe\uc\NTAMD64\R3load.exe -dbcodepage 4103 -i test_MIGKEY.cmd -l test_MIGKEY.log -K
    (DB) INFO: connected to DB
    (DB) INFO: DbSlControl(DBSL_CMD_NLS_CHARACTERSET_GET): UTF8
    (CNV) ERROR: rscpMCActivate rc = 2048
    --------------------------------------5-
    code: 2048  RSCPENOCONV 
    in character code "MDMP" unknown                                   
    module: rscpc    location:   22 line: 14584
    TSL01: F43  p3: MDMP      
    D:\usr\sap\MAR\SYS\exe\uc\NTAMD64\R3load.exe: job finished with 1 error(s)
    D:\usr\sap\MAR\SYS\exe\uc\NTAMD64\R3load.exe: END OF LOG: 20140924061219

  • Error message in TRFC 'An SQL error occurred when accessing a table'

    Hi all,
    Can any one tell what this below error message is about in while go into TRFC
    'An SQL error occurred when accessing a table'.
    and please tell me how to solve this problem.

    Hi
    Try to see what all tables are accessed by data source. and see if there is any lock on that..
    If some other job is accessing that table - then there might be lock on that which is causing failure..
    1) Try looking at ST22 dump also..
    2) Try to do RSA3 in R/3 and if see if its is fetching any records or not..
    Hoep it helps
    --SA

  • An error has occurred while accessing SQL database or system resources. If this is the first time you have seen this message, please try again later. If this problem persists, please contact your administrator.

    I have SP Server 2010, and when I try to DELETE a rule within an existing Audience, "Property (Account Name) = domain/username", I get this error, "An error has occurred while accessing SQL database or system resources. If this
    is the first time you have seen this message, please try again later. If this
    problem persists, please contact your administrator."  When I try to "MODIFY" the rule I get this error, "One or more values typed on this page are not valid. Check the text for the indicated fields." 
    The last time I checked it was working, I'm not aware of any new updates installed recently?  I did a full Profile Synchronization as well, but still not working, please advise? -- Evenstarline

    Hi Sara,
    First of all thank you very much for your prompt responses. Here are my comments to each of your suggestions below, and just to let you know I am using a Farm Admin account.  I
    was able to do this way after we upgraded from SP 2007 to SP 2010 as well.   I would like to mention I'm not a SP expert, just been given the responsibility due to another person handling it just left, so apologize with some of
    my novice questions below?
    1. When I change the Operators to "Contains" or "Not Contains" get generates this error below.
         Error generating in red towards top of the audience page..."One or more values typed on this page are not valid.  Check the text for the indicated fields."
         Error occurred where you enter your "Value"..."Could not resolve the user identity. Please re-enter the account name."
    2. We have a 3-server-tier topology (SPWeb, SPDB, and SPFarm).  Does the updates only apply to where the Central Admin is installed, which is the "SPFarm"?  I checked all
    3 servers, and NONE of the updates (KB2899494, KB2889845, and KB2883055) you'd mentioned are installed.
    3. I'm new to IISRET, I need to be extra cautious of what I run in production, is this safe to run with no problem?  What does it do?  And How do I run it?
    4. I'm also new to viewing the ULS log.  I'd just downloaded a viewer for it.  I'm assuming the only logs I need to be concern with viewing are within the SPAdmin (where Central
    Admin is installed)?  There's so many of them, what should I be looking for exactly?
    Evenstarline 

  • Abap import error DbSl Trace: ORA-1403 when accessing table SAPUSER

    hi all
    I am installing ERP  6.0 (ABAP) on win2003 cluster, oracle 10g, I have error at database instance intallation. here some logs
    DD03L.log
    I:\usr\sap\PRD\SYS\exe\uc\NTAMD64\R3load.exe: START OF LOG: 20090812102157
    I:\usr\sap\PRD\SYS\exe\uc\NTAMD64\R3load.exe: sccsid @(#) $Id: //bas/700_REL/src/R3ld/R3load/R3ldmain.c#18 $ SAP
    I:\usr\sap\PRD\SYS\exe\uc\NTAMD64\R3load.exe: version R7.00/V1.4 [UNICODE]
    Compiled Apr  3 2009 09:03:56
    I:\usr\sap\PRD\SYS\exe\uc\NTAMD64\R3load.exe -i DD03L.cmd -dbcodepage 4103 -l DD03L.log -stop_on_error
    DbSl Trace: ORA-1403 when accessing table SAPUSER
    (DB) INFO: connected to DB
    (RTF) ########## WARNING ###########
         Without ORDER BY PRIMARY KEY the exported data may be unusable for some databases
    (TPL) ERROR: unknown template variable "tablespace"
    I:\usr\sap\PRD\SYS\exe\uc\NTAMD64\R3load.exe: job finished with 1 error(s)
    I:\usr\sap\PRD\SYS\exe\uc\NTAMD64\R3load.exe: END OF LOG: 20090812102157
    import_monitor.log
    ERROR: 2009-08-12 10:21:57 com.sap.inst.migmon.LoadTask run
    Loading of 'DD03L' import package is interrupted with R3load error.
    Process 'I:\usr\sap\PRD\SYS\exe\uc\NTAMD64\R3load.exe -i DD03L.cmd -dbcodepage 4103 -l DD03L.log -stop_on_error' exited with return code 2.
    For mode details see 'DD03L.log' file.
    Standard error output:
    sapparam: sapargv( argc, argv) has not been called.
    sapparam(1c): No Profile used.
    sapparam: SAPSYSTEMNAME neither in Profile nor in Commandline
    WARNING: 2009-08-12 10:22:25
    Cannot start import of packages with views because not all import packages with tables are loaded successfully.
    WARNING: 2009-08-12 10:22:25
    1 error(s) during processing of packages.
    INFO: 2009-08-12 10:22:25
    Import Monitor is stopped.
    sapinst_dev.log
    ERROR      2009-08-12 10:22:25.718
               CJSlibModule::writeError_impl()
    CJS-30022  Program 'Migration Monitor' exits with error code 103. For details see log file(s) import_monitor.java.log, import_monitor.log.
    TRACE      2009-08-12 10:22:25.718 [iaxxejsbas.hpp:483]
               EJS_Base::dispatchFunctionCall()
    JS Callback has thrown unknown exception. Rethrowing.
    ERROR      2009-08-12 10:22:25.734 [sixxcstepexecute.cpp:951]
    FCO-00011  The step runMigrationMonitor with step key |NW_ABAP_DB|ind|ind|ind|ind|0|0|NW_CreateDBandLoad|ind|ind|ind|ind|8|0|NW_ABAP_Import_Dialog|ind|ind|ind|ind|5|0|NW_ABAP_Import|ind|ind|ind|ind|0|0|runMigrationMonitor was executed with status ERROR ( Last error reported by the step :Program 'Migration Monitor' exits with error code 103. For details see log file(s) import_monitor.java.log, import_monitor.log.).
    TRACE      2009-08-12 10:22:25.781 [iaxxgenimp.cpp:752]
                CGuiEngineImp::showMessageBox
    <html> <head> </head> <body> <p> An error occurred while processing service SAP ERP 6.0 Support Release 3 > SAP Systems > Oracle > High-Availability System > Based on AS ABAP > Database Instance( Last error reported by the step :Program 'Migration Monitor' exits with error code 103. For details see log file(s) import_monitor.java.log, import_monitor.log.). You may now </p> <ul> <li> choose <i>Retry</i> to repeat the current step. </li> <li> choose <i>View Log</i> to get more information about the error. </li> <li> stop the task and continue with it later. </li> </ul> <p> Log files are written to C:\Program Files/sapinst_instdir/ERP/SYSTEM/ORA/HA/ABAP/DB. </p> </body></html>
    TRACE      2009-08-12 10:22:25.781 [iaxxgenimp.cpp:1255]
               CGuiEngineImp::acceptAnswerForBlockingRequest
    Waiting for an answer from GUI
    sapinst.log
    WARNING 2009-08-12 10:22:25.718
    Execution of the command "C:\j2sdk1.4.2_21-x64\bin\java.exe -classpath migmon.jar -showversion -Xmx1024m com.sap.inst.migmon.imp.ImportMonitor -sapinst" finished with return code 103. Output:
    java version "1.4.2_21"
    Java(TM) Platform, Standard Edition for Business (build 1.4.2_21-b03)
    Java HotSpot(TM) 64-Bit Server VM (build 1.4.2_21-b03, mixed mode)
    Import Monitor jobs: running 1, waiting 1, completed 26, failed 0, total 28.
    Loading of 'DD03L' import package: ERROR
    Import Monitor jobs: running 0, waiting 1, completed 26, failed 1, total 28.
    ERROR 2009-08-12 10:22:25.718
    CJS-30022  Program 'Migration Monitor' exits with error code 103. For details see log file(s) import_monitor.java.log, import_monitor.log.
    ERROR 2009-08-12 10:22:25.734
    FCO-00011  The step runMigrationMonitor with step key |NW_ABAP_DB|ind|ind|ind|ind|0|0|NW_CreateDBandLoad|ind|ind|ind|ind|8|0|NW_ABAP_Import_Dialog|ind|ind|ind|ind|5|0|NW_ABAP_Import|ind|ind|ind|ind|0|0|runMigrationMonitor was executed with status ERROR ( Last error reported by the step :Program 'Migration Monitor' exits with error code 103. For details see log file(s) import_monitor.java.log, import_monitor.log.).
    any idea
    Regards
    ABH

    hi
    All logs are above (include import_monitor.log and java)
    thanks

  • Configure Synchronization Connections An error has occurred while accessing the SQL Server database

    Hi,
    i am getting following error message
    Central Administration --> Synchronization Connections
    An error has occurred while accessing the SQL Server database or the SharePoint Server Search service.
    If this is the first time you have seen this message, try again later. If this problem persists, contact your administrator.
    Central Administration -->  Manage Profile Service: User Profile Service Application --> Manage User Properties
    Error
    An unexpected error has occurred.
    Troubleshoot issues with Microsoft SharePoint Foundation.
    Correlation ID: 3bce5a11-f2dc-4788
    Please tell how to fix it.
    iffi

    Event ID 5555 -> i have change the Timer jobs recycling time AM to PM
    for  User profile page not display  number of count in the page first check services , connection , 
    IISRESET /NOFORCE   /  timer services restart 
    Deepesh Yevle MCTS

  • RSQL ERROR 23 WHEN ACCESSING TABLE "BKPF"

    Can you tell me what is wrong with this statement.  I get an ABAP runtime error.
    DBIF_RSQL_INVALID_RSQL.
    RSQL ERROR 23 WHEN ACCESSING TABLE "BKPF"
    START-OF-SELECTION.
      SELECT BUDAT BLDAT BLART XBLNR_ALT BKTXT XSNET WAERS FROM BKPF INTO
      IT_BKPF
             WHERE BUKRS = '0004'
             AND BLDAT > '2007/01/01'.

    It was the same with me. My declaration for "TYPES" wasn't like my "SELECT".
    I have a tip: In your "SELECT", select all fields that was declared in your "TYPES".
    Example:
    TYPES: BEGIN OF ty_bkpf,
       bukrs TYPE BKPF-BUKRS,
       belnr TYPE BKPF-BELNR,
       blart TYPE BKPF-BLART,
       budat TYPE BKPF-BUDAT.
    TYPES: END OF ty_bkpf.
    DATA: T_BKPF  TYPE TABLE OF ty_bkpf,
    SELECT BUKRS BELNR BLART BUDAT
       INTO TABLE T_BKPF
       FROM BKPF
       WHERE MONAT = '11'
         AND GJAHR = '2013'.
    Best Regards

  • Error #3115: SQL Error.', details:'no such table

    Hi,
    I'm creating my Adobe Air App using Flash CS5 Professional and facing exactly the following error.
    SQLError: 'Error #3115: SQL Error.', details:'no such table: 'categories'', operation:'execute', detailID:'2013'
    My SQLite Db has been created using Firefox extension - SQLite Manager. The db file is placed into the same folder as the .fla and .swf files. The db has three tables namely: categories, period and activity. I don't understand why I'm getting this error. I have even tried copy pasting other source code from AS 3.0 reference guide but same error every time.
    The code below is a modified version of example code in AS 3.0 reference documentation. Can you suggest how the above error can be fixed?
    /you can also reply to me directly at [email protected]
    /regards
    import flash.data.SQLConnection;
    import flash.data.SQLResult;
    import flash.data.SQLStatement;
    import flash.display.Sprite;
    import flash.events.SQLErrorEvent;
    import flash.events.SQLEvent;
    import flash.filesystem.File;
    var conn:SQLConnection;
    var insertCategory:SQLStatement;
    var dbFile:File;
    databaseConnect();
    function databaseConnect():void
    // define where to find the database file
    var appStorage:File = File.applicationStorageDirectory;
    dbFile = appStorage.resolvePath("MyBudgetCalc.db");
    // open the database connection
    conn = new SQLConnection();
    conn.addEventListener(SQLErrorEvent.ERROR, errorHandler);
    conn.addEventListener(SQLEvent.OPEN, openHandler);
    trace("dbFile.exists:"+ dbFile.exists);
    conn.openAsync(dbFile);
    // Called when the database is connected
    function openHandler(event:SQLEvent):void
    conn.removeEventListener(SQLEvent.OPEN, openHandler);
    // start a transaction
    //Object(this).inputfield.text = "openHandler called.. ";
    conn.addEventListener(SQLEvent.BEGIN, beginHandler);
    conn.begin();
    trace("exiting openHandler..");
    // Called when the transaction begins
    function beginHandler(event:SQLEvent):void
    conn.removeEventListener(SQLEvent.BEGIN, beginHandler);
    //trace("beginHandler - SQLEvent message: "+SQLEvent.message);
    Object(this).inputfield.text = "beginHandler called.. ";
    insertCategory = new SQLStatement();
    insertCategory.sqlConnection = conn;
    insertCategory.text = "INSERT INTO categories(id, name) VALUES (', Auto')";
    insertCategory.execute();
    insertCategory.addEventListener(SQLEvent.RESULT, insertCategoryHandler);
        insertCategory.addEventListener(SQLErrorEvent.ERROR, errorHandler);
    trace("exiting beginHandler..");
    // Called after the phone number record is inserted
    function insertCategoryHandler(event:SQLEvent):void
    insertCategory.removeEventListener(SQLEvent.RESULT, insertCategoryHandler);
    insertCategory.removeEventListener(SQLErrorEvent.ERROR, errorHandler);
    // No errors so far, so commit the transaction
    conn.addEventListener(SQLEvent.COMMIT, commitHandler);
    conn.commit();
    trace("exiting insertCategoryHandler after conn.commit()..");
    // Called after the transaction is committed
    function commitHandler(event:SQLEvent):void
    conn.removeEventListener(SQLEvent.COMMIT, commitHandler);
    trace("exiting commitHandler(): Transaction complete..");
    // Called whenever an error occurs
    function errorHandler(event:SQLErrorEvent):void
    trace("entering errorHandler()..");
    // If a transaction is happening, roll it back
    if (conn.inTransaction)
    conn.addEventListener(SQLEvent.ROLLBACK, rollbackHandler);
    conn.rollback();
    trace(event.error.message);
    trace(event.error.details);
    trace("exiting errorHandler()..");
    // Called when the transaction is rolled back
    function rollbackHandler(event:SQLEvent):void
    conn.removeEventListener(SQLEvent.ROLLBACK, rollbackHandler);

    Can you try creating the table using the AIR ActionScript APIs? It is possible the SQLLite Manager program that you are using is creating a database that isn't compatible with AIR.

  • Server Error has occurred when loading profile manager page

    I am getting message saying Server Error has occurred when I login into profile manager web page. How can i solve this issue. I am using Mavericks Server.

    PM Logs
    2014-03-07 00:15:27 NZDTLOG:  statement: CREATE TEMPORARY TABLE "__runtime_temp_devicemgrd-4322439-2" ("value" varchar UNIQUE)
    2014-03-07 00:15:27 NZDTERROR:  could not read block 46 in file "base/17197/12027": read only 0 of 8192 bytes
    2014-03-07 00:15:27 NZDTSTATEMENT:  CREATE TEMPORARY TABLE "__runtime_temp_devicemgrd-4322439-2" ("value" varchar UNIQUE)
    2014-03-07 01:15:27 NZDTLOG:  statement: CREATE TEMPORARY TABLE "__runtime_temp_devicemgrd-4322441-2" ("value" varchar UNIQUE)
    2014-03-07 01:15:27 NZDTERROR:  could not read block 46 in file "base/17197/12027": read only 0 of 8192 bytes
    2014-03-07 01:15:27 NZDTSTATEMENT:  CREATE TEMPORARY TABLE "__runtime_temp_devicemgrd-4322441-2" ("value" varchar UNIQUE)
    2014-03-07 02:15:27 NZDTLOG:  statement: CREATE TEMPORARY TABLE "__runtime_temp_devicemgrd-4322443-2" ("value" varchar UNIQUE)
    2014-03-07 02:15:27 NZDTERROR:  could not read block 46 in file "base/17197/12027": read only 0 of 8192 bytes
    2014-03-07 02:15:27 NZDTSTATEMENT:  CREATE TEMPORARY TABLE "__runtime_temp_devicemgrd-4322443-2" ("value" varchar UNIQUE)
    2014-03-07 03:15:27 NZDTLOG:  statement: CREATE TEMPORARY TABLE "__runtime_temp_devicemgrd-4322445-2" ("value" varchar UNIQUE)
    2014-03-07 03:15:27 NZDTERROR:  could not read block 46 in file "base/17197/12027": read only 0 of 8192 bytes
    2014-03-07 03:15:27 NZDTSTATEMENT:  CREATE TEMPORARY TABLE "__runtime_temp_devicemgrd-4322445-2" ("value" varchar UNIQUE)
    2014-03-07 04:15:27 NZDTLOG:  statement: CREATE TEMPORARY TABLE "__runtime_temp_devicemgrd-4322447-2" ("value" varchar UNIQUE)
    2014-03-07 04:15:27 NZDTERROR:  could not read block 46 in file "base/17197/12027": read only 0 of 8192 bytes
    2014-03-07 04:15:27 NZDTSTATEMENT:  CREATE TEMPORARY TABLE "__runtime_temp_devicemgrd-4322447-2" ("value" varchar UNIQUE)
    2014-03-07 05:15:27 NZDTLOG:  statement: CREATE TEMPORARY TABLE "__runtime_temp_devicemgrd-4322449-2" ("value" varchar UNIQUE)
    2014-03-07 05:15:27 NZDTERROR:  could not read block 46 in file "base/17197/12027": read only 0 of 8192 bytes
    2014-03-07 05:15:27 NZDTSTATEMENT:  CREATE TEMPORARY TABLE "__runtime_temp_devicemgrd-4322449-2" ("value" varchar UNIQUE)
    2014-03-07 06:15:28 NZDTLOG:  statement: CREATE TEMPORARY TABLE "__runtime_temp_devicemgrd-4322451-2" ("value" varchar UNIQUE)
    2014-03-07 06:15:28 NZDTERROR:  could not read block 46 in file "base/17197/12027": read only 0 of 8192 bytes
    2014-03-07 06:15:28 NZDTSTATEMENT:  CREATE TEMPORARY TABLE "__runtime_temp_devicemgrd-4322451-2" ("value" varchar UNIQUE)
    2014-03-07 07:15:28 NZDTLOG:  statement: CREATE TEMPORARY TABLE "__runtime_temp_devicemgrd-4322453-2" ("value" varchar UNIQUE)
    2014-03-07 07:15:28 NZDTERROR:  could not read block 46 in file "base/17197/12027": read only 0 of 8192 bytes
    2014-03-07 07:15:28 NZDTSTATEMENT:  CREATE TEMPORARY TABLE "__runtime_temp_devicemgrd-4322453-2" ("value" varchar UNIQUE)
    2014-03-07 08:15:28 NZDTLOG:  statement: CREATE TEMPORARY TABLE "__runtime_temp_devicemgrd-4322455-2" ("value" varchar UNIQUE)
    2014-03-07 08:15:28 NZDTERROR:  could not read block 46 in file "base/17197/12027": read only 0 of 8192 bytes
    2014-03-07 08:15:28 NZDTSTATEMENT:  CREATE TEMPORARY TABLE "__runtime_temp_devicemgrd-4322455-2" ("value" varchar UNIQUE)
    2014-03-07 09:15:28 NZDTLOG:  statement: CREATE TEMPORARY TABLE "__runtime_temp_devicemgrd-4322457-2" ("value" varchar UNIQUE)
    2014-03-07 09:15:28 NZDTERROR:  could not read block 46 in file "base/17197/12027": read only 0 of 8192 bytes
    2014-03-07 09:15:28 NZDTSTATEMENT:  CREATE TEMPORARY TABLE "__runtime_temp_devicemgrd-4322457-2" ("value" varchar UNIQUE)
    2014-03-07 10:15:28 NZDTLOG:  statement: CREATE TEMPORARY TABLE "__runtime_temp_devicemgrd-4322459-2" ("value" varchar UNIQUE)
    2014-03-07 10:15:28 NZDTERROR:  could not read block 46 in file "base/17197/12027": read only 0 of 8192 bytes
    2014-03-07 10:15:28 NZDTSTATEMENT:  CREATE TEMPORARY TABLE "__runtime_temp_devicemgrd-4322459-2" ("value" varchar UNIQUE)
    2014-03-07 10:18:03 NZDTLOG:  statement: CREATE TEMPORARY TABLE "__runtime_temp_devicemgrd-4322461-2" ("value" varchar UNIQUE)
    2014-03-07 10:18:03 NZDTERROR:  could not read block 46 in file "base/17197/12027": read only 0 of 8192 bytes
    2014-03-07 10:18:03 NZDTSTATEMENT:  CREATE TEMPORARY TABLE "__runtime_temp_devicemgrd-4322461-2" ("value" varchar UNIQUE)
    2014-03-07 11:15:29 NZDTLOG:  statement: CREATE TEMPORARY TABLE "__runtime_temp_devicemgrd-4322463-2" ("value" varchar UNIQUE)
    2014-03-07 11:15:29 NZDTERROR:  could not read block 46 in file "base/17197/12027": read only 0 of 8192 bytes
    2014-03-07 11:15:29 NZDTSTATEMENT:  CREATE TEMPORARY TABLE "__runtime_temp_devicemgrd-4322463-2" ("value" varchar UNIQUE)
    2014-03-07 12:15:29 NZDTLOG:  statement: CREATE TEMPORARY TABLE "__runtime_temp_devicemgrd-4322465-2" ("value" varchar UNIQUE)
    2014-03-07 12:15:29 NZDTERROR:  could not read block 46 in file "base/17197/12027": read only 0 of 8192 bytes
    2014-03-07 12:15:29 NZDTSTATEMENT:  CREATE TEMPORARY TABLE "__runtime_temp_devicemgrd-4322465-2" ("value" varchar UNIQUE)
    2014-03-07 13:15:29 NZDTLOG:  statement: CREATE TEMPORARY TABLE "__runtime_temp_devicemgrd-4322467-2" ("value" varchar UNIQUE)
    2014-03-07 13:15:29 NZDTERROR:  could not read block 46 in file "base/17197/12027": read only 0 of 8192 bytes
    2014-03-07 13:15:29 NZDTSTATEMENT:  CREATE TEMPORARY TABLE "__runtime_temp_devicemgrd-4322467-2" ("value" varchar UNIQUE)
    2014-03-07 14:15:29 NZDTLOG:  statement: CREATE TEMPORARY TABLE "__runtime_temp_devicemgrd-4322469-2" ("value" varchar UNIQUE)
    2014-03-07 14:15:29 NZDTERROR:  could not read block 46 in file "base/17197/12027": read only 0 of 8192 bytes
    2014-03-07 14:15:29 NZDTSTATEMENT:  CREATE TEMPORARY TABLE "__runtime_temp_devicemgrd-4322469-2" ("value" varchar UNIQUE)
    2014-03-07 15:05:34 NZDTLOG:  statement: CREATE TEMPORARY TABLE "__runtime_temp_devicemgrd-4322472-2" ("value" varchar UNIQUE)
    2014-03-07 15:05:34 NZDTERROR:  could not read block 46 in file "base/17197/12027": read only 0 of 8192 bytes
    2014-03-07 15:05:34 NZDTSTATEMENT:  CREATE TEMPORARY TABLE "__runtime_temp_devicemgrd-4322472-2" ("value" varchar UNIQUE)
    2014-03-07 15:06:11 NZDTLOG:  statement: CREATE TEMPORARY TABLE "__runtime_temp_devicemgrd-4322474-2" ("value" varchar UNIQUE)
    2014-03-07 15:06:11 NZDTERROR:  could not read block 46 in file "base/17197/12027": read only 0 of 8192 bytes
    2014-03-07 15:06:11 NZDTSTATEMENT:  CREATE TEMPORARY TABLE "__runtime_temp_devicemgrd-4322474-2" ("value" varchar UNIQUE)
    2014-03-07 15:06:45 NZDTERROR:  could not read block 46 in file "base/17197/12027": read only 0 of 8192 bytes
    2014-03-07 15:06:45 NZDTCONTEXT:  SQL statement "CREATE TEMPORARY TABLE IF NOT EXISTS temp_updated_target_tasks (
              LIKE view_target_tasks
              ) ON COMMIT DELETE ROWS"
              PL/pgSQL function dm_prepare_updated_target_tasks(bigint,bigint[]) line 6 at SQL statement
    2014-03-07 15:06:45 NZDTSTATEMENT:  SELECT dm_prepare_updated_target_tasks(4322480)
    2014-03-07 15:06:53 NZDTERROR:  could not read block 46 in file "base/17197/12027": read only 0 of 8192 bytes
    2014-03-07 15:06:53 NZDTCONTEXT:  SQL statement "CREATE TEMPORARY TABLE IF NOT EXISTS temp_updated_target_tasks (
              LIKE view_target_tasks
              ) ON COMMIT DELETE ROWS"
              PL/pgSQL function dm_prepare_updated_target_tasks(bigint,bigint[]) line 6 at SQL statement
    2014-03-07 15:06:53 NZDTSTATEMENT:  SELECT dm_prepare_updated_target_tasks(4322482)
    2014-03-07 15:07:56 NZDTERROR:  could not read block 46 in file "base/17197/12027": read only 0 of 8192 bytes
    2014-03-07 15:07:56 NZDTCONTEXT:  SQL statement "CREATE TEMPORARY TABLE IF NOT EXISTS temp_updated_target_tasks (
              LIKE view_target_tasks
              ) ON COMMIT DELETE ROWS"
              PL/pgSQL function dm_prepare_updated_target_tasks(bigint,bigint[]) line 6 at SQL statement
    2014-03-07 15:07:56 NZDTSTATEMENT:  SELECT dm_prepare_updated_target_tasks(4322485)
    2014-03-07 15:08:04 NZDTERROR:  could not read block 46 in file "base/17197/12027": read only 0 of 8192 bytes
    2014-03-07 15:08:04 NZDTCONTEXT:  SQL statement "CREATE TEMPORARY TABLE IF NOT EXISTS temp_updated_target_tasks (
              LIKE view_target_tasks
              ) ON COMMIT DELETE ROWS"
              PL/pgSQL function dm_prepare_updated_target_tasks(bigint,bigint[]) line 6 at SQL statement
    2014-03-07 15:08:04 NZDTSTATEMENT:  SELECT dm_prepare_updated_target_tasks(4322489)
    2014-03-07 15:09:06 NZDTERROR:  could not read block 46 in file "base/17197/12027": read only 0 of 8192 bytes
    2014-03-07 15:09:06 NZDTCONTEXT:  SQL statement "CREATE TEMPORARY TABLE IF NOT EXISTS temp_updated_target_tasks (
              LIKE view_target_tasks
              ) ON COMMIT DELETE ROWS"
              PL/pgSQL function dm_prepare_updated_target_tasks(bigint,bigint[]) line 6 at SQL statement
    2014-03-07 15:09:06 NZDTSTATEMENT:  SELECT dm_prepare_updated_target_tasks(4322495)
    2014-03-07 15:09:15 NZDTERROR:  could not read block 46 in file "base/17197/12027": read only 0 of 8192 bytes
    2014-03-07 15:09:15 NZDTCONTEXT:  SQL statement "CREATE TEMPORARY TABLE IF NOT EXISTS temp_updated_target_tasks (
              LIKE view_target_tasks
              ) ON COMMIT DELETE ROWS"
              PL/pgSQL function dm_prepare_updated_target_tasks(bigint,bigint[]) line 6 at SQL statement
    2014-03-07 15:09:15 NZDTSTATEMENT:  SELECT dm_prepare_updated_target_tasks(4322497)
    2014-03-07 15:09:19 NZDTERROR:  could not read block 46 in file "base/17197/12027": read only 0 of 8192 bytes
    2014-03-07 15:09:19 NZDTCONTEXT:  SQL statement "CREATE TEMPORARY TABLE IF NOT EXISTS temp_updated_target_tasks (
              LIKE view_target_tasks
              ) ON COMMIT DELETE ROWS"
              PL/pgSQL function dm_prepare_updated_target_tasks(bigint,bigint[]) line 6 at SQL statement
    2014-03-07 15:09:19 NZDTSTATEMENT:  SELECT dm_prepare_updated_target_tasks(4322500)
    2014-03-07 15:09:28 NZDTERROR:  could not read block 46 in file "base/17197/12027": read only 0 of 8192 bytes
    2014-03-07 15:09:28 NZDTCONTEXT:  SQL statement "CREATE TEMPORARY TABLE IF NOT EXISTS temp_updated_target_tasks (
              LIKE view_target_tasks
              ) ON COMMIT DELETE ROWS"
              PL/pgSQL function dm_prepare_updated_target_tasks(bigint,bigint[]) line 6 at SQL statement
    2014-03-07 15:09:28 NZDTSTATEMENT:  SELECT dm_prepare_updated_target_tasks(4322502)
    2014-03-07 15:09:43 NZDTERROR:  could not read block 46 in file "base/17197/12027": read only 0 of 8192 bytes
    2014-03-07 15:09:43 NZDTCONTEXT:  SQL statement "CREATE TEMPORARY TABLE IF NOT EXISTS temp_updated_target_tasks (
              LIKE view_target_tasks
              ) ON COMMIT DELETE ROWS"
              PL/pgSQL function dm_prepare_updated_target_tasks(bigint,bigint[]) line 6 at SQL statement
    2014-03-07 15:09:43 NZDTSTATEMENT:  SELECT dm_prepare_updated_target_tasks(4322504)
    2014-03-07 15:09:48 NZDTERROR:  could not read block 46 in file "base/17197/12027": read only 0 of 8192 bytes
    2014-03-07 15:09:48 NZDTCONTEXT:  SQL statement "CREATE TEMPORARY TABLE IF NOT EXISTS temp_updated_target_tasks (
              LIKE view_target_tasks
              ) ON COMMIT DELETE ROWS"
              PL/pgSQL function dm_prepare_updated_target_tasks(bigint,bigint[]) line 6 at SQL statement
    2014-03-07 15:09:48 NZDTSTATEMENT:  SELECT dm_prepare_updated_target_tasks(4322506)
    2014-03-07 15:09:52 NZDTERROR:  could not read block 46 in file "base/17197/12027": read only 0 of 8192 bytes
    2014-03-07 15:09:52 NZDTCONTEXT:  SQL statement "CREATE TEMPORARY TABLE IF NOT EXISTS temp_updated_target_tasks (
              LIKE view_target_tasks
              ) ON COMMIT DELETE ROWS"
              PL/pgSQL function dm_prepare_updated_target_tasks(bigint,bigint[]) line 6 at SQL statement
    2014-03-07 15:09:52 NZDTSTATEMENT:  SELECT dm_prepare_updated_target_tasks(4322508)
    2014-03-07 15:13:59 NZDTLOG:  statement: CREATE TEMPORARY TABLE "__runtime_temp_devicemgrd-4322519-2" ("value" varchar UNIQUE)
    2014-03-07 15:13:59 NZDTERROR:  could not read block 46 in file "base/17197/12027": read only 0 of 8192 bytes
    2014-03-07 15:13:59 NZDTSTATEMENT:  CREATE TEMPORARY TABLE "__runtime_temp_devicemgrd-4322519-2" ("value" varchar UNIQUE)
    2014-03-07 15:14:11 NZDTERROR:  could not read block 46 in file "base/17197/12027": read only 0 of 8192 bytes
    2014-03-07 15:14:11 NZDTCONTEXT:  SQL statement "CREATE TEMPORARY TABLE IF NOT EXISTS temp_updated_target_tasks (
              LIKE view_target_tasks
              ) ON COMMIT DELETE ROWS"
              PL/pgSQL function dm_prepare_updated_target_tasks(bigint,bigint[]) line 6 at SQL statement
    2014-03-07 15:14:11 NZDTSTATEMENT:  SELECT dm_prepare_updated_target_tasks(4322522)
    2014-03-07 15:15:40 NZDTLOG:  connection received: host=[local]
    2014-03-07 15:15:40 NZDTLOG:  connection authorized: user=_devicemgr database=template1
    2014-03-07 15:15:41 NZDTLOG:  statement: CREATE TEMPORARY TABLE "__runtime_temp_devicemgrd-4322586-2" ("value" varchar UNIQUE)
    2014-03-07 15:15:41 NZDTERROR:  could not read block 46 in file "base/17197/12027": read only 0 of 8192 bytes
    2014-03-07 15:15:41 NZDTSTATEMENT:  CREATE TEMPORARY TABLE "__runtime_temp_devicemgrd-4322586-2" ("value" varchar UNIQUE)
    2014-03-07 15:15:44 NZDTLOG:  connection received: host=[local]
    2014-03-07 15:15:44 NZDTLOG:  connection authorized: user=_devicemgr database=devicemgr_v2m0
    2014-03-07 15:15:44 NZDTLOG:  connection received: host=[local]
    2014-03-07 15:15:44 NZDTLOG:  connection received: host=[local]
    2014-03-07 15:15:44 NZDTLOG:  connection authorized: user=_devicemgr database=devicemgr_v2m0
    2014-03-07 15:15:44 NZDTLOG:  connection authorized: user=_devicemgr database=devicemgr_v2m0
    2014-03-07 15:15:44 NZDTLOG:  connection received: host=[local]
    2014-03-07 15:15:44 NZDTLOG:  connection received: host=[local]
    2014-03-07 15:15:44 NZDTLOG:  connection authorized: user=_devicemgr database=devicemgr_v2m0
    2014-03-07 15:15:44 NZDTLOG:  connection authorized: user=_devicemgr database=devicemgr_v2m0
    2014-03-07 15:15:44 NZDTLOG:  connection received: host=[local]
    2014-03-07 15:15:44 NZDTLOG:  connection authorized: user=_devicemgr database=devicemgr_v2m0
    2014-03-07 15:15:44 NZDTLOG:  connection received: host=[local]
    2014-03-07 15:15:44 NZDTLOG:  connection authorized: user=_devicemgr database=devicemgr_v2m0
    2014-03-07 15:15:44 NZDTLOG:  connection received: host=[local]
    2014-03-07 15:15:44 NZDTLOG:  connection authorized: user=_devicemgr database=devicemgr_v2m0
    2014-03-07 15:15:44 NZDTLOG:  connection received: host=[local]
    2014-03-07 15:15:44 NZDTLOG:  connection received: host=[local]
    2014-03-07 15:15:44 NZDTLOG:  connection authorized: user=_devicemgr database=devicemgr_v2m0
    2014-03-07 15:15:44 NZDTLOG:  connection authorized: user=_devicemgr database=devicemgr_v2m0
    2014-03-07 15:15:44 NZDTLOG:  connection received: host=[local]
    2014-03-07 15:15:44 NZDTLOG:  connection authorized: user=_devicemgr database=devicemgr_v2m0
    2014-03-07 15:16:10 NZDTERROR:  could not read block 46 in file "base/17197/12027": read only 0 of 8192 bytes
    2014-03-07 15:16:10 NZDTCONTEXT:  SQL statement "CREATE TEMPORARY TABLE IF NOT EXISTS temp_updated_target_tasks (
              LIKE view_target_tasks
              ) ON COMMIT DELETE ROWS"
              PL/pgSQL function dm_prepare_updated_target_tasks(bigint,bigint[]) line 6 at SQL statement
    2014-03-07 15:16:10 NZDTSTATEMENT:  SELECT dm_prepare_updated_target_tasks(4322599)
    2014-03-07 15:16:20 NZDTLOG:  autovacuum: found orphan temp table "pg_temp_9"."temp_updated_target_tasks" in database "devicemgr_v2m0"
    2014-03-07 15:16:47 NZDTLOG:  connection received: host=[local]
    2014-03-07 15:16:47 NZDTLOG:  connection authorized: user=_devicemgr database=devicemgr_v2m0
    2014-03-07 15:16:52 NZDTLOG:  connection received: host=[local]
    2014-03-07 15:16:52 NZDTLOG:  connection authorized: user=_devicemgr database=devicemgr_v2m0
    2014-03-07 15:16:53 NZDTERROR:  could not read block 46 in file "base/17197/12027": read only 0 of 8192 bytes
    2014-03-07 15:16:53 NZDTCONTEXT:  SQL statement "CREATE TEMPORARY TABLE _affected_profiles ON COMMIT DROP AS
              SELECT DISTINCT tp.profile_id
              FROM view_truth_profiles AS tp
              WHERE tp.mdm_target_id = after.id
              AND (tp.device_substitution_keys & fn.mask) <> 0"
              PL/pgSQL function dm_deferred_update_profiles_by_device_substitutions(devices,devices) line 40 at SQL statement
              SQL statement "SELECT dm_deferred_update_profiles_by_device_substitutions(OLD, NEW)"
              PL/pgSQL function _dm_after_device_modify() line 37 at PERFORM
    2014-03-07 15:16:53 NZDTSTATEMENT:  UPDATE "devices" SET ("updated_at","active_checkin_token","udid") = (dm_current_timestamp(),$1,$2) WHERE id = $3
    2014-03-07 15:17:01 NZDTLOG:  connection received: host=[local]
    2014-03-07 15:17:01 NZDTLOG:  connection authorized: user=_devicemgr database=devicemgr_v2m0
    2014-03-07 15:17:01 NZDTERROR:  could not read block 46 in file "base/17197/12027": read only 0 of 8192 bytes
    2014-03-07 15:17:01 NZDTCONTEXT:  SQL statement "CREATE TEMPORARY TABLE _affected_profiles ON COMMIT DROP AS
              SELECT DISTINCT tp.profile_id
              FROM view_truth_profiles AS tp
              WHERE tp.mdm_target_id = after.id
              AND (tp.device_substitution_keys & fn.mask) <> 0"
              PL/pgSQL function dm_deferred_update_profiles_by_device_substitutions(devices,devices) line 40 at SQL statement
              SQL statement "SELECT dm_deferred_update_profiles_by_device_substitutions(OLD, NEW)"
              PL/pgSQL function _dm_after_device_modify() line 37 at PERFORM
    2014-03-07 15:17:01 NZDTSTATEMENT:  UPDATE "devices" SET ("updated_at","active_checkin_token","udid") = (dm_current_timestamp(),$1,$2) WHERE id = $3
    2014-03-07 15:17:14 NZDTLOG:  connection received: host=[local]
    2014-03-07 15:17:14 NZDTLOG:  connection authorized: user=_devicemgr database=devicemgr_v2m0
    2014-03-07 15:17:14 NZDTERROR:  could not read block 46 in file "base/17197/12027": read only 0 of 8192 bytes
    2014-03-07 15:17:14 NZDTCONTEXT:  SQL statement "CREATE TEMPORARY TABLE _affected_profiles ON COMMIT DROP AS
              SELECT DISTINCT tp.profile_id
              FROM view_truth_profiles AS tp
              WHERE tp.mdm_target_id = after.id
              AND (tp.device_substitution_keys & fn.mask) <> 0"
              PL/pgSQL function dm_deferred_update_profiles_by_device_substitutions(devices,devices) line 40 at SQL statement
              SQL statement "SELECT dm_deferred_update_profiles_by_device_substitutions(OLD, NEW)"
              PL/pgSQL function _dm_after_device_modify() line 37 at PERFORM
    2014-03-07 15:17:14 NZDTSTATEMENT:  UPDATE "devices" SET ("updated_at","active_checkin_token","udid") = (dm_current_timestamp(),$1,$2) WHERE id = $3
    2014-03-07 15:17:20 NZDTLOG:  autovacuum: found orphan temp table "pg_temp_9"."temp_updated_target_tasks" in database "devicemgr_v2m0"
    2014-03-07 15:17:26 NZDTLOG:  connection received: host=[local]
    2014-03-07 15:17:26 NZDTLOG:  connection authorized: user=_devicemgr database=devicemgr_v2m0
    2014-03-07 15:17:26 NZDTERROR:  could not read block 46 in file "base/17197/12027": read only 0 of 8192 bytes
    2014-03-07 15:17:26 NZDTCONTEXT:  SQL statement "CREATE TEMPORARY TABLE _affected_profiles ON COMMIT DROP AS
              SELECT DISTINCT tp.profile_id
              FROM view_truth_profiles AS tp
              WHERE tp.mdm_target_id = after.id
              AND (tp.device_substitution_keys & fn.mask) <> 0"
              PL/pgSQL function dm_deferred_update_profiles_by_device_substitutions(devices,devices) line 40 at SQL statement
              SQL statement "SELECT dm_deferred_update_profiles_by_device_substitutions(OLD, NEW)"
              PL/pgSQL function _dm_after_device_modify() line 37 at PERFORM
    2014-03-07 15:17:26 NZDTSTATEMENT:  UPDATE "devices" SET ("updated_at","active_checkin_token","udid") = (dm_current_timestamp(),$1,$2) WHERE id = $3
    2014-03-07 15:17:31 NZDTLOG:  connection received: host=[local]
    2014-03-07 15:17:31 NZDTLOG:  connection authorized: user=_devicemgr database=devicemgr_v2m0
    2014-03-07 15:17:31 NZDTERROR:  could not read block 46 in file "base/17197/12027": read only 0 of 8192 bytes
    2014-03-07 15:17:31 NZDTCONTEXT:  SQL statement "CREATE TEMPORARY TABLE _affected_profiles ON COMMIT DROP AS
              SELECT DISTINCT tp.profile_id
              FROM view_truth_profiles AS tp
              WHERE tp.mdm_target_id = after.id
              AND (tp.device_substitution_keys & fn.mask) <> 0"
              PL/pgSQL function dm_deferred_update_profiles_by_device_substitutions(devices,devices) line 40 at SQL statement
              SQL statement "SELECT dm_deferred_update_profiles_by_device_substitutions(OLD, NEW)"
              PL/pgSQL function _dm_after_device_modify() line 37 at PERFORM
    2014-03-07 15:17:31 NZDTSTATEMENT:  UPDATE "devices" SET ("updated_at","active_checkin_token","udid") = (dm_current_timestamp(),$1,$2) WHERE id = $3
    2014-03-07 15:18:00 NZDTLOG:  connection received: host=[local]
    2014-03-07 15:18:00 NZDTLOG:  connection authorized: user=_devicemgr database=devicemgr_v2m0
    2014-03-07 15:18:01 NZDTERROR:  could not read block 46 in file "base/17197/12027": read only 0 of 8192 bytes
    2014-03-07 15:18:01 NZDTCONTEXT:  SQL statement "CREATE TEMPORARY TABLE _affected_profiles ON COMMIT DROP AS
              SELECT DISTINCT tp.profile_id
              FROM view_truth_profiles AS tp
              WHERE tp.mdm_target_id = after.id
              AND (tp.device_substitution_keys & fn.mask) <> 0"
              PL/pgSQL function dm_deferred_update_profiles_by_device_substitutions(devices,devices) line 40 at SQL statement
              SQL statement "SELECT dm_deferred_update_profiles_by_device_substitutions(OLD, NEW)"
              PL/pgSQL function _dm_after_device_modify() line 37 at PERFORM
    2014-03-07 15:18:01 NZDTSTATEMENT:  UPDATE "devices" SET ("updated_at","active_checkin_token","udid") = (dm_current_timestamp(),$1,$2) WHERE id = $3
    2014-03-07 15:18:20 NZDTLOG:  autovacuum: found orphan temp table "pg_temp_9"."temp_updated_target_tasks" in database "devicemgr_v2m0"
    2014-03-07 15:19:20 NZDTLOG:  autovacuum: found orphan temp table "pg_temp_9"."temp_updated_target_tasks" in database "devicemgr_v2m0"
    2014-03-07 15:20:16 NZDTERROR:  could not read block 46 in file "base/17197/12027": read only 0 of 8192 bytes
    2014-03-07 15:20:16 NZDTCONTEXT:  SQL statement "CREATE TEMPORARY TABLE IF NOT EXISTS temp_updated_target_tasks (
              LIKE view_target_tasks
              ) ON COMMIT DELETE ROWS"
              PL/pgSQL function dm_prepare_updated_target_tasks(bigint,bigint[]) line 6 at SQL statement
    2014-03-07 15:20:16 NZDTSTATEMENT:  SELECT dm_prepare_updated_target_tasks(4322639)
    2014-03-07 15:20:20 NZDTLOG:  autovacuum: found orphan temp table "pg_temp_9"."temp_updated_target_tasks" in database "devicemgr_v2m0"
    2014-03-07 15:20:26 NZDTERROR:  could not read block 46 in file "base/17197/12027": read only 0 of 8192 bytes
    2014-03-07 15:20:26 NZDTCONTEXT:  SQL statement "CREATE TEMPORARY TABLE IF NOT EXISTS temp_updated_target_tasks (
              LIKE view_target_tasks
              ) ON COMMIT DELETE ROWS"
              PL/pgSQL function dm_prepare_updated_target_tasks(bigint,bigint[]) line 6 at SQL statement
    2014-03-07 15:20:26 NZDTSTATEMENT:  SELECT dm_prepare_updated_target_tasks(4322641)
    2014-03-07 15:21:11 NZDTLOG:  statement: ALTER TABLE "widgets" ENABLE TRIGGER USER
    2014-03-07 15:21:11 NZDTLOG:  statement: ALTER TABLE "preference_panes" ENABLE TRIGGER USER
    2014-03-07 15:21:11 NZDTLOG:  statement: ALTER TABLE "printers" ENABLE TRIGGER USER
    2014-03-07 15:21:11 NZDTLOG:  connection received: host=[local]
    2014-03-07 15:21:11 NZDTLOG:  connection authorized: user=_devicemgr database=postgres
    2014-03-07 15:21:11 NZDTLOG:  statement: ALTER TABLE "installed_applications" ENABLE TRIGGER USER
    2014-03-07 15:21:11 NZDTLOG:  statement: ALTER TABLE "users" ENABLE TRIGGER USER
    2014-03-07 15:21:11 NZDTLOG:  statement: ALTER TABLE "profiles" ENABLE TRIGGER USER
    2014-03-07 15:21:12 NZDTLOG:  statement: ALTER TABLE "dm_schema_information" ENABLE TRIGGER USER
    2014-03-07 15:21:12 NZDTLOG:  statement: ALTER TABLE "provisioning_profiles" ENABLE TRIGGER USER
    2014-03-07 15:21:12 NZDTLOG:  statement: ALTER TABLE "od_nodes" ENABLE TRIGGER USER
    2014-03-07 15:21:12 NZDTLOG:  statement: ALTER TABLE "user_groups" ENABLE TRIGGER USER
    2014-03-07 15:21:12 NZDTLOG:  statement: ALTER TABLE "network_lab_sessions" ENABLE TRIGGER USER
    2014-03-07 15:21:12 NZDTLOG:  statement: ALTER TABLE "enterprise_apps" ENABLE TRIGGER USER
    2014-03-07 15:21:12 NZDTLOG:  statement: ALTER TABLE "library_items" ENABLE TRIGGER USER
    2014-03-07 15:21:13 NZDTLOG:  statement: ALTER TABLE "data_files" ENABLE TRIGGER USER
    2014-03-07 15:21:13 NZDTLOG:  statement: ALTER TABLE "knob_sets" ENABLE TRIGGER USER
    2014-03-07 15:21:13 NZDTLOG:  statement: ALTER TABLE "od_library_items" ENABLE TRIGGER USER
    2014-03-07 15:21:13 NZDTLOG:  statement: ALTER TABLE "work_tasks" ENABLE TRIGGER USER
    2014-03-07 15:21:13 NZDTLOG:  statement: ALTER TABLE "user_tasks" ENABLE TRIGGER USER
    2014-03-07 15:21:13 NZDTLOG:  statement: ALTER TABLE "mdm_targets" ENABLE TRIGGER USER
    2014-03-07 15:21:13 NZDTLOG:  statement: ALTER TABLE "auto_join_profiles" ENABLE TRIGGER USER
    2014-03-07 15:21:13 NZDTLOG:  statement: ALTER TABLE "asset_metadata" ENABLE TRIGGER USER
    2014-03-07 15:21:13 NZDTLOG:  statement: ALTER TABLE "db_notifications" ENABLE TRIGGER USER
    2014-03-07 15:21:13 NZDTLOG:  statement: ALTER TABLE "internal_tasks" ENABLE TRIGGER USER
    2014-03-07 15:21:13 NZDTLOG:  statement: ALTER TABLE "library_item_tasks" ENABLE TRIGGER USER
    2014-03-07 15:21:13 NZDTLOG:  statement: ALTER TABLE "vpp_licenses" ENABLE TRIGGER USER
    2014-03-07 15:21:13 NZDTLOG:  statement: ALTER TABLE "settings" ENABLE TRIGGER USER
    2014-03-07 15:21:14 NZDTFATAL:  terminating connection due to administrator command
    2014-03-07 15:21:14 NZDTFATAL:  terminating connection due to administrator command
    2014-03-07 15:21:14 NZDTFATAL:  terminating connection due to administrator command
    2014-03-07 15:21:14 NZDTFATAL:  terminating connection due to administrator command
    2014-03-07 15:21:14 NZDTFATAL:  terminating connection due to administrator command
    2014-03-07 15:21:14 NZDTLOG:  statement: ALTER TABLE "media" ENABLE TRIGGER USER
    2014-03-07 15:21:14 NZDTLOG:  received smart shutdown request
    2014-03-07 15:21:14 NZDTLOG:  autovacuum launcher shutting down
    2014-03-07 15:21:14 NZDTLOG:  statement: ALTER TABLE "device_groups" ENABLE TRIGGER USER
    2014-03-07 15:21:14 NZDTLOG:  statement: ALTER TABLE "lab_sessions" ENABLE TRIGGER USER
    2014-03-07 15:21:14 NZDTLOG:  statement: ALTER TABLE "owner_lab_sessions" ENABLE TRIGGER USER
    2014-03-07 15:21:14 NZDTLOG:  statement: ALTER TABLE "library_item_metadata" ENABLE TRIGGER USER
    2014-03-07 15:21:14 NZDTLOG:  statement: ALTER TABLE "system_applications" ENABLE TRIGGER USER
    2014-03-07 15:21:14 NZDTLOG:  statement: ALTER TABLE "completed_tasks" ENABLE TRIGGER USER
    2014-03-07 15:21:14 NZDTLOG:  statement: ALTER TABLE "dynamic_attributes_defaults" ENABLE TRIGGER USER
    2014-03-07 15:21:14 NZDTLOG:  statement: ALTER TABLE "mdm_tasks" ENABLE TRIGGER USER
    2014-03-07 15:21:14 NZDTLOG:  statement: ALTER TABLE "assets" ENABLE TRIGGER USER
    2014-03-07 15:21:14 NZDTLOG:  statement: ALTER TABLE "devices" ENABLE TRIGGER USER
    2014-03-07 15:21:14 NZDTLOG:  statement: ALTER TABLE "vpp_products" ENABLE TRIGGER USER
    2014-03-07 15:21:14 NZDTLOG:  statement: ALTER TABLE "library_items_assets" ENABLE TRIGGER USER
    2014-03-07 15:21:14 NZDTLOG:  statement: ALTER TABLE "its_accounts" ENABLE TRIGGER USER
    2014-03-07 15:21:14 NZDTLOG:  statement: ALTER TABLE "profile_substitution_caches" ENABLE TRIGGER USER
    2014-03-07 15:21:14 NZDTLOG:  shutting down
    '/Library/Server/ProfileManager/Data/PostgreSQL/pg_xlog/0000000100000001000000D0 ' ... '/Library/Server/ProfileManager/Data/backup/0000000100000001000000D0'
    2014-03-07 15:21:14 NZDTLOG:  database system is shut down
    '/Library/Server/ProfileManager/Data/PostgreSQL/pg_xlog/0000000100000001000000D0 ' --> '/Library/Server/ProfileManager/Data/backup/0000000100000001000000D0'
    2014-03-07 15:22:15 NZDTLOG:  connection received: host=[local]
    2014-03-07 15:22:15 NZDTLOG:  connection received: host=[local]
    2014-03-07 15:22:15 NZDTLOG:  database system was shut down at 2014-03-07 15:21:14 NZDT
    2014-03-07 15:22:15 NZDTFATAL:  the database system is starting up
    2014-03-07 15:22:15 NZDTFATAL:  the database system is starting up
    2014-03-07 15:22:15 NZDTLOG:  autovacuum launcher started
    2014-03-07 15:22:15 NZDTLOG:  database system is ready to accept connections
    2014-03-07 15:22:15 NZDTLOG:  connection received: host=[local]
    2014-03-07 15:22:15 NZDTLOG:  connection authorized: user=_devicemgr database=template1
    2014-03-07 15:22:15 NZDTLOG:  connection received: host=[local]
    2014-03-07 15:22:15 NZDTLOG:  connection authorized: user=_devicemgr database=devicemgr_v2m0
    2014-03-07 15:22:16 NZDTLOG:  statement: ALTER TABLE "widgets" ENABLE TRIGGER USER
    2014-03-07 15:22:16 NZDTLOG:  statement: ALTER TABLE "preference_panes" ENABLE TRIGGER USER
    2014-03-07 15:22:17 NZDTLOG:  statement: ALTER TABLE "printers" ENABLE TRIGGER USER
    2014-03-07 15:22:17 NZDTLOG:  statement: ALTER TABLE "installed_applications" ENABLE TRIGGER USER
    2014-03-07 15:22:17 NZDTLOG:  statement: ALTER TABLE "users" ENABLE TRIGGER USER
    2014-03-07 15:22:17 NZDTLOG:  statement: ALTER TABLE "profiles" ENABLE TRIGGER USER
    2014-03-07 15:22:18 NZDTLOG:  statement: ALTER TABLE "dm_schema_information" ENABLE TRIGGER USER
    2014-03-07 15:22:18 NZDTLOG:  statement: ALTER TABLE "provisioning_profiles" ENABLE TRIGGER USER
    2014-03-07 15:22:18 NZDTLOG:  statement: ALTER TABLE "od_nodes" ENABLE TRIGGER USER
    2014-03-07 15:22:18 NZDTLOG:  statement: ALTER TABLE "user_groups" ENABLE TRIGGER USER
    2014-03-07 15:22:19 NZDTLOG:  statement: ALTER TABLE "network_lab_sessions" ENABLE TRIGGER USER
    2014-03-07 15:22:19 NZDTLOG:  statement: ALTER TABLE "enterprise_apps" ENABLE TRIGGER USER
    2014-03-07 15:22:19 NZDTLOG:  statement: ALTER TABLE "library_items" ENABLE TRIGGER USER
    2014-03-07 15:22:19 NZDTLOG:  statement: ALTER TABLE "data_files" ENABLE TRIGGER USER
    2014-03-07 15:22:20 NZDTLOG:  statement: ALTER TABLE "knob_sets" ENABLE TRIGGER USER
    2014-03-07 15:22:20 NZDTLOG:  connection received: host=[local]
    2014-03-07 15:22:20 NZDTLOG:  replication connection authorized: user=_devicemgr
    2014-03-07 15:22:20 NZDTLOG:  statement: ALTER TABLE "od_library_items" ENABLE TRIGGER USER
    2014-03-07 15:22:20 NZDTLOG:  statement: ALTER TABLE "work_tasks" ENABLE TRIGGER USER
    2014-03-07 15:22:20 NZDTLOG:  statement: ALTER TABLE "user_tasks" ENABLE TRIGGER USER
    2014-03-07 15:22:20 NZDTLOG:  statement: ALTER TABLE "mdm_targets" ENABLE TRIGGER USER
    2014-03-07 15:22:21 NZDTLOG:  statement: ALTER TABLE "asset_metadata" ENABLE TRIGGER USER
    2014-03-07 15:22:21 NZDTLOG:  statement: ALTER TABLE "auto_join_profiles" ENABLE TRIGGER USER
    2014-03-07 15:22:21 NZDTLOG:  statement: ALTER TABLE "db_notifications" ENABLE TRIGGER USER
    2014-03-07 15:22:21 NZDTLOG:  statement: ALTER TABLE "internal_tasks" ENABLE TRIGGER USER
    2014-03-07 15:22:22 NZDTLOG:  statement: ALTER TABLE "library_item_tasks" ENABLE TRIGGER USER
    2014-03-07 15:22:22 NZDTLOG:  statement: ALTER TABLE "vpp_licenses" ENABLE TRIGGER USER
    2014-03-07 15:22:22 NZDTLOG:  statement: ALTER TABLE "settings" ENABLE TRIGGER USER
    2014-03-07 15:22:22 NZDTLOG:  statement: ALTER TABLE "device_groups" ENABLE TRIGGER USER
    2014-03-07 15:22:22 NZDTLOG:  statement: ALTER TABLE "media" ENABLE TRIGGER USER
    2014-03-07 15:22:22 NZDTLOG:  statement: ALTER TABLE "lab_sessions" ENABLE TRIGGER USER
    2014-03-07 15:22:22 NZDTLOG:  statement: ALTER TABLE "owner_lab_sessions" ENABLE TRIGGER USER
    2014-03-07 15:22:23 NZDTLOG:  statement: ALTER TABLE "library_item_metadata" ENABLE TRIGGER USER
    2014-03-07 15:22:23 NZDTLOG:  statement: ALTER TABLE "dynamic_attributes_defaults" ENABLE TRIGGER USER
    2014-03-07 15:22:23 NZDTLOG:  statement: ALTER TABLE "mdm_tasks" ENABLE TRIGGER USER
    2014-03-07 15:22:23 NZDTLOG:  statement: ALTER TABLE "completed_tasks" ENABLE TRIGGER USER
    2014-03-07 15:22:23 NZDTLOG:  statement: ALTER TABLE "system_applications" ENABLE TRIGGER USER
    2014-03-07 15:22:23 NZDTLOG:  statement: ALTER TABLE "assets" ENABLE TRIGGER USER
    2014-03-07 15:22:23 NZDTLOG:  statement: ALTER TABLE "devices" ENABLE TRIGGER USER
    2014-03-07 15:22:23 NZDTLOG:  statement: ALTER TABLE "vpp_products" ENABLE TRIGGER USER
    2014-03-07 15:22:24 NZDTLOG:  statement: ALTER TABLE "library_items_assets" ENABLE TRIGGER USER
    2014-03-07 15:22:24 NZDTLOG:  statement: ALTER TABLE "its_accounts" ENABLE TRIGGER USER
    2014-03-07 15:22:24 NZDTLOG:  statement: ALTER TABLE "profile_substitution_caches" ENABLE TRIGGER USER
    2014-03-07 15:22:24 NZDTLOG:  connection received: host=[local]
    2014-03-07 15:22:24 NZDTLOG:  connection authorized: user=_devicemgr database=devicemgr_v2m0
    2014-03-07 15:22:24 NZDTLOG:  connection received: host=[local]
    2014-03-07 15:22:24 NZDTLOG:  connection authorized: user=_devicemgr database=devicemgr_v2m0
    2014-03-07 15:22:24 NZDTLOG:  connection received: host=[local]
    2014-03-07 15:22:24 NZDTLOG:  connection authorized: user=_devicemgr database=devicemgr_v2m0
    2014-03-07 15:22:24 NZDTLOG:  connection received: host=[local]
    2014-03-07 15:22:24 NZDTLOG:  connection authorized: user=_devicemgr database=devicemgr_v2m0
    2014-03-07 15:22:24 NZDTLOG:  statement: CREATE TEMPORARY TABLE "__runtime_temp_devicemgrd-4322725-2" ("value" varchar UNIQUE)
    2014-03-07 15:22:25 NZDTERROR:  could not read block 46 in file "base/17197/12027": read only 0 of 8192 bytes
    2014-03-07 15:22:25 NZDTSTATEMENT:  CREATE TEMPORARY TABLE "__runtime_temp_devicemgrd-4322725-2" ("value" varchar UNIQUE)
    2014-03-07 15:22:31 NZDTLOG:  connection received: host=[local]
    2014-03-07 15:22:31 NZDTLOG:  connection authorized: user=_devicemgr database=devicemgr_v2m0
    2014-03-07 15:22:31 NZDTLOG:  connection received: host=[local]
    2014-03-07 15:22:31 NZDTLOG:  connection authorized: user=_devicemgr database=devicemgr_v2m0
    2014-03-07 15:22:31 NZDTLOG:  connection received: host=[local]
    2014-03-07 15:22:31 NZDTLOG:  connection authorized: user=_devicemgr database=devicemgr_v2m0
    2014-03-07 15:22:31 NZDTLOG:  connection received: host=[local]
    2014-03-07 15:22:31 NZDTLOG:  connection authorized: user=_devicemgr database=devicemgr_v2m0
    2014-03-07 15:22:31 NZDTLOG:  connection received: host=[local]
    2014-03-07 15:22:31 NZDTLOG:  connection authorized: user=_devicemgr database=devicemgr_v2m0
    2014-03-07 15:22:31 NZDTLOG:  connection received: host=[local]
    2014-03-07 15:22:31 NZDTLOG:  connection authorized: user=_devicemgr database=devicemgr_v2m0
    2014-03-07 15:22:31 NZDTLOG:  connection received: host=[local]
    2014-03-07 15:22:31 NZDTLOG:  connection authorized: user=_devicemgr database=devicemgr_v2m0
    2014-03-07 15:22:31 NZDTLOG:  connection received: host=[local]
    2014-03-07 15:22:31 NZDTLOG:  connection authorized: user=_devicemgr database=devicemgr_v2m0
    2014-03-07 15:22:31 NZDTLOG:  connection received: host=[local]
    2014-03-07 15:22:31 NZDTLOG:  connection authorized: user=_devicemgr database=devicemgr_v2m0
    2014-03-07 15:22:31 NZDTLOG:  connection received: host=[local]
    2014-03-07 15:22:31 NZDTLOG:  connection authorized: user=_devicemgr database=devicemgr_v2m0
    2014-03-07 15:22:35 NZDTLOG:  statement: CREATE TEMPORARY TABLE "__runtime_temp_devicemgrd-4322728-2" ("value" varchar UNIQUE)
    2014-03-07 15:22:35 NZDTERROR:  could not read block 46 in file "base/17197/12027": read only 0 of 8192 bytes
    2014-03-07 15:22:35 NZDTSTATEMENT:  CREATE TEMPORARY TABLE "__runtime_temp_devicemgrd-4322728-2" ("value" varchar UNIQUE)
    2014-03-07 15:22:35 NZDTLOG:  autovacuum: found orphan temp table "pg_temp_18"."temp_updated_target_tasks" in database "devicemgr_v2m0"
    2014-03-07 15:23:11 NZDTLOG:  connection received: host=[local]
    2014-03-07 15:23:11 NZDTLOG:  connection authorized: user=_devicemgr database=devicemgr_v2m0
    2014-03-07 15:23:11 NZDTLOG:  connection received: host=[local]
    2014-03-07 15:23:11 NZDTLOG:  connection authorized: user=_devicemgr database=devicemgr_v2m0
    2014-03-07 15:23:11 NZDTLOG:  statement: CREATE TEMPORARY TABLE "__runtime_temp_devicemgrd-4322766-2" ("value" varchar UNIQUE)
    2014-03-07 15:23:12 NZDTERROR:  could not read block 46 in file "base/17197/12027": read only 0 of 8192 bytes
    2014-03-07 15:23:12 NZDTSTATEMENT:  CREATE TEMPORARY TABLE "__runtime_temp_devicemgrd-4322766-2" ("value" varchar UNIQUE)
    2014-03-07 15:24:14 NZDTERROR:  could not read block 46 in file "base/17197/12027": read only 0 of 8192 bytes
    2014-03-07 15:24:14 NZDTCONTEXT:  SQL statement "CREATE TEMPORARY TABLE IF NOT EXISTS temp_updated_target_tasks (
              LIKE view_target_tasks
              ) ON COMMIT DELETE ROWS"
              PL/pgSQL function dm_prepare_updated_target_tasks(bigint,bigint[]) line 6 at SQL statement
    2014-03-07 15:24:14 NZDTSTATEMENT:  SELECT dm_prepare_updated_target_tasks(4322870)
    2014-03-07 15:27:19 NZDTLOG:  statement: CREATE TEMPORARY TABLE "__runtime_temp_devicemgrd-4322874-2" ("value" varchar UNIQUE)
    2014-03-07 15:27:19 NZDTERROR:  could not read block 46 in file "base/17197/12027": read only 0 of 8192 bytes
    2014-03-07 15:27:19 NZDTSTATEMENT:  CREATE TEMPORARY TABLE "__runtime_temp_devicemgrd-4322874-2" ("value" varchar UNIQUE)
    2014-03-07 15:27:35 NZDTLOG:  autovacuum: found orphan temp table "pg_temp_17"."temp_updated_target_tasks" in database "devicemgr_v2m0"
    2014-03-07 15:27:35 NZDTLOG:  autovacuum: found orphan temp table "pg_temp_11"."temp_updated_target_tasks" in database "devicemgr_v2m0"
    2014-03-07 15:27:35 NZDTLOG:  autovacuum: found orphan temp table "pg_temp_12"."temp_updated_target_tasks" in database "devicemgr_v2m0"
    2014-03-07 15:27:35 NZDTLOG:  autovacuum: found orphan temp table "pg_temp_15"."temp_updated_target_tasks" in database "devicemgr_v2m0"
    2014-03-07 15:27:35 NZDTLOG:  autovacuum: found orphan temp table "pg_temp_14"."temp_updated_target_tasks" in database "devicemgr_v2m0"
    2014-03-07 15:27:35 NZDTLOG:  autovacuum: found orphan temp table "pg_temp_16"."temp_updated_target_tasks" in database "devicemgr_v2m0"
    2014-03-07 15:27:35 NZDTLOG:  autovacuum: found orphan temp table "pg_temp_9"."temp_updated_target_tasks" in database "devicemgr_v2m0"
    2014-03-07 15:27:35 NZDTLOG:  autovacuum: found orphan temp table "pg_temp_10"."temp_updated_target_tasks" in database "devicemgr_v2m0"
    2014-03-07 15:27:35 NZDTLOG:  autovacuum: found orphan temp table "pg_temp_13"."temp_updated_target_tasks" in database "devicemgr_v2m0"
    2014-03-07 15:27:52 NZDTLOG:  statement: CREATE TEMPORARY TABLE "__runtime_temp_devicemgrd-4322875-2" ("value" varchar UNIQUE)
    2014-03-07 15:27:52 NZDTERROR:  could not read block 46 in file "base/17197/12027": read only 0 of 8192 bytes
    2014-03-07 15:27:52 NZDTSTATEMENT:  CREATE TEMPORARY TABLE "__runtime_temp_devicemgrd-4322875-2" ("value" varchar UNIQUE)
    2014-03-07 15:28:15 NZDTLOG:  connection received: host=[local]
    2014-03-07 15:28:15 NZDTLOG:  connection authorized: user=_devicemgr database=template1
    2014-03-07 15:28:16 NZDTLOG:  statement: CREATE TEMPORARY TABLE "__runtime_temp_devicemgrd-4322881-2" ("value" varchar UNIQUE)
    2014-03-07 15:28:16 NZDTERROR:  could not read block 46 in file "base/17197/12027": read only 0 of 8192 bytes
    2014-03-07 15:28:16 NZDTSTATEMENT:  CREATE TEMPORARY TABLE "__runtime_temp_devicemgrd-4322881-2" ("value" varchar UNIQUE)
    2014-03-07 15:28:19 NZDTLOG:  connection received: host=[local]
    2014-03-07 15:28:19 NZDTLOG:  connection authorized: user=_devicemgr database=devicemgr_v2m0
    2014-03-07 15:28:19 NZDTLOG:  connection received: host=[local]
    2014-03-07 15:28:19 NZDTLOG:  connection authorized: user=_devicemgr database=devicemgr_v2m0
    2014-03-07 15:28:19 NZDTLOG:  connection received: host=[local]
    2014-03-07 15:28:19 NZDTLOG:  connection authorized: user=_devicemgr database=devicemgr_v2m0
    2014-03-07 15:28:19 NZDTLOG:  connection received: host=[local]
    2014-03-07 15:28:19 NZDTLOG:  connection authorized: user=_devicemgr database=devicemgr_v2m0
    2014-03-07 15:28:19 NZDTLOG:  connection received: host=[local]
    2014-03-07 15:28:19 NZDTLOG:  connection authorized: user=_devicemgr database=devicemgr_v2m0
    2014-03-07 15:28:19 NZDTLOG:  connection received: host=[local]
    2014-03-07 15:28:19 NZDTLOG:  connection authorized: user=_devicemgr database=devicemgr_v2m0
    2014-03-07 15:28:19 NZDTLOG:  connection received: host=[local]
    2014-03-07 15:28:19 NZDTLOG:  connection authorized: user=_devicemgr database=devicemgr_v2m0
    2014-03-07 15:28:19 NZDTLOG:  connection received: host=[local]
    2014-03-07 15:28:19 NZDTLOG:  connection authorized: user=_devicemgr database=devicemgr_v2m0
    2014-03-07 15:28:19 NZDTLOG:  connection received: host=[local]
    2014-03-07 15:28:19 NZDTLOG:  connection authorized: user=_devicemgr database=devicemgr_v2m0
    2014-03-07 15:28:19 NZDTLOG:  connection received: host=[local]
    2014-03-07 15:28:19 NZDTLOG:  connection authorized: user=_devicemgr database=devicemgr_v2m0
    2014-03-07 15:28:53 NZDTERROR:  could not read block 46 in file "base/17197/12027": read only 0 of 8192 bytes
    2014-03-07 15:28:53 NZDTCONTEXT:  SQL statement "CREATE TEMPORARY TABLE IF NOT EXISTS temp_updated_target_tasks (
              LIKE view_target_tasks
              ) ON COMMIT DELETE ROWS"
              PL/pgSQL function dm_prepare_updated_target_tasks(bigint,bigint[]) line 6 at SQL statement
    2014-03-07 15:28:53 NZDTSTATEMENT:  SELECT dm_prepare_updated_target_tasks(4322886)
    2014-03-07 15:29:16 NZDTERROR:  could not read block 46 in file "base/17197/12027": read only 0 of 8192 bytes
    2014-03-07 15:29:16 NZDTCONTEXT:  SQL statement "CREATE TEMPORARY TABLE IF NOT EXISTS temp_updated_target_tasks (
              LIKE view_target_tasks
              ) ON COMMIT DELETE ROWS"
              PL/pgSQL function dm_prepare_updated_target_tasks(bigint,bigint[]) line 6 at SQL statement
    2014-03-07 15:29:16 NZDTSTATEMENT:  SELECT dm_prepare_updated_target_tasks(4322888)
    2014-03-07 15:29:23 NZDTERROR:  could not read block 46 in file "base/17197/12027": read only 0 of 8192 bytes
    2014-03-07 15:29:23 NZDTCONTEXT:  SQL statement "CREATE TEMPORARY TABLE IF NOT EXISTS temp_updated_target_tasks (
              LIKE view_target_tasks
              ) ON COMMIT DELETE ROWS"
              PL/pgSQL function dm_prepare_updated_target_tasks(bigint,bigint[]) line 6 at SQL statement
    2014-03-07 15:29:23 NZDTSTATEMENT:  SELECT dm_prepare_updated_target_tasks(4322890)
    2014-03-07 15:29:28 NZDTERROR:  could not read block 46 in file "base/17197/12027": read only 0 of 8192 bytes
    2014-03-07 15:29:28 NZDTCONTEXT:  SQL statement "CREATE TEMPORARY TABLE IF NOT EXISTS temp_updated_target_tasks (
              LIKE view_target_tasks
              ) ON COMMIT DELETE ROWS"
              PL/pgSQL function dm_prepare_updated_target_tasks(bigint,bigint[]) line 6 at SQL statement
    2014-03-07 15:29:28 NZDTSTATEMENT:  SELECT dm_prepare_updated_target_tasks(4322892)
    2014-03-07 15:29:38 NZDTERROR:  could not read block 46 in file "base/17197/12027": read only 0 of 8192 bytes
    2014-03-07 15:29:38 NZDTCONTEXT:  SQL statement "CREATE TEMPORARY TABLE IF NOT EXISTS temp_updated_target_tasks (
              LIKE view_target_tasks
              ) ON COMMIT DELETE ROWS"
              PL/pgSQL function dm_prepare_updated_target_tasks(bigint,bigint[]) line 6 at SQL statement
    2014-03-07 15:29:38 NZDTSTATEMENT:  SELECT dm_prepare_updated_target_tasks(4322894)
    2014-03-07 15:34:34 NZDTERROR:  could not read block 46 in file "base/17197/12027": read only 0 of 8192 bytes
    2014-03-07 15:34:34 NZDTCONTEXT:  SQL statement "CREATE TEMPORARY TABLE IF NOT EXISTS temp_updated_target_tasks (
              LIKE view_target_tasks
              ) ON COMMIT DELETE ROWS"
              PL/pgSQL function dm_prepare_updated_target_tasks(bigint,bigint[]) line 6 at SQL statement
    2014-03-07 15:34:34 NZDTSTATEMENT:  SELECT dm_prepare_updated_target_tasks(4322921)
    2014-03-07 15:34:45 NZDTERROR:  could not read block 46 in file "base/17197/12027": read only 0 of 8192 bytes
    2014-03-07 15:34:45 NZDTCONTEXT:  SQL statement "CREATE TEMPORARY TABLE IF NOT EXISTS temp_updated_target_tasks (
              LIKE view_target_tasks
              ) ON COMMIT DELETE ROWS"
              PL/pgSQL function dm_prepare_updated_target_tasks(bigint,bigint[]) line 6 at SQL statement
    2014-03-07 15:34:45 NZDTSTATEMENT:  SELECT dm_prepare_updated_target_tasks(4322923)
    2014-03-07 15:34:49 NZDTERROR:  could not read block 46 in file "base/17197/12027": read only 0 of 8192 bytes
    2014-03-07 15:34:49 NZDTCONTEXT:  SQL statement "CREATE TEMPORARY TABLE IF NOT EXISTS temp_updated_target_tasks (
              LIKE view_target_tasks
              ) ON COMMIT DELETE ROWS"
              PL/pgSQL function dm_prepare_updated_target_tasks(bigint,bigint[]) line 6 at SQL statement
    2014-03-07 15:34:49 NZDTSTATEMENT:  SELECT dm_prepare_updated_target_tasks(4322927)
    2014-03-07 15:34:52 NZDTERROR:  could not read block 46 in file "base/17197/12027": read only 0 of 8192 bytes
    2014-03-07 15:34:52 NZDTCONTEXT:  SQL statement "CREATE TEMPORARY TABLE IF NOT EXISTS temp_updated_target_tasks (
              LIKE view_target_tasks
              ) ON COMMIT DELETE ROWS"
              PL/pgSQL function dm_prepare_updated_target_tasks(bigint,bigint[]) line 6 at SQL statement
    2014-03-07 15:34:52 NZDTSTATEMENT:  SELECT dm_prepare_updated_target_tasks(4322929)
    2014-03-07 15:35:11 NZDTERROR:  could not read block 46 in file "base/17197/12027": read only 0 of 8192 bytes
    2014-03-07 15:35:11 NZDTCONTEXT:  SQL statement "CREATE TEMPORARY TABLE IF NOT EXISTS temp_updated_target_tasks (
              LIKE view_target_tasks
              ) ON COMMIT DELETE ROWS"
              PL/pgSQL function dm_prepare_updated_target_tasks(bigint,bigint[]) line 6 at SQL statement
    2014-03-07 15:35:11 NZDTSTATEMENT:  SELECT dm_prepare_updated_target_tasks(4322931)
    2014-03-07 15:35:14 NZDTERROR:  could not read block 46 in file "base/17197/12027": read only 0 of 8192 bytes
    2014-03-07 15:35:14 NZDTCONTEXT:  SQL statement "CREATE TEMPORARY TABLE IF NOT EXISTS temp_updated_target_tasks (
              LIKE view_target_tasks
              ) ON COMMIT DELETE ROWS"
              PL/pgSQL function dm_prepare_updated_target_tasks(bigint,bigint[]) line 6 at SQL statement
    2014-03-07 15:35:14 NZDTSTATEMENT:  SELECT dm_prepare_updated_target_tasks(4322933)
    2014-03-07 15:35:53 NZDTERROR:  could not read block 46 in file "base/17197/12027": read only 0 of 8192 bytes
    2014-03-07 15:35:53 NZDTCONTEXT:  SQL statement "CREATE TEMPORARY TABLE IF NOT EXISTS temp_updated_target_tasks (
              LIKE view_target_tasks
              ) ON COMMIT DELETE ROWS"
              PL/pgSQL function dm_prepare_updated_target_tasks(bigint,bigint[]) line 6 at SQL statement
    2014-03-07 15:35:53 NZDTSTATEMENT:  SELECT dm_prepare_updated_target_tasks(4322936)
    2014-03-07 15:35:58 NZDTERROR:  could not read block 46 in file "base/17197/12027": read only 0 of 8192 bytes
    2014-03-07 15:35:58 NZDTCONTEXT:  SQL statement "CREATE TEMPORARY TABLE IF NOT EXISTS temp_updated_target_tasks (
              LIKE view_target_tasks
              ) ON COMMIT DELETE ROWS"
              PL/pgSQL function dm_prepare_updated_target_tasks(bigint,bigint[]) line 6 at SQL statement
    2014-03-07 15:35:58 NZDTSTATEMENT:  SELECT dm_prepare_updated_target_tasks(4322939)
    2014-03-07 15:36:01 NZDTERROR:  could not read block 46 in file "base/17197/12027": read only 0 of 8192 bytes
    2014-03-07 15:36:01 NZDTCONTEXT:  SQL statement "CREATE TEMPORARY TABLE IF NOT EXISTS temp_updated_target_tasks (
              LIKE view_target_tasks
              ) ON COMMIT DELETE ROWS"
              PL/pgSQL function dm_prepare_updated_target_tasks(bigint,bigint[]) line 6 at SQL statement
    2014-03-07 15:36:01 NZDTSTATEMENT:  SELECT dm_prepare_updated_target_tasks(4322941)
    2014-03-07 15:36:06 NZDTERROR:  could not read block 46 in file "base/17197/12027": read only 0 of 8192 bytes
    2014-03-07 15:36:06 NZDTCONTEXT:  SQL statement "CREATE TEMPORARY TABLE IF NOT EXISTS temp_updated_target_tasks (
              LIKE view_target_tasks
              ) ON COMMIT DELETE ROWS"
              PL/pgSQL function dm_prepare_updated_target_tasks(bigint,bigint[]) line 6 at SQL statement
    2014-03-07 15:36:06 NZDTSTATEMENT:  SELECT dm_prepare_updated_target_tasks(4322944)
    2014-03-07 15:36:06 NZDTERROR:  could not read block 46 in file "base/17197/12027": read only 0 of 8192 bytes
    2014-03-07 15:36:06 NZDTCONTEXT:  SQL statement "CREATE TEMPORARY TABLE IF NOT EXISTS temp_updated_target_tasks (
              LIKE view_target_tasks
              ) ON COMMIT DELETE ROWS"
              PL/pgSQL function dm_prepare_updated_target_tasks(bigint,bigint[]) line 6 at SQL statement
    2014-03-07 15:36:06 NZDTSTATEMENT:  SELECT dm_prepare_updated_target_tasks(4322945)
    2014-03-07 15:36:12 NZDTERROR:  could not read block 46 in file "base/17197/12027": read only 0 of 8192 bytes
    2014-03-07 15:36:12 NZDTCONTEXT:  SQL statement "CREATE TEMPORARY TABLE IF NOT EXISTS temp_updated_target_tasks (
              LIKE view_target_tasks
              ) ON COMMIT DELETE ROWS"
              PL/pgSQL function dm_prepare_updated_target_tasks(bigint,bigint[]) line 6 at SQL statement
    2014-03-07 15:36:12 NZDTSTATEMENT:  SELECT dm_prepare_updated_target_tasks(4322948)
    2014-03-07 15:36:23 NZDTERROR:  could not read block 46 in file "base/17197/12027": read only 0 of 8192 bytes
    2014-03-07 15:36:23 NZDTCONTEXT:  SQL statement "CREATE TEMPORARY TABLE IF NOT EXISTS temp_updated_target_tasks (
              LIKE view_target_tasks
              ) ON COMMIT DELETE ROWS"
              PL/pgSQL function dm_prepare_updated_target_tasks(bigint,bigint[]) line 6 at SQL statement
    2014-03-07 15:36:23 NZDTSTATEMENT:  SELECT dm_prepare_updated_target_tasks(4322950)
    2014-03-07 15:36:26 NZDTERROR:  could not read block 46 in file "base/17197/12027": read only 0 of 8192 bytes
    2014-03-07 15:36:26 NZDTCONTEXT:  SQL statement "CREATE TEMPORARY TABLE IF NOT EXISTS temp_updated_target_tasks (
              LIKE view_target_tasks
              ) ON COMMIT DELETE ROWS"
              PL/pgSQL function dm_prepare_updated_target_tasks(bigint,bigint[]) line 6 at SQL statement
    2014-03-07 15:36:26 NZDTSTATEMENT:  SELECT dm_prepare_updated_target_tasks(4322952)
    2014-03-07 15:36:42 NZDTERROR:  could not read block 46 in file "base/17197/12027": read only 0 of 8192 bytes
    2014-03-07 15:36:42 NZDTCONTEXT:  SQL statement "CREATE TEMPORARY TABLE IF NOT EXISTS temp_updated_target_tasks (
              LIKE view_target_tasks
              ) ON COMMIT DELETE ROWS"
              PL/pgSQL function dm_prepare_updated_target_tasks(bigint,bigint[]) line 6 at SQL statement
    2014-03-07 15:36:42 NZDTSTATEMENT:  SELECT dm_prepare_updated_target_tasks(4322954)
    2014-03-07 15:37:35 NZDTLOG:  autovacuum: found orphan temp table "pg_temp_17"."temp_updated_target_tasks" in database "devicemgr_v2m0"
    2014-03-07 15:37:35 NZDTLOG:  autovacuum: found orphan temp table "pg_temp_11"."temp_updated_target_tasks" in database "devicemgr_v2m0"
    2014-03-07 15:37:35 NZDTLOG:  autovacuum: found orphan temp table "pg_temp_12"."temp_updated_target_tasks" in database "devicemgr_v2m0"
    2014-03-07 15:37:35 NZDTLOG:  autovacuum: found orphan temp table "pg_temp_15"."temp_updated_target_tasks" in database "devicemgr_v2m0"
    2014-03-07 15:37:35 NZDTLOG:  autovacuum: found orphan temp table "pg_temp_14"."temp_updated_target_tasks" in database "devicemgr_v2m0"
    2014-03-07 15:37:35 NZDTLOG:  autovacuum: found orphan temp table "pg_temp_16"."temp_updated_target_tasks" in database "devicemgr_v2m0"
    2014-03-07 15:37:35 NZDTLOG:  autovacuum: found orphan temp table "pg_temp_9"."temp_updated_target_tasks" in database "devicemgr_v2m0"
    2014-03-07 15:37:35 NZDTLOG:  autovacuum: found orphan temp table "pg_temp_10"."temp_updated_target_tasks" in database "devicemgr_v2m0"
    2014-03-07 15:37:35 NZDTLOG:  autovacuum: found orphan temp table "pg_temp_13"."temp_updated_target_tasks" in database "devicemgr_v2m0"
    2014-03-07 15:38:35 NZDTLOG:  autovacuum: found orphan temp table "pg_temp_17"."temp_updated_target_tasks" in database "devicemgr_v2m0"
    2014-03-07 15:38:35 NZDTLOG:  autovacuum: found orphan temp table "pg_temp_11"."temp_updated_target_tasks" in database "devicemgr_v2m0"
    2014-03-07 15:38:35 NZDTLOG:  autovacuum: found orphan temp table "pg_temp_12"."temp_updated_target_tasks" in database "devicemgr_v2m0"
    2014-03-07 15:38:35 NZDTLOG:  autovacuum: found orphan temp table "pg_temp_15"."temp_updated_target_tasks" in database "devicemgr_v2m0"
    2014-03-07 15:38:35 NZDTLOG:  autovacuum: found orphan temp table "pg_temp_14"."temp_updated_target_tasks" in database "devicemgr_v2m0"
    2014-03-07 15:38:35 NZDTLOG:  autovacuum: found orphan temp table "pg_temp_16"."temp_updated_target_tasks" in database "devicemgr_v2m0"
    2014-03-07 15:38:35 NZDTLOG:  autovacuum: found orphan temp table "pg_temp_9"."temp_updated_target_tasks" in database "devicemgr_v2m0"
    2014-03-07 15:38:35 NZDTLOG:  autovacuum: found orphan temp table "pg_temp_10"."temp_updated_target_tasks" in database "devicemgr_v2m0"
    2014-03-07 15:38:35 NZDTLOG:  autovacuum: found orphan temp table "pg_temp_13"."temp_updated_target_tasks" in database "devicemgr_v2m0"
    2014-03-07 15:39:35 NZDTLOG:  autovacuum: found orphan temp table "pg_temp_17"."temp_updated_target_tasks" in database "devicemgr_v2m0"
    2014-03-07 15:39:35 NZDTLOG:  autovacuum: found orphan temp table "pg_temp_11"."temp_updated_target_tasks" in database "devicemgr_v2m0"
    2014-03-07 15:39:35 NZDTLOG:  autovacuum: found orphan temp table "pg_temp_12"."temp_updated_target_tasks" in database "devicemgr_v2m0"
    2014-03-07 15:39:35 NZDTLOG:  autovacuum: found orphan temp table "pg_temp_15"."temp_updated_target_tasks" in database "devicemgr_v2m0"
    2014-03-07 15:39:35 NZDTLOG:  autovacuum: found orphan temp table "pg_temp_14"."temp_updated_target_tasks" in database "devicemgr_v2m0"
    2014-03-07 15:39:35 NZDTLOG:  autovacuum: found orphan temp table "pg_temp_16"."temp_updated_target_tasks" in database "devicemgr_v2m0"
    2014-03-07 15:39:35 NZDTLOG:  autovacuum: found orphan temp table "pg_temp_9"."temp_updated_target_tasks" in database "devicemgr_v2m0"
    2014-03-07 15:39:35 NZDTLOG:  autovacuum: found orphan temp table "pg_temp_10"."temp_updated_target_tasks" in database "devicemgr_v2m0"
    2014-03-07 15:39:35 NZDTLOG:  autovacuum: found orphan temp table "pg_temp_13"."temp_updated_target_tasks" in database "devicemgr_v2m0"
    2014-03-07 15:40:35 NZDTLOG:  autovacuum: found orphan temp table "pg_temp_17"."temp_updated_target_tasks" in database "devicemgr_v2m0"
    2014-03-07 15:40:35 NZDTLOG:  autovacuum: found orphan temp table "pg_temp_11"."temp_updated_target_tasks" in database "devicemgr_v2m0"
    2014-03-07 15:40:35 NZDTLOG:  autovacuum: found orphan temp table "pg_temp_12"."temp_updated_target_tasks" in database "devicemgr_v2m0"
    2014-03-07 15:40:35 NZDTLOG:  autovacuum: found orphan temp table "pg_temp_15"."temp_updated_target_tasks" in database "devicemgr_v2m0"
    2014-03-07 15:40:35 NZDTLOG:  autovacuum: found orphan temp table "pg_temp_14"."temp_updated_target_tasks" in database "devicemgr_v2m0"
    2014-03-07 15:40:35 NZDTLOG:  autovacuum: found orphan temp table "pg_temp_16"."temp_updated_target_tasks" in database "devicemgr_v2m0"
    2014-03-07 15:40:35 NZDTLOG:  autovacuum: found orphan temp table "pg_temp_9"."temp_updated_target_tasks" in database "devicemgr_v2m0"
    2014-03-07 15:40:35 NZDTLOG:  autovacuum: found orphan temp table "pg_temp_10"."temp_updated_target_tasks" in database "devicemgr_v2m0"
    2014-03-07 15:40:35 NZDTLOG:  autovacuum: found orphan temp table "pg_temp_13"."temp_updated_target_tasks" in database "devicemgr_v2m0"
    2014-03-07 15:40:56 NZDTLOG:  statement: ALTER TABLE "widgets" ENABLE TRIGGER USER
    2014-03-07 15:40:56 NZDTLOG:  statement: ALTER TABLE "preference_panes" ENABLE TRIGGER USER
    2014-03-07 15:40:56 NZDTLOG:  statement: ALTER TABLE "printers" ENABLE TRIGGER USER
    2014-03-07 15:40:56 NZDTLOG:  statement: ALTER TABLE "installed_applications" ENABLE TRIGGER USER
    2014-03-07 15:40:56 NZDTLOG:  statement: ALTER TABLE "users" ENABLE TRIGGER USER
    2014-03-07 15:40:56 NZDTLOG:  statement: ALTER TABLE "profiles" ENABLE TRIGGER USER
    2014-03-07 15:40:57 NZDTLOG:  statement: ALTER TABLE "dm_schema_information" ENABLE TRIGGER USER
    2014-03-07 15:40:57 NZDTLOG:  connection received: host=[local]
    2014-03-07 15:40:57 NZDTLOG:  statement: ALTER TABLE "provisioning_profiles" ENABLE TRIGGER USER
    2014-03-07 15:40:57 NZDTLOG:  connection authorized: user=_devicemgr database=postgres
    2014-03-07 15:40:57 NZDTLOG:  statement: ALTER TABLE "od_nodes" ENABLE TRIGGER USER
    2014-03-07 15:40:57 NZDTLOG:  statement: ALTER TABLE "user_groups" ENABLE TRIGGER USER
    2014-03-07 15:40:57 NZDTLOG:  statement: ALTER TABLE "network_lab_sessions" ENABLE TRIGGER USER
    2014-03-07 15:40:57 NZDTLOG:  statement: ALTER TABLE "enterprise_apps" ENABLE TRIGGER USER
    2014-03-07 15:40:57 NZDTLOG:  statement: ALTER TABLE "library_items" ENABLE TRIGGER USER
    2014-03-07 15:40:58 NZDTLOG:  statement: ALTER TABLE "data_files" ENABLE TRIGGER USER
    2014-03-07 15:40:58 NZDTFATAL:  terminating connection due to administrator command
    2014-03-07 15:40:58 NZDTFATAL:  terminating connection due to administrator command
    2014-03-07 15:40:58 NZDTFATAL:  terminating connection due to administrator command
    2014-03-07 15:40:58 NZDTFATAL:  terminating connection due to administrator command
    2014-03-07 15:40:58 NZDTFATAL:  terminating connection due to administrator command
    2014-03-07 15:40:58 NZDTFATAL:  terminating connection due to administrator command
    2014-03-07 15:40:58 NZDTLOG:  received smart shutdown request
    2014-03-07 15:40:58 NZDTLOG:  autovacuum launcher shutting down
    2014-03-07 15:40:58 NZDTLOG:  statement: ALTER TABLE "knob_sets" ENABLE TRIGGER USER
    2014-03-07 15:40:58 NZDTLOG:  statement: ALTER TABLE "od_library_items" ENABLE TRIGGER USER
    2014-03-07 15:40:58 NZDTLOG:  statement: ALTER TABLE "work_tasks" ENABLE TRIGGER USER
    2014-03-07 15:40:58 NZDTLOG:  statement: ALTER TABLE "user_tasks" ENABLE TRIGGER USER
    2014-03-07 15:40:58 NZDTLOG:  statement: ALTER TABLE "mdm_targets" ENABLE TRIGGER USER
    2014-03-07 15:40:58 NZDTLOG:  statement: ALTER TABLE "asset_metadata" ENABLE TRIGGER USER
    2014-03-07 15:40:58 NZDTLOG:  statement: ALTER TABLE "auto_join_profiles" ENABLE TRIGGER USER
    2014-03-07 15:40:58 NZDTLOG:  statement: ALTER TABLE "db_notifications" ENABLE TRIGGER USER
    2014-03-07 15:40:58 NZDTLOG:  statement: ALTER TABLE "internal_tasks" ENABLE TRIGGER USER
    2014-03-07 15:40:58 NZDTLOG:  statement: ALTER TABLE "library_item_tasks" ENABLE TRIGGER USER
    2014-03-07 15:40:58 NZDTLOG:  statement: ALTER TABLE "vpp_licenses" ENABLE TRIGGER USER
    2014-03-07 15:40:58 NZDTLOG:  statement: ALTER TABLE "settings" ENABLE TRIGGER USER
    2014-03-07 15:40:58 NZDTLOG:  statement: ALTER TABLE "device_groups" ENABLE TRIGGER USER
    2014-03-07 15:40:58 NZDTLOG:  statement: ALTER TABLE "media" ENABLE TRIGGER USER
    2014-03-07 15:40:58 NZDTLOG:  statement: ALTER TABLE "lab_sessions" ENABLE TRIGGER USER
    2014-03-07 15:40:58 NZDTLOG:  statement: ALTER TABLE "owner_lab_sessions" ENABLE TRIGGER USER
    2014-03-07 15:40:58 NZDTLOG:  statement: ALTER TABLE "library_item_metadata" ENABLE TRIGGER USER
    2014-03-07 15:40:58 NZDTLOG:  statement: ALTER TABLE "dynamic_attributes_defaults" ENABLE TRIGGER USER
    2014-03-07 15:40:59 NZDTLOG:  statement: ALTER TABLE "mdm_tasks" ENABLE TRIGGER USER
    2014-03-07 15:40:59 NZDTLOG:  statement: ALTER TABLE "completed_tasks" ENABLE TRIGGER USER
    2014-03-07 15:40:59 NZDTL

  • SQLError: 'Error #3115: SQL Error.', details:'no such table: 'contact'', operation:'execute', detail

    hi
    just create database with SQLite Database Browser 2.0 b1 after creating the data base when i tried connect it in flash cs4-with air 1.1 its showing me error
    SQLError: 'Error #3115: SQL Error.', details:'no such table: 'contact'', operation:'execute', detailID:'2013' i tried to found every where but did not get the solution of this
    my code is here
    import flash.filesystem.File;
    import flash.data.*;
    import flash.data.SQLConnection;
    import flash.data.SQLStatement;
    import flash.data.SQLConnection;
    var dbFile:File=File.applicationStorageDirectory.resol  vePath("mydb.db");
    var sqlConn:SQLConnection = new SQLConnection();
    var sqlState:SQLStatement = new SQLStatement();
    sqlConn.open(dbFile);
    sqlState.sqlConnection = sqlConn;
    trace(sqlConn.connected+"current status "); // its show "true" here
    sqlState.text = "SELECT name FROM contact";
    sqlState.execute();
    var resultArray:Array = sqlState.getResult().data;
    thanks in advance

    Hi,
    I'm creating my Adobe Air App using Flash CS5 Professional and facing exactly the same error.
    SQLError: 'Error #3115: SQL Error.', details:'no such table: 'categories'', operation:'execute', detailID:'2013'
    My SQLite Db has been created using Firefox extension - SQLite Manager. The db file is placed into the same folder as the .fla and .swf files. The db has three tables namely: categories, period and activity. I don't understand why I'm getting this error. I have even tried copy pasting other source code from AS 3.0 reference guide but same error every time.
    The code below is a modified version of example code in AS 3.0 reference documentation. Can you suggest how the above error can be fixed?
    /you can also reply to me directly at [email protected]
    /regards
    import flash.data.SQLConnection;
    import flash.data.SQLResult;
    import flash.data.SQLStatement;
    import flash.display.Sprite;
    import flash.events.SQLErrorEvent;
    import flash.events.SQLEvent;
    import flash.filesystem.File;
    var conn:SQLConnection;
    var insertCategory:SQLStatement;
    var dbFile:File;
    databaseConnect();
    function databaseConnect():void
    // define where to find the database file
    var appStorage:File = File.applicationStorageDirectory;
    dbFile = appStorage.resolvePath("MyBudgetCalc.db");
    // open the database connection
    conn = new SQLConnection();
    conn.addEventListener(SQLErrorEvent.ERROR, errorHandler);
    conn.addEventListener(SQLEvent.OPEN, openHandler);
    trace("dbFile.exists:"+ dbFile.exists);
    conn.openAsync(dbFile);
    // Called when the database is connected
    function openHandler(event:SQLEvent):void
    conn.removeEventListener(SQLEvent.OPEN, openHandler);
    // start a transaction
    //Object(this).inputfield.text = "openHandler called.. ";
    conn.addEventListener(SQLEvent.BEGIN, beginHandler);
    conn.begin();
    trace("exiting openHandler..");
    // Called when the transaction begins
    function beginHandler(event:SQLEvent):void
    conn.removeEventListener(SQLEvent.BEGIN, beginHandler);
    //trace("beginHandler - SQLEvent message: "+SQLEvent.message);
    Object(this).inputfield.text = "beginHandler called.. ";
    insertCategory = new SQLStatement();
    insertCategory.sqlConnection = conn;
    insertCategory.text = "INSERT INTO categories(id, name) VALUES (', Auto')";
    insertCategory.execute();
    insertCategory.addEventListener(SQLEvent.RESULT, insertCategoryHandler);
        insertCategory.addEventListener(SQLErrorEvent.ERROR, errorHandler);
    trace("exiting beginHandler..");
    // Called after the phone number record is inserted
    function insertCategoryHandler(event:SQLEvent):void
    insertCategory.removeEventListener(SQLEvent.RESULT, insertCategoryHandler);
    insertCategory.removeEventListener(SQLErrorEvent.ERROR, errorHandler);
    // No errors so far, so commit the transaction
    conn.addEventListener(SQLEvent.COMMIT, commitHandler);
    conn.commit();
    trace("exiting insertCategoryHandler after conn.commit()..");
    // Called after the transaction is committed
    function commitHandler(event:SQLEvent):void
    conn.removeEventListener(SQLEvent.COMMIT, commitHandler);
    trace("exiting commitHandler(): Transaction complete..");
    // Called whenever an error occurs
    function errorHandler(event:SQLErrorEvent):void
    trace("entering errorHandler()..");
    // If a transaction is happening, roll it back
    if (conn.inTransaction)
    conn.addEventListener(SQLEvent.ROLLBACK, rollbackHandler);
    conn.rollback();
    trace(event.error.message);
    trace(event.error.details);
    trace("exiting errorHandler()..");
    // Called when the transaction is rolled back
    function rollbackHandler(event:SQLEvent):void
    conn.removeEventListener(SQLEvent.ROLLBACK, rollbackHandler);

Maybe you are looking for