<?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: Persistent scripts on bash shell in Controllers</title>
    <link>https://community.cisco.com/t5/controllers/persistent-scripts-on-bash-shell/m-p/4289264#M2182</link>
    <description>&lt;P&gt;Still the same with 777. Fact that I can start the script by using "./xxx start" I'm thinking this may not be a permission issue, but it's not collecting the script from the init at the startup.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 10 Feb 2021 09:48:59 GMT</pubDate>
    <dc:creator>anuradha.waduge</dc:creator>
    <dc:date>2021-02-10T09:48:59Z</dc:date>
    <item>
      <title>Persistent scripts on bash shell</title>
      <link>https://community.cisco.com/t5/controllers/persistent-scripts-on-bash-shell/m-p/4288892#M2178</link>
      <description>&lt;P&gt;I'm trying to run a persistent script on N3548 running nxos7.0(3)I7(9). Script has got three parts. (as per&amp;nbsp;&lt;A href="https://developer.cisco.com/docs/nx-os/#persistently-daemonizing-a-third-party/code-section-2" target="_blank" rel="noopener"&gt;https://developer.cisco.com/docs/nx-os/#persistently-daemonizing-a-third-party/code-section-2&lt;/A&gt;)&lt;/P&gt;&lt;P&gt;1. Python script doing periodic show commands&lt;/P&gt;&lt;P&gt;2. shell script calling the python script from /etc/init.d&lt;/P&gt;&lt;P&gt;3. daemon file to start the shell script which get added to chkconfig level3.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can run the script by issuing a "./testdaemon start" and it works fine. However when the device get reboots, script doesn't starts automatically.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anyone running persistent scripts on N3548 on nxos7.0(3)I7(9)?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Feb 2021 18:05:41 GMT</pubDate>
      <guid>https://community.cisco.com/t5/controllers/persistent-scripts-on-bash-shell/m-p/4288892#M2178</guid>
      <dc:creator>anuradha.waduge</dc:creator>
      <dc:date>2021-02-09T18:05:41Z</dc:date>
    </item>
    <item>
      <title>Re: Persistent scripts on bash shell</title>
      <link>https://community.cisco.com/t5/controllers/persistent-scripts-on-bash-shell/m-p/4289190#M2179</link>
      <description>&lt;P&gt;What user did you used for creating the scripts? Can you share a ls -l ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Sergiu&lt;/P&gt;</description>
      <pubDate>Wed, 10 Feb 2021 06:25:25 GMT</pubDate>
      <guid>https://community.cisco.com/t5/controllers/persistent-scripts-on-bash-shell/m-p/4289190#M2179</guid>
      <dc:creator>Sergiu.Daniluk</dc:creator>
      <dc:date>2021-02-10T06:25:25Z</dc:date>
    </item>
    <item>
      <title>Re: Persistent scripts on bash shell</title>
      <link>https://community.cisco.com/t5/controllers/persistent-scripts-on-bash-shell/m-p/4289240#M2180</link>
      <description>&lt;P&gt;Hi Sergiu,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;script was created as root and I've changed permission for all three files to 755.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Feb 2021 08:56:11 GMT</pubDate>
      <guid>https://community.cisco.com/t5/controllers/persistent-scripts-on-bash-shell/m-p/4289240#M2180</guid>
      <dc:creator>anuradha.waduge</dc:creator>
      <dc:date>2021-02-10T08:56:11Z</dc:date>
    </item>
    <item>
      <title>Re: Persistent scripts on bash shell</title>
      <link>https://community.cisco.com/t5/controllers/persistent-scripts-on-bash-shell/m-p/4289248#M2181</link>
      <description>&lt;P&gt;Did you tried with permissions as 777? If not, can you do it? In the link you shared the read/write/executable actions is set for group and others.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cheers,&lt;/P&gt;
&lt;P&gt;Sergiu&lt;/P&gt;</description>
      <pubDate>Wed, 10 Feb 2021 09:23:59 GMT</pubDate>
      <guid>https://community.cisco.com/t5/controllers/persistent-scripts-on-bash-shell/m-p/4289248#M2181</guid>
      <dc:creator>Sergiu.Daniluk</dc:creator>
      <dc:date>2021-02-10T09:23:59Z</dc:date>
    </item>
    <item>
      <title>Re: Persistent scripts on bash shell</title>
      <link>https://community.cisco.com/t5/controllers/persistent-scripts-on-bash-shell/m-p/4289264#M2182</link>
      <description>&lt;P&gt;Still the same with 777. Fact that I can start the script by using "./xxx start" I'm thinking this may not be a permission issue, but it's not collecting the script from the init at the startup.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Feb 2021 09:48:59 GMT</pubDate>
      <guid>https://community.cisco.com/t5/controllers/persistent-scripts-on-bash-shell/m-p/4289264#M2182</guid>
      <dc:creator>anuradha.waduge</dc:creator>
      <dc:date>2021-02-10T09:48:59Z</dc:date>
    </item>
  </channel>
</rss>

