<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: stoping repagent does not stop running repctl processes in Qlik Replicate</title>
    <link>https://community.qlik.com/t5/Qlik-Replicate/stoping-repagent-does-not-stop-running-repctl-processes/m-p/2042361#M5137</link>
    <description>&lt;P&gt;hi i tried now both systemctl and service but could not reproduce the issue anymore. i will write here once it should happen again and i have the exact steps to reproduce.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;regarding systemctl: it is using the same startup script as service so that should not be a problem.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;$ systemctl status repagent
● repagent.service - SYSV: Attunity Replicate service management
   Loaded: loaded (/etc/rc.d/init.d/repagent; generated)
   Active: inactive (dead) since Fri 2023-02-24 07:09:06 UTC; 2 days ago
     Docs: man:systemd-sysv-generator(8)
  Process: 32046 ExecStop=/etc/rc.d/init.d/repagent stop (code=exited, status=0/SUCCESS)
  Process: 18315 ExecStart=/etc/rc.d/init.d/repagent start (code=exited, status=0/SUCCESS)&lt;/LI-CODE&gt;</description>
    <pubDate>Mon, 27 Feb 2023 07:04:05 GMT</pubDate>
    <dc:creator>dobak</dc:creator>
    <dc:date>2023-02-27T07:04:05Z</dc:date>
    <item>
      <title>stoping repagent does not stop running repctl processes</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/stoping-repagent-does-not-stop-running-repctl-processes/m-p/2041270#M5108</link>
      <description>&lt;P&gt;The aim is to schedule repagent to run only in certain times via a cron job.&lt;/P&gt;
&lt;P&gt;After stopping repagent with:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;systemctl stop repagent &lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;there are still repctl processes running and moving data despite the fact that repagent service is stopped.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is there a best practice how to stop repagent so that also the repctl processes are stopped?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Feb 2023 07:22:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/stoping-repagent-does-not-stop-running-repctl-processes/m-p/2041270#M5108</guid>
      <dc:creator>dobak</dc:creator>
      <dc:date>2023-02-23T07:22:36Z</dc:date>
    </item>
    <item>
      <title>Re: stoping repagent does not stop running repctl processes</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/stoping-repagent-does-not-stop-running-repctl-processes/m-p/2041306#M5109</link>
      <description>&lt;P&gt;Hi Dobak,&lt;/P&gt;
&lt;P&gt;According to our public doc[1], you need to run the following command to stop the service.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;sudo service repagent stop&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope this helps, and please let me know if there is anything else we can assist you with.&lt;/P&gt;
&lt;P&gt;Kind Regards,&lt;/P&gt;
&lt;P&gt;Martin&amp;nbsp;&lt;/P&gt;
&lt;P&gt;[1]&amp;nbsp;&lt;A href="https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/Gateways/dm-gateway-managing.htm" target="_self"&gt;https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/Gateways/dm-gateway-managing.htm&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Feb 2023 08:29:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/stoping-repagent-does-not-stop-running-repctl-processes/m-p/2041306#M5109</guid>
      <dc:creator>MartinBurgos</dc:creator>
      <dc:date>2023-02-23T08:29:10Z</dc:date>
    </item>
    <item>
      <title>Re: stoping repagent does not stop running repctl processes</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/stoping-repagent-does-not-stop-running-repctl-processes/m-p/2041334#M5110</link>
      <description>&lt;P&gt;Hi Martin the command service is depreciated and an equivalent to systemctl which was introduced with systemd.&lt;/P&gt;
&lt;P&gt;i am running the command under user root so i do not need the sudo.&lt;/P&gt;</description>
      <pubDate>Thu, 23 Feb 2023 09:06:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/stoping-repagent-does-not-stop-running-repctl-processes/m-p/2041334#M5110</guid>
      <dc:creator>dobak</dc:creator>
      <dc:date>2023-02-23T09:06:09Z</dc:date>
    </item>
    <item>
      <title>Re: stoping repagent does not stop running repctl processes</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/stoping-repagent-does-not-stop-running-repctl-processes/m-p/2041503#M5114</link>
      <description>&lt;P&gt;Hi Dobak,&lt;/P&gt;
&lt;P&gt;Since you are logged as root, you can skip the sudo.&lt;/P&gt;
&lt;P&gt;You are almost right about the commands. However, there is a slight difference between both them and that is causing you trouble.&amp;nbsp;Let me quickly explain it.&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;The&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;service&lt;/EM&gt;&lt;SPAN&gt;&amp;nbsp;command looks up the script to run at the path&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;/etc/init.d/&lt;/EM&gt;&lt;EM&gt;SCRIPT&lt;/EM&gt;&lt;SPAN&gt;. While the&amp;nbsp;&lt;EM&gt;systemctl&lt;/EM&gt;&amp;nbsp;command interacts with the SystemD service manager to manage the services.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;SystemD stores the unit files in&amp;nbsp;&lt;STRONG&gt;/etc/systemd/system/&amp;nbsp;&lt;/STRONG&gt;and&lt;STRONG&gt; /lib/systemd/system&amp;nbsp;&lt;/STRONG&gt; and if you check the repagent file in those locations you won't be able to find it.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Therefore, I'd encourage you to refer to our public documentation to avoid any issues.&lt;/P&gt;
&lt;P&gt;I hope it helps!&lt;/P&gt;
&lt;P&gt;Kind Regards,&lt;/P&gt;
&lt;P&gt;Martin&lt;/P&gt;</description>
      <pubDate>Thu, 23 Feb 2023 14:29:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/stoping-repagent-does-not-stop-running-repctl-processes/m-p/2041503#M5114</guid>
      <dc:creator>MartinBurgos</dc:creator>
      <dc:date>2023-02-23T14:29:49Z</dc:date>
    </item>
    <item>
      <title>Re: stoping repagent does not stop running repctl processes</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/stoping-repagent-does-not-stop-running-repctl-processes/m-p/2042361#M5137</link>
      <description>&lt;P&gt;hi i tried now both systemctl and service but could not reproduce the issue anymore. i will write here once it should happen again and i have the exact steps to reproduce.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;regarding systemctl: it is using the same startup script as service so that should not be a problem.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;$ systemctl status repagent
● repagent.service - SYSV: Attunity Replicate service management
   Loaded: loaded (/etc/rc.d/init.d/repagent; generated)
   Active: inactive (dead) since Fri 2023-02-24 07:09:06 UTC; 2 days ago
     Docs: man:systemd-sysv-generator(8)
  Process: 32046 ExecStop=/etc/rc.d/init.d/repagent stop (code=exited, status=0/SUCCESS)
  Process: 18315 ExecStart=/etc/rc.d/init.d/repagent start (code=exited, status=0/SUCCESS)&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 27 Feb 2023 07:04:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/stoping-repagent-does-not-stop-running-repctl-processes/m-p/2042361#M5137</guid>
      <dc:creator>dobak</dc:creator>
      <dc:date>2023-02-27T07:04:05Z</dc:date>
    </item>
  </channel>
</rss>

