SAP Knowledge Base Article - Preview

3564075 - ASE upgrade fails due to UPDATE_ASE_POST_CONFIG=Failed to execute installsecurity - SAP ASE for BS.

Symptom

  • When trying to upgrade SAP ASE with saphostctrl, the following error message happens and upgrade fails.

    Error: Command execution failed. : Server message: Number 9616, Severity 16, State 1, Line 22, Server SID --- Message string: Database 'sybsecurity' is at an older version '16004040' than ASE server version '16004060'. . (fault code: 127)
    Operation ID: 6539718C1A281EEFB69D1E5721810642

    ----- Log messages ----
    Info: saphostcontrol: Executing LiveDatabaseUpdate
    Error: sapdbctrl: Server message: Number 9616, Severity 16, State 1, Line 22, Server SID --- Message string: Database 'sybsecurity' is at an older version '16004040' than ASE server version '16004060'. .
    Error: saphostcontrol: LiveDatabaseUpdate failed (sapdbctrl exit code = 1

  • Following an ASE update, the databases are upgraded to the newly installed patch version but, sybsecurity fails to upgrade and encounters the following errors:

Database 'sybsecurity' appears to be at an older version '16.0 SP04 PL04' than the present installation at version '16.0 SP04 PL06'; ASE will assess it, and upgrade it as required.
00:0002:00000:00002:2025/01/22 19:41:47.42 server  Database 'sybsecurity': beginning upgrade step [ID  1809]: executing SQL statement ("if exists(select 1 from sysauditopt...")

00:0002:00000:00002:2025/01/22 19:41:47.42 server  Error: 3461, Severity: 20, State: 1
00:0002:00000:00002:2025/01/22 19:41:47.42 server  Database 'sybsecurity': upgrade could not install required upgrade item '1809'. Please refer to previous error messages to determine the problem. Fix the problem, then try again.
00:0002:00000:00002:2025/01/22 19:41:47.42 server  Error: 3451, Severity: 20, State: 1
00:0002:00000:00002:2025/01/22 19:41:47.42 server  Database 'sybsecurity': upgrade has failed for this database.  Please refer to previous messages for the cause of the failure, correct the problem and try again.

  • Before upgrade

       installsecurity     16.0 SP04 PL04 HF1/EBF 31044 XXX/P/x86_64/SLES 12.4/ase160sp04pl06x/3636/64-bit/OPT/      Incomplete

  • The 'UPDATE_FORCE' option is not helpful to resolve the issue.


Read more...

Environment

  • SAP Adaptive Server Enterprise (ASE) 16.0 for Business Suite.
  • SAP Adaptive Server Enterprise (ASE) 15.7 for Business Suite.
  • SAP NetWeaver (NW) - All versions.
  • SAP Solution Manager (SOLMAN) - All versions.

Product

SAP Solution Manager 7.2

Keywords

installsecurity, sybsecurity, Error 3461, Error 3451, older version , KBA , BC-DB-SYB , Business Suite on Adaptive Server Enterprise , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.