WFO: Patch HF 414 fails while installing Framework Database BPMAINDB Hotfix KB123545


Doc ID    SOLN329699
Version:    2.0
Status:    Published
Published date:    30 Jan 2019
Created Date:    20 Sep 2018
Author:   
Imaobong Ekwere
 

Details

WFO 15.1 HFR 4

Framework Database BPMAINDB Hotfix KB123545 installation failed
During the patch 414 installation.

Problem Clarification

WFO Patch HF 414 fails while installing Framework Database BPMAINDB Hotfix KB123545

Cause

DMSA user was missing the SysAdmin role in SQL.

From the installer log:

MSI (s) (EC:38) [09:22:03:400]: Invoking remote custom action. DLL: C:\WINDOWS\Installer\MSIB266.tmp, Entrypoint: CAQuietExec
CAQuietExec: Entering CAQuietExec in C:\WINDOWS\Installer\MSIB266.tmp, version 3.5.2403.0
CAQuietExec: "E:\AvayaAura\Software\JRE64\\bin\java" -cp "E:\AvayaAura\Software\FrameworkDB\Installer\resources\;E:\AvayaAura\Software\FrameworkDB\Installer\bin\*" -Djava.library.path="E:\AvayaAura\Software\FrameworkDB\Installer\bin" -DLOGFILEPATH="K:\AvayaAura\Data\Logs\Database\FrameworkDB" com.verint.db.installer.DBInstaller sqlhost="xxxxxxxxx" sqlport="1433" dbname="BPMAINDB" dbtype="MAIN" is_refresh_patch="true" product_version=15.1.0.38330 forcewinauth="false"
CAQuietExec: - Start of the DB Installer
CAQuietExec: - Using DMSA Credentials from Secured Content Store, overrides input parameters.
CAQuietExec: - Using IMSA Credentials from Secured Content Store, overrides input parameters.
CAQuietExec: - Program Abort
CAQuietExec: java.sql.SQLException: CREATE FUNCTION permission denied in database 'tempdb'.
CAQuietExec: at net.sourceforge.jtds.jdbc.SQLDiagnostic.addDiagnostic(SQLDiagnostic.java:372) ~
CAQuietExec: at net.sourceforge.jtds.jdbc.TdsCore.tdsErrorToken(TdsCore.java:2988) ~
CAQuietExec: at net.sourceforge.jtds.jdbc.TdsCore.nextToken(TdsCore.java:2421) ~
CAQuietExec: at net.sourceforge.jtds.jdbc.TdsCore.getMoreResults(TdsCore.java:677) ~
CAQuietExec: at net.sourceforge.jtds.jdbc.JtdsStatement.processResults(JtdsStatement.java:613) ~
CAQuietExec: at net.sourceforge.jtds.jdbc.JtdsStatement.executeSQL(JtdsStatement.java:572) ~
CAQuietExec: at net.sourceforge.jtds.jdbc.JtdsStatement.executeImpl(JtdsStatement.java:809) ~
CAQuietExec: at net.sourceforge.jtds.jdbc.JtdsStatement.execute(JtdsStatement.java:1282) ~
CAQuietExec: at com.verint.db.installer.DBRunner$$anonfun$runSQL$3.apply

Solution

As perWFO v15.1 SQL Server Installation and Upgrade Guide: Database Management Account (DMSA) permissions include all database
installation, maintenance and configuration operations. DMSA is also responsible for
database upgrade, migration and patch installation.

Issue resolved after assigning the DMSA user with the SysAdmin role in SQL


Avaya -- Proprietary. Use pursuant to the terms of your signed agreement or Avaya policy