KNOWLEDGE BASE

Initialize Tsm On Tableau Server Linux Fails With Error Code 10


Published: 12 Jun 2020
Last Modified Date: 13 Aug 2021

Issue

Tableau Server setup fails while initializing TSM with error code 10.
The following error is displayed:

Starting TSM services...
Operation failed.
An error occurred during installation.
Unable to install services in parallel:
ERROR: TSM services returned status 10

Obliterate and reinstall does not resolve the issue.

Environment

  • Tableau Server 2020.1.2

Resolution

Check that permissions on the /tmp/.tableau_installfnp_lockfile  are correct.

cd /
cd tmp
ls -al

.tableau_installfnp_lockfile should have group tableau, owner tableau and have permissions -rw-rw---- 

If the permissions are wrong:

 sudo chmod 660 .tableau_installfnp_lockfile

If the owner or group owner is wrong:

sudo chown tableau:tableau .tableau_installfnp_lockfile

Then attempt the tsm-initialize command again.

Cause

Permissions for  /tmp/.tableau_installfnp_lockfile  are incorrect.  This file is part of the FlexNet installation and survives an obliterate attempt on Tableau Server 2020.1.

Additional Information

initialize-tsm-<version>.log ends with:
+ errcho 'ERROR: TSM services returned status 10'
+ echo 'ERROR: TSM services returned status 10'
+ exit 10


app-install.log shows:
2020-06-11 10:15:34.402 -0700 main : ERROR com.tableausoftware.installer.InstallerMain - Generic exception raised during installation.
java.lang.RuntimeException: Unable to install services in parallel:
at com.tableausoftware.installer.operations.InstallServiceOperation.perform(InstallServiceOperation.java:88)
at com.tableausoftware.installer.AbstractOperationRunner.run(AbstractOperationRunner.java:190)
at com.tableausoftware.installer.AbstractOperationRunner.runInstance(AbstractOperationRunner.java:116)
at com.tableausoftware.installer.AbstractOperationRunner.execute(AbstractOperationRunner.java:103)
at com.tableausoftware.installer.AbstractOperationRunner.execute(AbstractOperationRunner.java:57)
at com.tableausoftware.installer.InstallerMain.execute(InstallerMain.java:181)
at com.tableausoftware.installer.InstallerMain.main(InstallerMain.java:188)
Caused by: java.util.concurrent.ExecutionException: java.lang.RuntimeException: Unable to install service licenseservice
at com.google.common.util.concurrent.AbstractFuture.getDoneValue(AbstractFuture.java:552)
at com.google.common.util.concurrent.AbstractFuture.get(AbstractFuture.java:513)
at com.google.common.util.concurrent.AbstractFuture$TrustedFuture.get(AbstractFuture.java:90)
at com.tableausoftware.installer.operations.InstallServiceOperation.perform(InstallServiceOperation.java:86)
... 6 more
Caused by: java.lang.RuntimeException: Unable to install service licenseservice

control.licenseservice_ode1-0.log shows:

2020-06-11 10:15:29.178 -0700 56397 main : ERROR com.tableausoftware.commandline.SwitchCommand - Failed to execute command install
java.lang.IllegalStateException: Command Line operation failed to execute
    at com.tableausoftware.commandline.SwitchCommand$1.run(SwitchCommand.java:200)
    at com.tableausoftware.commandline.SimpleCommand.execute(SimpleCommand.java:47)
    at com.tableausoftware.commandline.SwitchCommand.execute(SwitchCommand.java:148)
    at com.tableausoftware.license.LicenseServiceControl.execute(LicenseServiceControl.java:56)
    at com.tableausoftware.license.LicenseServiceControl.main(LicenseServiceControl.java:70)
Caused by: java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at com.tableausoftware.commandline.SwitchCommand$1.run(SwitchCommand.java:193)
    ... 4 more
Caused by: java.lang.RuntimeException: java.nio.file.AccessDeniedException: /tmp/.tableau_installfnp_lockfile
 
Did this article resolve the issue?