KNOWLEDGE BASE

Server Upgrade Fails - "Error performing tabsvc upgrade"


Published: 21 Jul 2021
Last Modified Date: 20 Oct 2021

Issue

Upgrade (TSM to TSM) fails at the "Upgrading tabsvc" step. The app-upgrade.log file shows the following:
...
2021-07-20 13:46:39.455 -0400 main : ERROR com.tableausoftware.installer.UpgraderMain - InstallerException raised during installation.
com.tableausoftware.installer.InstallerException: Error performing tabsvc upgrade
    at com.tableausoftware.installer.operations.UpgradeTabsvcOperation.perform(UpgradeTabsvcOperation.java:68) ~[tab-installer-latest.jar:?]
    at com.tableausoftware.installer.AbstractOperationRunner.run(AbstractOperationRunner.java:201) ~[app-installer-latest.jar:?]
 Caused by: com.tableausoftware.tabadmin.webapp.exceptions.ServiceOperationTimeoutException: One or more services failed to reach their expected state.
node1:
    tabsvc_0.20212.21.0610.0336: Failed to reach requested state. Current state: INSTALL_FAILE

Checking the control_tabsvc_node1.log file for this same period, we see the following:
 
2021-07-20 13:26:47.737 -0400 3404 main : ERROR com.tableausoftware.tabsvc.TabSvcControlApp - Exception while configuring process.
com.sun.jna.platform.win32.Win32Exception: The service did not start due to a logon failure.
...
2021-07-20 13:29:05.853 -0400 13100 main : INFO  com.tableausoftware.tabsvc.TabSvcControlApp - Installing TabSvc
2021-07-20 13:29:05.853 -0400 13100 main : INFO  com.tableausoftware.tabsvc.TabSvcControlApp - RunAsUser domain\runasAccount detected. First Install? true
2021-07-20 13:29:05.865 -0400 13100 main : ERROR com.tableausoftware.tabsvc.TabSvcControlApp - Exception while configuring process.
java.lang.RuntimeException: Exceeded max number of login attempts for user domain\runasAccount. This is often because there is an invalid runas username + password combination. To avoid locking this user out, we will stop attempting to install tabsvc until a new username or password is given.

These errors clearly indicate that there is a problem with the run-as service account username and/or password.
 

Environment

  • Tableau Server (TSM versions)

Resolution

Confirm the correct username and password for the run-as account and update as appropriate per Tableau's documentation here.

Cause

The username and/or password of the run-as service account is incorrect and tabsvc will not start (and by extension will not upgrade) if it cannot authenticate using the run-as credentials.
Did this article resolve the issue?