Error "no such file or directory" Running initialize tsm Command

Published: 25 Jan 2018
Last Modified Date: 27 Mar 2018


When installing Tableau Server for Linux, the initialize-tsm command fails with the error  "no such file or directory"

Additionally, one of the following errors can be found in the app-install.log file:
ERROR com.tableausoftware.installer.InstallerMain - Generic exception raised during installation.
java.lang.RuntimeException: ip-<IP ADDRESS>: ip-<IP ADDRESS>: Temporary failure in name resolution

main : ERROR com.tableausoftware.service.LinuxServiceManager - sudo: sorry, you must have a tty to run sudo


  • Tableau Server
  • Linux


Option 1: Temporary Failure in Name Resolution error

Work with your local IT team to ensure that the network is configured correctly. There may be a misconfigured DHCP server. For more information, see Serverfault: Temporary failure in name resolution at StackOverflow.

Option 2: Sorry, you must have a tty to run sudo error

Disable tty and run the sudo ./initialize-tsm --accepteula again.


Depending on the error message in the logs, either there is an issue with your local network configuration, or tty was required.
Did this article resolve the issue?