0 Replies Latest reply on Oct 11, 2018 3:24 AM by Mengjie Zhang

    tsm restart not working

    Mengjie Zhang

      I am using Linux. My Tableau Server is degraded and using the following commands does not work:

      [bigdata@localhost ~]$ tsm restart

      Stopping service...

      Service failed to stop properly. Run tsm status -v for detailed status.

      See '/home/bigdata/.tableau/tsm/tsm.log' for more information.

      [bigdata@localhost ~]$ tsm status -v

      node1: localhost

              Status: DEGRADED

              'Tableau Server Gateway 0' is in an error state.

              'Tableau Server Application Server 0' is in an error state.

              'Tableau Server VizQL Server 0' is in an error state.

              'Tableau Server Cache Server 0' is running.

              'Tableau Server Coordination Service 0' is running.

              'Tableau Server Cluster Controller 0' is in an error state.

              'Tableau Server Search And Browse 0' is in an error state.

              'Tableau Server Backgrounder 0' is running.

              'Tableau Server Data Server 0' is in an error state.

              'Tableau Server Data Engine 0' is in an error state.

              'Tableau Server File Store 0' is in an error state.

              'Tableau Server Repository 0' is stopped.

              'Tableau Server Administration Agent 0' is running.

              'Tableau Server Administration Controller 0' is running.

              'Tableau Server Service Manager 0' is running.

              'Tableau Server License Manager 0' is running.

              'Tableau Server Database Maintenance 0' is stopped.

              'Tableau Server Backup/Restore 0' is stopped.

              'Tableau Server Site Import/Export 0' is stopped.

              'Tableau Server SAML Service 0' is stopped.

       

      [bigdata@localhost ~]$ cat /home/bigdata/.tableau/tsm/tsm.log

      2018-10-11 15:25:25 main : DEBUG com.tableausoftware.tabadmin.Tabadmin - =====================================================================

      2018-10-11 15:25:25 main : DEBUG com.tableausoftware.tabadmin.Tabadmin - ====>> Starting tsm at 2018-10-11T15:25:25.503 <<====

      2018-10-11 15:25:25 main : DEBUG com.tableausoftware.tabadmin.Tabadmin - System.out encoding: UTF8

      2018-10-11 15:25:25 main : DEBUG com.tableausoftware.tabadmin.Tabadmin - Default locale: en_US

      2018-10-11 15:25:25 main : DEBUG com.tableausoftware.tabadmin.Tabadmin - Display language: English

      2018-10-11 15:25:26 main : DEBUG com.tableausoftware.tabadmin.Tabadmin - Command line: tsm restart

      2018-10-11 15:25:26 main : DEBUG com.tableausoftware.certificates.LinuxCertManager - Loading CA certificates from /etc/pki/ca-trust/extracted/java/cacerts

      2018-10-11 15:25:27 main : TRACE com.tableausoftware.tabadmin.SessionHandlingRestOperations$RequestFactory - Setting cookie

      2018-10-11 15:25:27 main : INFO  com.tableausoftware.tabadmin.Tabadmin - Stopping service...

      2018-10-11 15:25:27 main : INFO  com.tableausoftware.tabadmin.async.RestartAsyncJobStrategy - Starting the restart server async job

      2018-10-11 15:25:27 main : DEBUG com.tableausoftware.tabadmin.ServerApi - Client request: POST https://localhost.localdomain:8850/api/0.5/restart

      2018-10-11 15:25:28 main : INFO  com.tableausoftware.tabadmin.async.AsyncJobDelegate - Starting polling for async job status. Id=22, initial progress=0

      2018-10-11 15:25:29 main : DEBUG com.tableausoftware.tabadmin.ServerApi - Client request: GET https://localhost.localdomain:8850/api/0.5/asyncJobs/22

      2018-10-11 15:25:29 main : INFO  com.tableausoftware.tabadmin.async.AsyncJobDelegate - Retrieved async job status Running. Id=22, progress=0

      2018-10-11 15:25:30 main : DEBUG com.tableausoftware.tabadmin.ServerApi - Client request: GET https://localhost.localdomain:8850/api/0.5/asyncJobs/22

      2018-10-11 15:25:30 main : INFO  com.tableausoftware.tabadmin.async.AsyncJobDelegate - Retrieved async job status Running. Id=22, progress=0

      2018-10-11 15:25:31 main : DEBUG com.tableausoftware.tabadmin.ServerApi - Client request: GET https://localhost.localdomain:8850/api/0.5/asyncJobs/22

      2018-10-11 15:25:31 main : INFO  com.tableausoftware.tabadmin.async.AsyncJobDelegate - Retrieved async job status Failed. Id=22, progress=100

      2018-10-11 15:25:31 main : ERROR com.tableausoftware.tabadmin.async.AsyncJobDelegate - Asynchronous job 22 completed but wasn't successful.

      2018-10-11 15:25:31 main : ERROR com.tableausoftware.tabadmin.Tabadmin - Service failed to stop properly. Run tsm status -v for detailed status.

      2018-10-11 15:25:43 main : DEBUG com.tableausoftware.tabadmin.Tabadmin - =====================================================================

      2018-10-11 15:25:43 main : DEBUG com.tableausoftware.tabadmin.Tabadmin - ====>> Starting tsm at 2018-10-11T15:25:43.434 <<====

      2018-10-11 15:25:43 main : DEBUG com.tableausoftware.tabadmin.Tabadmin - System.out encoding: UTF8

      2018-10-11 15:25:43 main : DEBUG com.tableausoftware.tabadmin.Tabadmin - Default locale: en_US

      2018-10-11 15:25:43 main : DEBUG com.tableausoftware.tabadmin.Tabadmin - Display language: English

      2018-10-11 15:25:43 main : DEBUG com.tableausoftware.tabadmin.Tabadmin - Command line: tsm status -v

      2018-10-11 15:25:44 main : DEBUG com.tableausoftware.certificates.LinuxCertManager - Loading CA certificates from /etc/pki/ca-trust/extracted/java/cacerts

      2018-10-11 15:25:45 main : TRACE com.tableausoftware.tabadmin.SessionHandlingRestOperations$RequestFactory - Setting cookie

      2018-10-11 15:25:45 main : DEBUG com.tableausoftware.tabadmin.ServerApi - Client request: GET https://localhost.localdomain:8850/api/0.5/status

      2018-10-11 15:25:46 main : DEBUG com.tableausoftware.tabadmin.ServerApi - Client request: GET https://localhost.localdomain:8850/api/0.5/nodes/node1

      2018-10-11 15:25:46 main : DEBUG com.tableausoftware.tabadmin.ServerApi - Received response from https://generichostname:8850/api/0.5/nodes/node1