Skip to main content

Tableau Server Administration Controller cannot start, I'm getting message with error code 2, but I can't seem to find what that means exactly.

Also, I see an exception in tabadmincontroller logs, Error starting ApplicationContext. 

Here's a brief of the exceptions.

 

Failed to start bean 'webServerStartStop'; nested exception is org.springframework.boot.web.server.WebServerException: Unable to start embedded Jetty server

Caused by: java.lang.IllegalStateException: C:\ProgramData\Tableau\Tableau Server\data\tabsvc\tabadmincontroller\0\keystores\tabadmincontroller.jks is not a valid keystore.

 

Server is working fine on the user side, access, dashboards and administration on the server page work fine. Also, server status shows all green. The problem is, all administration commands fail with Could not connect to server. Make sure that Tableau Server is running and try again. tsm start, tsm stop, any command.

 

Please help

6 answers
  1. Jan 24, 2023, 1:55 PM

    @Mario Bellina​ 

    Hi, Next step is to check if the host name was changed or if there is any firewall rule avoiding to connect to 8850 port and that you have at least 50 GB free storage.

    https://kb.tableau.com/articles/issue/error-could-not-connect-to-tsm-controller-when-logging-in-to-tableau-services-manager?lang=en-us

     

    If you can confirm that the above conditions are ok, then you have two options (all options will restart Tableau Server so your user will not have access to Tableau Server

     

    Option 1:

    a. Stop Tableau Server (If the error processes were not able to stop successfully ignore it)

    • tsm stop

    b. Stop TSM services by script

    • Linux: sudo /opt/tableau/tableau_server/packages/scripts.<Build number>/stop-administrative-services
    • Windows: C:\Program Files\Tableau\Tableau Server\packages\scripts.<Build number>\stop-administrative-services.cmd

    c. Start TSM services:

    • Linux: sudo /opt/tableau/tableau_server/packages/scripts.<Build number>/start-administrative-services
    • Windows: C:\Program Files\Tableau\Tableau Server\packages\scripts.<Build number>\start-administrative-services.cmd

    d. Test if tsm is working:

    • tsm version

    e. Start Tableau Server

    • tsm restart

     

    Option 2:

    a. Stop Tableau Server (If the error processes were not able to stop successfully ignore it)

    • tsm stop

    b. Stop TSM services by script

    • Linux: sudo /opt/tableau/tableau_server/packages/scripts.<Build number>/stop-administrative-services
    • Windows: C:\Program Files\Tableau\Tableau Server\packages\scripts.<Build number>\stop-administrative-services.cmd

    c. Reboot OS

    d. Check if TSM services started automatically

    • tsm status -v

    e. If TSM services didn't start automatically, Start TSM services by script.

    • Linux: sudo /opt/tableau/tableau_server/packages/scripts.<Build number>/start-administrative-services
    • Windows: C:\Program Files\Tableau\Tableau Server\packages\scripts.<Build number>\start-administrative-services.cmd

    f. Start Tableau Server

    • tsm start

    g. Check if the status of Tableau Server is "RUNNING"

    • tsm status -v

    h. If a few processes still in error state, try to restart Tableau Server one or two additional times

    • tsm restart

     

    If this post resolves the question, would you be so kind to "Select as Best"?. This will help other users find the same answer/resolution and help community keep track of answered questions. Thank you.

     

    Regards,

     

    Diego Martinez

    Tableau Visionary and Forums Ambassador

0/9000