12 Replies Latest reply on Feb 15, 2019 12:21 PM by swathi kadem

    Folder permission error in tableau server

    swathi kadem

      Hi Can anyone please help me what is the permissions i should give , if i  use runas user account in windows server 2016(AWS). I am getting this error in all versions of 2018.3.x and 2019.

       

      I am getting the following error whenever i try to add a node with backgrounder.
      I gave read and special permissions to D and C drives.

       

       

      2019-02-13 13:38:18.556 -0500 7044 main : INFO  com.tableausoftware.backgrounder.BackgrounderApp - Granting IP-10-100-x-xx\tableau permissions to the service environment

      2019-02-13 13:38:18.563 -0500 7044 main : ERROR com.tableausoftware.backgrounder.BackgrounderApp - Failed to apply permissions.

      com.tableausoftware.tabadmin.security.PermissionsException: com.tableausoftware.tabutil.dll.Exception: Failed LsaLookupNames2 - 1332

       

       

      at com.tableausoftware.tabadmin.security.PermissionsException$Builder.<init>(PermissionsException.java:121)

      at com.tableausoftware.tabadmin.security.PermissionsException$Builder.<init>(PermissionsException.java:107)

      at com.tableausoftware.tabadmin.security.PermissionsException.builder(PermissionsException.java:101)

      at com.tableausoftware.tabadmin.security.windows.permissions.appliers.ServiceLogonRightApplier.hasAllowServiceLogonRight(ServiceLogonRightApplier.java:40)

      at com.tableausoftware.tabadmin.security.windows.permissions.appliers.ServiceLogonRightApplier.apply(ServiceLogonRightApplier.java:117)

      at com.tableausoftware.tabadmin.security.windows.WindowsPermissionsAdministrator.apply(WindowsPermissionsAdministrator.java:77)

      at com.tableausoftware.service.control.ControlServiceApp.grantRunAsUserPermissionsForServiceEnvironment(ControlServiceApp.java:271)

      at com.tableausoftware.service.control.ControlServiceApp$Commands.configure(ControlServiceApp.java:492)

      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

      at java.lang.reflect.Method.invoke(Method.java:498)

      at com.tableausoftware.commandline.SwitchCommand$1.run(SwitchCommand.java:193)

      at com.tableausoftware.commandline.SimpleCommand.execute(SimpleCommand.java:47)

      at com.tableausoftware.commandline.SwitchCommand.execute(SwitchCommand.java:148)

      at com.tableausoftware.service.control.ControlServiceApp.execute(ControlServiceApp.java:143)

      at com.tableausoftware.service.control.ControlServiceApp.executeCommandWithApp(ControlServiceApp.java:129)

      at com.tableausoftware.backgrounder.BackgrounderApp.main(BackgrounderApp.java:63)

      Caused by: com.tableausoftware.tabutil.dll.Exception: Failed LsaLookupNames2 - 1332

       

       

      at com.tableausoftware.tabutil.dll.Exception.getException(Exception.java:39)

      at com.tableausoftware.tabutil.dll.TabutilJNI.TabSec_HasAllowServiceLogonRight(Native Method)

      at com.tableausoftware.tabutil.dll.TabSec.HasAllowServiceLogonRight(TabSec.java:83)

      at com.tableausoftware.tabadmin.security.windows.permissions.appliers.ServiceLogonRightApplier.hasAllowServiceLogonRight(ServiceLogonRightApplier.java:36)

      ... 14 more

      2019-02-13 13:38:18.565 -0500 7044 main : INFO  com.tableausoftware.tabadmin.agent.zookeeper.WriteThroughTreeCacheWorker - Cleanup called

      2019-02-13 13:38:18.568 -0500 7044 main : INFO  com.tableausoftware.tabadmin.agent.zookeeper.ConnectionHolder - Closing Zookeeper client instance org.apache.curator.framework.imps.CuratorFrameworkImpl@3a288b48 in state STARTED.

      2019-02-13 13:38:18.568 -0500 7044 Curator-Framework-0 : INFO  org.apache.curator.framework.imps.CuratorFrameworkImpl - backgroundOperationsLoop exiting

      2019-02-13 13:38:18.571 -0500 7044 main : INFO  org.apache.zookeeper.ZooKeeper - Session: 0x1000007666b026a closed

      2019-02-13 13:38:18.571 -0500 7044 ZKWorker-ScheduledTask-0-EventThread : INFO  org.apache.zookeeper.ClientCnxn - EventThread shut down for session: 0x1000007666b026a

      2019-02-13 13:38:18.572 -0500 7044 Curator-Framework-0 : INFO  org.apache.curator.framework.imps.CuratorFrameworkImpl - backgroundOperationsLoop exiting

      2019-02-13 13:38:18.575 -0500 7044 main : INFO  org.apache.zookeeper.ZooKeeper - Session: 0x1000007666b0268 closed

      2019-02-13 13:38:18.575 -0500 7044 main-EventThread : INFO  org.apache.zookeeper.ClientCnxn - EventThread shut down for session: 0x1000007666b0268

      2019-02-13 13:38:18.575 -0500 7044 main : ERROR com.tableausoftware.backgrounder.BackgrounderApp - Exception while configuring process.

      com.tableausoftware.tabadmin.exceptions.ConfigurationException: config_failed_permissions:Failed to apply permissions. (errorCode=21)

      at com.tableausoftware.service.control.ControlServiceApp.grantRunAsUserPermissionsForServiceEnvironment(ControlServiceApp.java:277)

      at com.tableausoftware.service.control.ControlServiceApp$Commands.configure(ControlServiceApp.java:492)

      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

      at java.lang.reflect.Method.invoke(Method.java:498)

      at com.tableausoftware.commandline.SwitchCommand$1.run(SwitchCommand.java:193)

      at com.tableausoftware.commandline.SimpleCommand.execute(SimpleCommand.java:47)

      at com.tableausoftware.commandline.SwitchCommand.execute(SwitchCommand.java:148)

      at com.tableausoftware.service.control.ControlServiceApp.execute(ControlServiceApp.java:143)

      at com.tableausoftware.service.control.ControlServiceApp.executeCommandWithApp(ControlServiceApp.java:129)

      at com.tableausoftware.backgrounder.BackgrounderApp.main(BackgrounderApp.java:63)

      Caused by: com.tableausoftware.tabadmin.security.PermissionsException: com.tableausoftware.tabutil.dll.Exception: Failed LsaLookupNames2 - 1332

       

       

      at com.tableausoftware.tabadmin.security.PermissionsException$Builder.<init>(PermissionsException.java:121)

      at com.tableausoftware.tabadmin.security.PermissionsException$Builder.<init>(PermissionsException.java:107)

      at com.tableausoftware.tabadmin.security.PermissionsException.builder(PermissionsException.java:101)

      at com.tableausoftware.tabadmin.security.windows.permissions.appliers.ServiceLogonRightApplier.hasAllowServiceLogonRight(ServiceLogonRightApplier.java:40)

      at com.tableausoftware.tabadmin.security.windows.permissions.appliers.ServiceLogonRightApplier.apply(ServiceLogonRightApplier.java:117)

      at com.tableausoftware.tabadmin.security.windows.WindowsPermissionsAdministrator.apply(WindowsPermissionsAdministrator.java:77)

      at com.tableausoftware.service.control.ControlServiceApp.grantRunAsUserPermissionsForServiceEnvironment(ControlServiceApp.java:271)

      ... 11 more

      Caused by: com.tableausoftware.tabutil.dll.Exception: Failed LsaLookupNames2 - 1332

       

       

      at com.tableausoftware.tabutil.dll.Exception.getException(Exception.java:39)

      at com.tableausoftware.tabutil.dll.TabutilJNI.TabSec_HasAllowServiceLogonRight(Native Method)

      at com.tableausoftware.tabutil.dll.TabSec.HasAllowServiceLogonRight(TabSec.java:83)

      at com.tableausoftware.tabadmin.security.windows.permissions.appliers.ServiceLogonRightApplier.hasAllowServiceLogonRight(ServiceLogonRightApplier.java:36)

      ... 14 more

      2019-02-13 13:38:18.575 -0500 7044 main : ERROR com.tableausoftware.backgrounder.BackgrounderApp - Exiting configure: errorCode=21

       

       

       

      node1: ip-10-100-4-xx

              Status: RUNNING

              'Tableau Server Gateway 0' is running.

              'Tableau Server Application Server 0' is running.

              'Tableau Server Interactive Microservice Container 0' is running.

                      'Relationship Query Microservice 0' is running.

                      'Content Model Microservice 0' is running.

              'Tableau Server VizQL Server 0' is running.

              'Tableau Server VizQL Server 1' is running.

              'Tableau Server Cache Server 0' is running.

              'Tableau Server Cache Server 1' is running.

              'Tableau Server Coordination Service 0' is running.

              'Tableau Server Cluster Controller 0' is running.

              'Tableau Server Search And Browse 0' is running.

              'Tableau Server Data Server 0' is running.

              'Tableau Server Data Server 1' is running.

              'Tableau Server Data Engine 0' is running.

              'Tableau Server File Store 0' is synchronizing.

              'Tableau Server Repository 0' is running (Active Repository).

              'Tableau Server Elastic Server 0' is running.

              'Tableau Server Ask Data 0' is running.

              '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 Client File Service 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.

      node3: ip-10-100-4-xx

              Status: ERROR

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

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

              'Tableau Server Backgrounder 1' is in an error state.

              'Tableau Server Backgrounder 2' is in an error state.

              'Tableau Server Backgrounder 3' is in an error state.

              'Tableau Server Non-Interactive Microservice Container 0' is in an error state.

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

              'Tableau Server Administration Agent 0' is running.

              'Tableau Server Service Manager 0' is in an error state.

              'Tableau Server Database Maintenance 0' is in an error state.

              'Tableau Server Backup/Restore 0' is in an error state.

              'Tableau Server Site Import/Export 0' is in an error state.