2 Replies Latest reply on Jun 14, 2015 11:01 AM by Phillip Burger

    Does tdeserver64 in the TDE API start/stop Automatically as Part of API?

    Phillip Burger

      Is the tdeserver64 process automatically started when the API is called and the process stopped as housekeeping the API does?

       

      Or, does tdeserver64 need to be active and listening to port 27042 all the time?

       

      I'm on RHEL/CentOS and using the 64-bit Python version.

        • 1. Re: Does tdeserver64 in the TDE API start/stop Automatically as Part of API?
          Phillip Burger

          When I try to run /home/user/DataExtract-8200.14.1117.2110/dataextract/bin/tdeserver64, I see

          this error:

          2014-11-21 16:34:03.148 (140146735220544): Machine Configuration

          2014-11-21 16:34:03.148 (140146735220544): Max Descriptors: 8192

          2014-11-21 16:34:03.149 (140146735220544): tdeserver: error (bind: Cannot assign requested address)

          2014-11-21 16:34:03.149 (140146735220544): tdeserver: exit (-1)

           

          But it seems to be an incorrect error message. Nothing is using port 27042 on {server-name-edited}.

           

          I get this from strace (trying to debug):

          stat("tdeconfig.yaml", 0x7fff8ea07150) = -1 ENOENT (No such file or directory)

           

          Do we need to create a tdeconfig.yaml file first?

          • 2. Re: Does tdeserver64 in the TDE API start/stop Automatically as Part of API?
            Phillip Burger

            My experience is only with the 64-bit Python TDE API. The process is started during the execution of the API code and then stopped as part of the execution of the API code. I did not find that it stayed active.

             

            These LInux process-related commands can help show if it's active before, during, and after the execution of TDE API-related Python code:

             

            [user@server ~]$ pidof tdeserver64

            [user@server ~]$ ps -p {process-id-returned-from-above-command}