Error during Agent service start after upgrade.
search cancel

Error during Agent service start after upgrade.

book

Article ID: 396755

calendar_today

Updated On:

Products

CA Release Automation - Release Operations Center (Nolio) CA Release Automation - DataManagement Server (Nolio)

Issue/Introduction

After the Agent was upgraded, the service is not starting and in "wrapper.log" appears a license error:

ERROR  | wrapper  | 2025/04/03 15:11:23.616 | License Error:
ERROR  | wrapper  | 2025/04/03 15:11:23.616 | The license does not authorize this version of the Wrapper to be run.
ERROR  | wrapper  | 2025/04/03 15:11:23.616 | Missing the 'pro' licensed feature

Environment

Release Automation 6.8 and above

Cause

Checking further the wrapper log, the following error appears:

INFO   | jvm 3    | 2025/04/09 10:04:54.599 | Restarting the native part of the Java service Wrapper.
INFO   | jvm 3    | 2025/04/09 10:04:54.599 | Running [C:\PROGRA~1...\jre\bin\java, -cp, lib\nolio-deployerwrapper.jar, com.nolio.platform.deployer.WinRestarter]
ERROR  | wrapperm | 2025/04/09 10:04:55.520 | Unable to stop the Nolio Agent service - Access is denied. (0x5)
ERROR  | jvm 3    | 2025/04/09 10:04:58.913 | Apr 09, 2025 10:04:55 AM com.nolio.platform.deployer.WinRestarter setupLogging

ERROR  | jvm 3    | 2025/04/09 10:04:58.913 | INFO: initializing logging ...
ERROR  | jvm 3    | 2025/04/09 10:04:58.913 | Apr 09, 2025 10:04:55 AM com.nolio.platform.deployer.WinRestarter runCommandSync
ERROR  | jvm 3    | 2025/04/09 10:04:58.913 | INFO:  running [bin\nolio_w.exe, -p, ../conf/wrapper.conf]
ERROR  | jvm 3    | 2025/04/09 10:04:58.913 | Apr 09, 2025 10:04:55 AM com.nolio.platform.deployer.WinRestarter stopService
ERROR  | jvm 3    | 2025/04/09 10:04:58.913 | INFO:  got exit code 1
ERROR  | jvm 3    | 2025/04/09 10:04:58.913 | Apr 09, 2025 10:04:55 AM com.nolio.platform.deployer.WinRestarter runCommandSync
ERROR  | jvm 3    | 2025/04/09 10:04:58.913 | INFO:  running [bin\nolio_w.exe, -qs, ../conf/wrapper.conf]
ERROR  | jvm 3    | 2025/04/09 10:04:58.913 | Apr 09, 2025 10:04:55 AM com.nolio.platform.deployer.WinRestarter isServiceRunning
ERROR  | jvm 3    | 2025/04/09 10:04:58.913 | INFO:  got exit code 11
.
.
.
ERROR  | jvm 3    | 2025/04/09 10:04:58.913 | Apr 09, 2025 10:04:58 AM com.nolio.platform.deployer.WinRestarter main
ERROR  | jvm 3    | 2025/04/09 10:04:58.913 | SEVERE:  could not stop agent service

This means that during the upgrade process, the user that locally triggered the upgrade doesn't have all the permissions to start/stop the service, causing that the upgrade process didn't finish correctly and some files have version mismatch, specifically of tanuki wrapper in 'bin' folder, between file version and license version (which changes from version to version).

Resolution

The way to solve this is to be sure that the user configured to run the Agent service has enough rights to proceed with the upgrade process correctly (stop service, modify files and start service again).