IBM Support

IT38949: SQL LOG BACKUP CAN CRASH IF THE DATABASE IS IN "SIMPLE" RECOVERYMODE

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • SQL log backup process sqllogbackup.exe crashes intermittently
    if the database is changed to "Simple" recovery mode from "Full"
    recovery mode.
    
    Following log entries can be seen from the application log of
    Windows event viewer:
    ----------------------------------------------------------------
    Error mm/dd/yyyy hh:mm:ss AM Application Error 1000 (100)
    "Faulting application name: sqllogbackup.exe, version:
    10.1.8.<build number>, time stamp: 0x60cddcd3
    Faulting module name: KERNELBASE.dll, version: 10.0.17763.2090,
    time stamp: 0x48c3d784
    Exception code: 0xe0434352Fault offset:
    0x0000000000039329Faulting process id: 0x17b8
    Faulting application start time: 0x01d7bf414041d19b
    Faulting application path: c:\program files\IBM\IBM Spectrum
    Protect Plus\tools\sql\sqllogbackup.exe
    Faulting module path: C:\Windows\System32\KERNELBASE.dll
    Report Id: 8c83b8ca-9d46-4481-91c3-c40b13ad17ec
    Faulting package full name:
    
    Faulting package-relative application ID: "
    Error mm/dd/yyyy hh:mm:ss AM .NET Runtime 1026 None Application:
    sqllogbackup.exe
    Framework Version: v4.0.30319
    Description: The process was terminated due to an unhandled
    exception.
    Exception Info: System.Data.Odbc.OdbcException
    at System.Data.Odbc.OdbcConnection.HandleError(System.Data.Odbc
    .OdbcHandle,RetCode)
    at System.Data.Odbc.OdbcCommand.ExecuteReaderObject(System.Data
    .CommandBehavior,System.String, Boolean, System.Object[], SQL_AP
    at System.Data.Odbc.OdbcCommand.ExecuteReaderObject(System.Data
    .CommandBehavior,System.String, Boolean)
    at System.Data.Odbc.OdbcCommand.ExecuteNonQuery()
    at System.Threading.ExecutionContext.RunInternal(System.Threadi
    ng.ExecutionContext,System.Threading.ContextCallback, System.Obj
    at System.Threading.ExecutionContext.Run(System.Threading.Execu
    tionContext,System.Threading.ContextCallback, System.Object, Boo
    at System.Threading.ExecutionContext.Run(System.Threading.Execu
    tionContext,System.Threading.ContextCallback, System.Object)
    at System.Threading.ThreadHelper.ThreadStart(System.Object)
    ----------------------------------------------------------------
    
    The command.log of the log backup is like following:
    ----------------------------------------------------------------
    ERROR [42000] [Microsoft][ODBC Driver 17 for SQL Server][SQL
    Server]BACKUP LOG is terminating abnormally.
    
    [yyyy-mm-dd hh:mm:ss] Error 25108 Thread-1 agent_sql_log:
    <CTGGE1049> The log backup failed for database [<database name>]
    on instance [<instance name>], error [Odbc command failed with
    error: ERROR [42000] [Microsoft][ODBC Driver 17 for SQL
    Server][SQL Server]The statement BACKUP LOG is not allowed while
    the recovery model is SIMPLE. Use BACKUP DATABASE or change the
    recovery model using ALTER DATABASE.
    ----------------------------------------------------------------
    
    Versions affected:
    IBM Spectrum Protect Plus 10.1.6 and later
    

Local fix

  • N/A
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * IBM Spectrum Protect Plus level 10.1.*                       *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * see Error Description                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Apply fixing level when available. This problem is currently *
    * projected to be fixed IBM Spectrum Protect Plus level        *
    * 10.1.9. Note that this is subject to change at the           *
    * discretion of IBM.                                           *
    ****************************************************************
    

Problem conclusion

  • Fixed an issue with checking the recovery model of a SQL
    database. After applying the fix the log backup task will skip
    the database in simple recovery model and the job will complete.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IT38949

  • Reported component name

    SP PLUS

  • Reported component ID

    5737SPLUS

  • Reported release

    A18

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2021-11-03

  • Closed date

    2021-11-17

  • Last modified date

    2021-11-17

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Modules/Macros

  • Apps     SQL
    

Fix information

  • Fixed component name

    SP PLUS

  • Fixed component ID

    5737SPLUS

Applicable component levels

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSNQFQ","label":"IBM Spectrum Protect Plus"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"A18","Line of Business":{"code":"LOB26","label":"Storage"}}]

Document Information

Modified date:
31 January 2024