UVMS upgrade to v6.9.21 failed with error Unable service description
search cancel

UVMS upgrade to v6.9.21 failed with error Unable service description

book

Article ID: 106131

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine

Issue/Introduction


Issue:
The upgrade UVMS to version 6.9.21 seems to fail with error message:
 "Error during installation: Error message = Unable service description "

The unicheckms command returns the previous version 6.7.41; while the version shows in Services is v6.9.21.

Investigation:
The upgrade was successfully done, except the part of "Change version in description of service".
Detail of error can be found in maintenance_debug.log, the script that fails:
 
cd /d "%U_ROOT_DIR%"
:: ------------------------------------------
:: Change version in description of service
:: -------------------------------------------
set TMPSERV="%installdir_value%\data\log\service.tmp"
call "%installdir_value%\app\bin\sc" query UniViewer_%node_value% >%TMPSERV% 2>&1
set bService=y
findstr /i 1060 %TMPSERV% >nul && set bService=n
del /q %TMPSERV%
:: i f service is installed we change it description
if %bService%==y (
call :LogStep Update service description
call sc description UniViewer_%node_value% "Service for UniViewer Management Server with node=%node_value% and version=%new_version%"
if errorlevel 1 (
call :log_error_for_is SEVERE_ERROR Unable service description
goto END_ERROR
)
)
The correct version UVMS now is v6.9.21
 

Environment

Release:
Component: AAUTEN

Resolution

Rerun the upgrade script will fix the incoherence issue.