<?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 snapcreator 3.3.0 scAgent for AIX cannot be killed with SIGTERM in Data Protection</title>
    <link>https://community.netapp.com/t5/Data-Protection/snapcreator-3-3-0-scAgent-for-AIX-cannot-be-killed-with-SIGTERM/m-p/64450#M3555</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I agree however with SC 3.3.0 we ignored SIG{TERM} so the only way to kill 3.3.0 agent was kill -9. In 3.4.0 we are no longer doing this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Keith&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 15 Jul 2011 16:40:48 GMT</pubDate>
    <dc:creator>ktenzer</dc:creator>
    <dc:date>2011-07-15T16:40:48Z</dc:date>
    <item>
      <title>snapcreator 3.3.0 scAgent for AIX cannot be killed with SIGTERM</title>
      <link>https://community.netapp.com/t5/Data-Protection/snapcreator-3-3-0-scAgent-for-AIX-cannot-be-killed-with-SIGTERM/m-p/64436#M3552</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just a quick message to describe a little bug on snapcreator agent 3.3.0 for AIX.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once snapcreator agent is running, it cannot be stopped by a simple kill. I had to issue a 'kill -9' in order to stop the agent.&lt;/P&gt;&lt;P&gt;So I updated scAgent shell to include this fix.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It seems to me that snapcreator (agent) is ignoring SIGTERM signal.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am running AIX 5.3TL11SP4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Don't know if this is fixed in 3.4.0.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2025 06:51:19 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Data-Protection/snapcreator-3-3-0-scAgent-for-AIX-cannot-be-killed-with-SIGTERM/m-p/64436#M3552</guid>
      <dc:creator>pascalc</dc:creator>
      <dc:date>2025-06-05T06:51:19Z</dc:date>
    </item>
    <item>
      <title>snapcreator 3.3.0 scAgent for AIX cannot be killed with SIGTERM</title>
      <link>https://community.netapp.com/t5/Data-Protection/snapcreator-3-3-0-scAgent-for-AIX-cannot-be-killed-with-SIGTERM/m-p/64441#M3553</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Fixed in SC 3.4.0 &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.netapp.com/4.5.5/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can kill agent in 3.3.0 just need to use a kill -9 as you mention&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Keith&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jul 2011 17:11:16 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Data-Protection/snapcreator-3-3-0-scAgent-for-AIX-cannot-be-killed-with-SIGTERM/m-p/64441#M3553</guid>
      <dc:creator>ktenzer</dc:creator>
      <dc:date>2011-07-05T17:11:16Z</dc:date>
    </item>
    <item>
      <title>snapcreator 3.3.0 scAgent for AIX cannot be killed with SIGTERM</title>
      <link>https://community.netapp.com/t5/Data-Protection/snapcreator-3-3-0-scAgent-for-AIX-cannot-be-killed-with-SIGTERM/m-p/64445#M3554</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Mmm, as an Unix engineer, I don't really like things beeing killed with SIGKILL. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The best practice is that the agent should not ignore SIGTERM (the normal kill) signal, and terminate properly with it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Terminating properly would be for example to trap SIGTERM signal at start of agent, so that the agent can, upon receiving a SIGTERM :&lt;/P&gt;&lt;P&gt;1. give up accepting new agent commands&lt;/P&gt;&lt;P&gt;2. wait for xxx seconds until all current job terminate (multithreaded agent)&lt;/P&gt;&lt;P&gt;3. terminate itself&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SIGKILL is reserved for extreme case where a process cannot terminate itself, then the system terminates the process, without the process beeing aware of that.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Jul 2011 15:11:36 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Data-Protection/snapcreator-3-3-0-scAgent-for-AIX-cannot-be-killed-with-SIGTERM/m-p/64445#M3554</guid>
      <dc:creator>pascalc</dc:creator>
      <dc:date>2011-07-15T15:11:36Z</dc:date>
    </item>
    <item>
      <title>snapcreator 3.3.0 scAgent for AIX cannot be killed with SIGTERM</title>
      <link>https://community.netapp.com/t5/Data-Protection/snapcreator-3-3-0-scAgent-for-AIX-cannot-be-killed-with-SIGTERM/m-p/64450#M3555</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I agree however with SC 3.3.0 we ignored SIG{TERM} so the only way to kill 3.3.0 agent was kill -9. In 3.4.0 we are no longer doing this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Keith&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Jul 2011 16:40:48 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Data-Protection/snapcreator-3-3-0-scAgent-for-AIX-cannot-be-killed-with-SIGTERM/m-p/64450#M3555</guid>
      <dc:creator>ktenzer</dc:creator>
      <dc:date>2011-07-15T16:40:48Z</dc:date>
    </item>
    <item>
      <title>snapcreator 3.3.0 scAgent for AIX cannot be killed with SIGTERM</title>
      <link>https://community.netapp.com/t5/Data-Protection/snapcreator-3-3-0-scAgent-for-AIX-cannot-be-killed-with-SIGTERM/m-p/64454#M3556</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hummm I disagree Keith &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.netapp.com/4.5.5/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;from scAgent3.4.0/bin/scAgent :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;stop)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; echo "Shutting down scAgent: "&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sleep 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PROC=`ps -ef |grep snapcreator |grep -v grep |awk {'print $2'}`&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if test -z "$PROC"; then&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; echo "scAgent failed to stop, not running!"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; exit 1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; else&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt; kill -9 $PROC&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; RESULT=$?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Jul 2011 17:03:34 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Data-Protection/snapcreator-3-3-0-scAgent-for-AIX-cannot-be-killed-with-SIGTERM/m-p/64454#M3556</guid>
      <dc:creator>pascalc</dc:creator>
      <dc:date>2011-07-15T17:03:34Z</dc:date>
    </item>
    <item>
      <title>snapcreator 3.3.0 scAgent for AIX cannot be killed with SIGTERM</title>
      <link>https://community.netapp.com/t5/Data-Protection/snapcreator-3-3-0-scAgent-for-AIX-cannot-be-killed-with-SIGTERM/m-p/64458#M3557</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am talking about scAgent inside the code not the start script. The start script does a kill -9, you can not use start script or change it, up to you &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.netapp.com/4.5.5/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Keith&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Jul 2011 17:22:36 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Data-Protection/snapcreator-3-3-0-scAgent-for-AIX-cannot-be-killed-with-SIGTERM/m-p/64458#M3557</guid>
      <dc:creator>ktenzer</dc:creator>
      <dc:date>2011-07-15T17:22:36Z</dc:date>
    </item>
    <item>
      <title>snapcreator 3.3.0 scAgent for AIX cannot be killed with SIGTERM</title>
      <link>https://community.netapp.com/t5/Data-Protection/snapcreator-3-3-0-scAgent-for-AIX-cannot-be-killed-with-SIGTERM/m-p/64463#M3558</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am confused here, how do you start and stop scAgent in AIX without using init script ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jul 2011 15:30:00 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Data-Protection/snapcreator-3-3-0-scAgent-for-AIX-cannot-be-killed-with-SIGTERM/m-p/64463#M3558</guid>
      <dc:creator>pascalc</dc:creator>
      <dc:date>2011-07-18T15:30:00Z</dc:date>
    </item>
    <item>
      <title>snapcreator 3.3.0 scAgent for AIX cannot be killed with SIGTERM</title>
      <link>https://community.netapp.com/t5/Data-Protection/snapcreator-3-3-0-scAgent-for-AIX-cannot-be-killed-with-SIGTERM/m-p/64467#M3559</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;snapcreator --start-agent &amp;lt;port&amp;gt; &amp;amp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ps -ef |grep snapcreator&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;kill &amp;lt;process id for snapcreator&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OR you can use the bin/scAgent start script&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;bin/scAgent start&lt;/P&gt;&lt;P&gt;bin/scAgent stop&lt;/P&gt;&lt;P&gt;bin/scAgent restart&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In order to use bin/scAgent start script you must have run a "./snapcreator --profile setup", selected no to server and yes to agent this sets up start script based on install path.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can also change bin/scAgent start script to not do a "kill -9" if you dont want that to be done, a normal kill should sufice with SC 3.4.0.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jul 2011 15:45:16 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Data-Protection/snapcreator-3-3-0-scAgent-for-AIX-cannot-be-killed-with-SIGTERM/m-p/64467#M3559</guid>
      <dc:creator>ktenzer</dc:creator>
      <dc:date>2011-07-18T15:45:16Z</dc:date>
    </item>
    <item>
      <title>snapcreator 3.3.0 scAgent for AIX cannot be killed with SIGTERM</title>
      <link>https://community.netapp.com/t5/Data-Protection/snapcreator-3-3-0-scAgent-for-AIX-cannot-be-killed-with-SIGTERM/m-p/64474#M3560</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;that is super clear now. Thanks Keith. &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.netapp.com/4.5.5/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jul 2011 15:48:49 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Data-Protection/snapcreator-3-3-0-scAgent-for-AIX-cannot-be-killed-with-SIGTERM/m-p/64474#M3560</guid>
      <dc:creator>pascalc</dc:creator>
      <dc:date>2011-07-18T15:48:49Z</dc:date>
    </item>
  </channel>
</rss>

