KNOWLEDGE BASE

Athena Test Connection Fails With Error "failed To Start Grpc Services"


Published: 23 Jun 2020
Last Modified Date: 25 Oct 2021

Issue

Unable to connect to Athena data source performing 'test connection' in data source properties.

In jprotocolserver log, we have the error below.

2020-06-19 07:43:47.171 +0100 (,,,,) main : INFO  io.netty.util.internal.NativeLibraryLoader - /tmp/libnetty_transport_native_epoll_x86_649085220504823338075.so exists but cannot be executed even when execute permissions set; check volume for "noexec" flag; use -Dio.netty.native.workdir=[path] to set native working directory separately.
2020-06-19 07:43:47.171 +0100 (,,,,) main : ERROR com.tableau.connect.grpc.GrpcProtocolServer - Epoll not available, can't attach to unix domain socket.
2020-06-19 07:43:47.171 +0100 (,,,,) main : ERROR com.tableau.connect.grpc.GrpcProtocolServer - Failed to start Grpc services.
java.lang.RuntimeException: Epoll not available, can't attach to unix domain socket.
    at com.tableau.connect.grpc.GrpcProtocolServer.startServerUnixDomain(GrpcProtocolServer.java:100) ~[jdbcserver.jar:1.5.7]
    at com.tableau.connect.grpc.GrpcProtocolServer.start(GrpcProtocolServer.java:52) ~[jdbcserver.jar:1.5.7]
    at com.tableau.connect.ProtocolServerMain.main(ProtocolServerMain.java:47) ~[jdbcserver.jar:1.5.7]

Environment

  • Tableau Server 2019.4.1
  • Red Hat (RHEL) Linux 7
  • Amazon Athena

Resolution

Work with the Linux administrator to mount /tmp file system without noexec option

Cause

Insufficient permission in /tmp folder
Did this article resolve the issue?