KNOWLEDGE BASE

After Rebooting A Linux Server, Tableau Server Processes Will Not Start, Including Tabadmincontroller, And Attempting To Run Systemctl Commands Returns "failed To Get D-Bus Connection: No Such File Or Directory"


Published: 05 Aug 2019
Last Modified Date: 17 Jul 2020

Issue

After rebooting a Linux server, Tableau Server processes will not start, including tabadmincontroller, even though Tableau Server was running without issues prior to the reboot.  There are also the following symptoms:

  • Running tsm status -v returns "Could not connect to TSM Controller at '<hostname>:8850'"
  • Running top u tableau (assuming "tableau" is the name of the unprivileged user) returns nothing -- there are no processes running under the "tableau" account.
  • Running sudo su tableau -l and then systemctl --user status tabadmincontroller_0 returns an error message:
    • On CentOS/Red Hat: "Failed to get D-Bus connection: No such file or directory"
    • On Ubuntu: "Failed to connect to bus: No such file or directory"
  • Running ls /run/user/<tableau user ID>/ returns no results -- this folder is empty.

Environment

  • Tableau Server
  • Linux -- CentOS 7.6, Red Hat 7.6, Ubuntu 18.04

Resolution

Check to see if the password for the "tableau" account has expired:
sudo chage -l tableau
 
If the output contains the following:
Last password change                                    : password must be changed
Password expires                                        : password must be changed
Password inactive                                       : password must be changed
Account expires                                         : never
Minimum number of days between password change          : -1
Maximum number of days between password change          : -1
Number of days of warning before password expires       : -1
 
Run:
sudo chage -d -1 tableau
 
Running sudo chage -l tableau again should return the following:
Last password change                                    : never
Password expires                                        : never
Password inactive                                       : never
Account expires                                         : never
Minimum number of days between password change          : -1
Maximum number of days between password change          : -1
Number of days of warning before password expires       : -1
 
At this point, running top u tableau should show Tableau Server processes starting up again (in some cases, a reboot is necessary).
 

Cause

The password for the "tableau" account is expired due to administrator command or policy change.
 
Running journalctl or checking /var/log/secure provides the following clue:
pam_unix(systemd-user:account): expired password for user tableau (root enforced)
or
pam_unix(systemd-user:account): expired password for user tableau (password aged)

Additional Information

 
Did this article resolve the issue?