4 Replies Latest reply on Feb 12, 2019 8:20 AM by Emiliano Amendola

    Zookeeper fails during installation.

    curtis kraehmer

      My installation fails and I cannot seem to figure out how to fix it. 

       

      OS: CentOS Linux release 7.4.1708

      Release: tableau-server-2018-3-2.x86_64.rpm

       

      Console Messsage:

      [root@DXDS513 scripts.20183.18.1214.0808]#  ./initialize-tsm --accepteula
      Creating 'tsmadmin' group for TSM admin authorization

      Creating 'tableau' unprivileged user account

      Creating directories and setting permissions... Using '/var/opt/tableau/tableau_server' as the data directory.

      Adding user 'myuser' to group 'tableau'...

      Adding user 'myuser' to group 'tsmadmin'... Added. Note: These group membership changes do not take effect in shells already open. For these to take effect, log out of the shell and log back in.

      Creating environment file...

      Starting TSM services...

      Operation failed. An error occurred during installation.

      Unable to connect to ZooKeeper:

      ERROR: TSM services returned status 10

       

      Logs reveal:

      2019-01-30 14:38:28.026 -0500 main : ERROR com.tableausoftware.installer.InstallerMain - Generic exception raised during installation.
      java.lang.RuntimeException: Unable to connect to ZooKeeper:
              at com.tableausoftware.installer.operations.ConnectToZooKeeperOperation.perform(ConnectToZooKeeperOperation.java:59)
              at com.tableausoftware.installer.AbstractOperationRunner.run(AbstractOperationRunner.java:178)
              at com.tableausoftware.installer.AbstractOperationRunner.runInstance(AbstractOperationRunner.java:115)
              at com.tableausoftware.installer.AbstractOperationRunner.execute(AbstractOperationRunner.java:102)
              at com.tableausoftware.installer.AbstractOperationRunner.execute(AbstractOperationRunner.java:56)
              at com.tableausoftware.installer.InstallerMain.execute(InstallerMain.java:182)
              at com.tableausoftware.installer.InstallerMain.main(InstallerMain.java:189)
      Caused by: java.util.concurrent.TimeoutException: Timed out while waiting for ZooKeeper connection.
              at com.tableausoftware.tabadmin.agent.zookeeper.ZooKeeperWorker.waitForConnection(ZooKeeperWorker.java:636)
              at com.tableausoftware.installer.operations.ConnectToZooKeeperOperation.perform(ConnectToZooKeeperOperation.java:56)
              ... 6 more

        • 1. Re: Zookeeper fails during installation.
          Brian Cahill

          Hi Curtis,

           

          I got the same error on install. below is the process I went through

          Reverted to Tableau Server 2018-2-5 and it installed without an issue.

           

           

           

           

          install version 10.5

          CentOs 7

          sudo ./initialize-tsm --accepteula

           

          Generic exception raised during installation.

          1. java.lang.RuntimeException: Controller failed to respond with an Active status

                  at com.tableausoftware.installer.operations.VerifyWebAppInitializationOperation.perform(VerifyWebAppInitializationOperation.java:80)

                  at com.tableausoftware.installer.AbstractInstaller.run(AbstractInstaller.java:205)

                  at com.tableausoftware.installer.AbstractInstaller.execute(AbstractInstaller.java:111)

                  at com.tableausoftware.installer.InstallerMain.main(InstallerMain.java:167)

          ERROR: TSM services returned status 10

           

          Installing current version 2018-3-2

          Same error

           

          sudo ./initialize-tsm --accepteula

          Creating 'tableau' group for Tableau Server

          Creating 'tsmadmin' group for TSM admin authorization

          Creating 'tableau' unprivileged user account

          Creating 'tsmagent' privileged user account

          Creating directories and setting permissions...

          Using '/var/opt/tableau/tableau_server' as the data directory.

          Adding user '' to group 'tableau'...

          Adding user '' to group 'tsmadmin'...

          1. Note: These group membership changes do not take effect in shells already open. For these to take effect, log out of the shell and log back in.

          Adding sudo capability for privileged user...

          Creating environment file...

          Starting TSM services...

          Operation failed.

          Generic exception raised during installation.

          1. java.lang.RuntimeException: Controller failed to respond with an Active status

                  at com.tableausoftware.installer.operations.VerifyWebAppInitializationOperation.perform(VerifyWebAppInitializationOperation.java:80)

                  at com.tableausoftware.installer.AbstractInstaller.run(AbstractInstaller.java:205)

                  at com.tableausoftware.installer.AbstractInstaller.execute(AbstractInstaller.java:111)

                  at com.tableausoftware.installer.InstallerMain.main(InstallerMain.java:167)

          ERROR: TSM services returned status 10

           

          https://downloads.tableau.com/esdalt/2018.2.5/tableau-server-2018-2-5.x86_64.rpm

           

                     Available: 1:java-1.7.0-openjdk-1.7.0.55-2.4.7.2.el7_0.x86_64 (updates)

                         java = 1:1.7.0

                     Available: 1:java-1.7.0-openjdk-1.7.0.65-2.5.1.2.el7_0.x86_64 (updates)

                         java = 1:1.7.0

                     Available: 1:java-1.7.0-openjdk-1.7.0.71-2.5.3.1.el7_0.x86_64 (updates)

                         java = 1:1.7.0

                     Available: 1:java-1.7.0-openjdk-1.7.0.75-2.5.4.2.el7_0.x86_64 (updates)

           

           

          Installing TS on linux CentOs7.4

          Tableau install 2018-2-5

           

          wget https://downloads.tableau.com/esdalt/2018.2.5/tableau-server-2018-2-5.x86_64.rpm

           

          sudo yum install tableau-2018-2-5-x86_64.rpm -y

           

          Installed:

          tableau-server-20182.18.1214.0751.x86_64 0:20182-18.1214.0751

           

          Hope that helps

          Regards

          Brian

          • 2. Re: Zookeeper fails during installation.
            Emiliano Amendola

            Curtis,

             

            have you found any solution ? I have the exact same issue on a CentOS Linux release 7.6.1810 (Core) machine.

             

            I've tried different versions, 2018-1-0, 2018-1-9, 2018-2-5 and 2018-3-3, but all with the same problem when trying to ./initialize-tsm --accepteula. The zookeeper appears to timeout with ERROR: TSM services returned status 10.

             

            The logs are the same as yours, not very explanatory.

            • 3. Re: Zookeeper fails during installation.
              curtis kraehmer

              Tableau figured out that the ip address Zookeeper was trying to connect with was different than the servers address.  It was fixed by adding a entry into the hosts file.  We pinged the server by its name to confirm this.

              1 of 1 people found this helpful
              • 4. Re: Zookeeper fails during installation.
                Emiliano Amendola

                Thanks for the tip Curtis.

                 

                That was actually my problem too, wrong ip address bu now fixed.