KNOWLEDGE BASE

Errors "systemd is not running" or "systemd unit user@<id> is not running" initializing TSM


Published: 29 May 2018
Last Modified Date: 05 Sep 2018

Issue

When you try to accept the EULA and initialize TSM, error messages similar to the following appear:
 "systemd is not running"
 "Could not connect to TSM Controller at  <TableauServer>:8850"
When running the script "migrate-to-single-user", the following error appears : systemd unit user@<id> is not running
When attempting to verify if Tableau Services are enabled you receive error messages like "system unit not found" 
  1. Sign into the system user account
    sudo su -l tableau
  2. verify if services are enabled (if the environment variable is not set you may receive error messages like "system unit not found")
    systemctl --user list-unit-files

Environment

  • Tableau Server 
  • Linux

Resolution

  1. Ensure that the 'tableau' user has the appropriate permissions. 
  2. Work with your IT to ensure that the environment variable "XDG_RUNTIME_DIR" is set correctly for the System User. 
       
 

Cause

The environment variable "XDG_RUNTIME_DIR" was not set for the System User. As a result Systemd could not be run as a user service. This can prevent Tableau Services from being able to be run, and prevent TSM commands from being used.
Did this article resolve the issue?