Skip to main content

Steps to reproduce:

 

Create a new Ubuntu Xenial server:

root@tableau-1:/# lsb_release -a

LSB Version:    core-9.20160110ubuntu0.2-amd64:core-9.20160110ubuntu0.2-noarch:security-9.20160110ubuntu0.2-amd64:security-9.20160110ubuntu0.2-noarch

Distributor ID:    Ubuntu

Description:    Ubuntu 16.04.6 LTS

Release:    16.04

Codename:    xenial

Follow the steps to install Tableau Server found here: Running Setup - Tableau

The only change to the steps is to use this data directory due to the size of the Tableau Server:

gdebi -n tableau-server-2019-4-2_amd64.deb -d /mnt/data/tableau

 

 

Start the server which results in this login page:

Redirection to Login after Succesful Login on Ubuntu Xenial

Attempting to login with incorrect credentials results in the following message:

Invalid username or password

This results in the following logs:

==> data/tabsvc/logs/tabadmincontroller/tabadmincontroller_node1-0.log <==

2020-01-28 19:58:22.625 +0000  qtp650417367-962 : INFO  com.tableausoftware.tabadmin.webapp.api.v1.LoginController - Login request from client 'webui' at '172.19.21.119' for user 'a'

2020-01-28 19:58:22.625 +0000  qtp650417367-962 : INFO  com.tableausoftware.tabadmin.webapp.impl.linux.LinuxAuthenticationManager - Attempting to authenticate user 'a' with PAM service 'login'

2020-01-28 19:58:26.147 +0000  qtp650417367-962 : INFO  com.tableausoftware.tabadmin.webapp.impl.linux.LinuxAuthenticationManager - Failed to authenticate user 'a' with PAM service 'login': pam_authenticate failed : Error in service module

2020-01-28 19:58:26.156 +0000  qtp650417367-962 : INFO  com.tableausoftware.tabadmin.webapp.impl.linux.LinuxAuthenticationManager - checkpasswd for 'a' exited with code 1: su returned failure exit code, usually due to incorrect username or password.

2020-01-28 19:58:26.157 +0000  qtp650417367-962 : INFO  com.tableausoftware.tabadmin.webapp.GlobalExceptionHandler - Handling client exception com.tableausoftware.tabadmin.webapp.exceptions.RestException: errors.login.failure: errors.login.failure

This all makes sense so far.

 

Attempting to log in with valid credentials causes a redirect which returns to the same login page.

This results in the following logs:

==> data/tabsvc/logs/tabadmincontroller/tabadmincontroller_node1-0.log <==

2020-01-28 19:59:38.625 +0000  qtp650417367-958 : INFO  com.tableausoftware.tabadmin.webapp.api.v1.LoginController - Login request from client 'webui' at '172.19.21.119' for user 'myuser'

2020-01-28 19:59:38.625 +0000  qtp650417367-958 : INFO  com.tableausoftware.tabadmin.webapp.impl.linux.LinuxAuthenticationManager - Attempting to authenticate user 'myuser' with PAM service 'login'

2020-01-28 19:59:41.688 +0000  qtp650417367-958 : INFO  com.tableausoftware.tabadmin.webapp.impl.linux.LinuxAuthenticationManager - Failed to authenticate user 'myuser' with PAM service 'login': pam_authenticate failed : Authentication failure

2020-01-28 19:59:41.722 +0000  qtp650417367-958 : INFO  com.tableausoftware.tabadmin.webapp.impl.linux.LinuxAuthenticationManager - checkpasswd for 'myuser' exited with code 0: Valid username and password

2020-01-28 19:59:41.731 +0000  qtp650417367-958 : INFO  com.tableausoftware.tabadmin.webapp.impl.linux.LinuxAuthenticationManager - User myuser is authorized

 

I'm not sure if this data is relevant but here's the output from some status and start / stop commands:

root@tableau-1:/# /opt/tableau/tableau_server/packages/bin.20194.20.0119.2058/tsm status

Status: STOPPED

root@tableau-1:/# /opt/tableau/tableau_server/packages/bin.20194.20.0119.2058/tsm status

Status: STOPPED

root@tableau-1:/# /opt/tableau/tableau_server/packages/bin.20194.20.0119.2058/tsm start

Starting service...

 

Unable to determine if all components of the service started properly.

 

node1: localhost

        Status: STOPPED

        'Tableau Server Coordination Service 0' is running.

        'Tableau Server Administration Agent 0' is running.

        'Tableau Server Administration Controller 0' is running.

        'Tableau Server License Manager 0' is running.

        'Tableau Server Client File Service 0' is running.

 

See '/mnt/data/tableau/data/tabsvc/logs/tabadmincontroller/tabadmincontroller_*.log' on Tableau Server nodes running the Administration Controller process for server log information.

 

The server must be initialized before using this feature.

You have new mail in /var/mail/root

root@tableau-1:/# /opt/tableau/tableau_server/packages/bin.20194.20.0119.2058/tsm stop

Stopping service...

 

Service failed to stop properly.

 

node1: localhost

        Status: STOPPED

        'Tableau Server Coordination Service 0' is running.

        'Tableau Server Administration Agent 0' is running.

        'Tableau Server Administration Controller 0' is running.

        'Tableau Server License Manager 0' is running.

        'Tableau Server Client File Service 0' is running.

 

See '/mnt/data/tableau/data/tabsvc/logs/tabadmincontroller/tabadmincontroller_*.log' on Tableau Server nodes running the Administration Controller process for server log information.

 

The server must be initialized before using this feature.

 

Any guidance on how to debug this?

8 réponses
  1. 29 janv. 2020, 11:11

    Hi Robin !

     

    1. If you would like to specify a different path for the "data directory", it's during the installation of Tableau Server.

    You can specify a different directory for data (extract) storage during installation (source)

    You need to specify the path during the initialisation of Tableau Server, not with gdebi :

    ./initialize-tsm -d /mnt/data/tableau --accepteula

     

    There is more information on this page: Help Output for initialize-tsm Script - Tableau

     

    When you run "gdebi -n tableau-server-2019-4-2_amd64.deb -d /mnt/data/tableau" it will be all the installation of Tableau Server, not only the data directory.

     

    2. If you would like to specify a different path for all Tableau Server (so not only data directory), it's possible, but only on a RHEL-like distributions. (RHEL, Centos, Amazon Linux 2, Oracle Linux) not Ubuntu. This is due to fundamental limitations of the deb packaging format.

     

    Example for RHEL : sudo rpm -i --prefix /preferred/install/path tableau-server.rpm

     

    Unfortunately, rpm does not install package dependencies automatically like yum does. rpm will output the list of missing dependencies, which can be installed manually.

     

    ps: You are running the installation as Root, it works, but it might be better to create and use a sudo user instead

     

    Kind regards,