<?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: Background script to be run in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/background-script-to-be-run/m-p/4691681#M658996</link>
    <description>Hi Prashant,&lt;BR /&gt;&lt;BR /&gt;1) did you enter the string as a one-liner in /etc/inittab?&lt;BR /&gt;&lt;BR /&gt;2) Any messages about your entry in the syslog?&lt;BR /&gt;&lt;BR /&gt;mfG Peter</description>
    <pubDate>Tue, 28 Sep 2010 13:52:23 GMT</pubDate>
    <dc:creator>Peter Nikitka</dc:creator>
    <dc:date>2010-09-28T13:52:23Z</dc:date>
    <item>
      <title>Background script to be run</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/background-script-to-be-run/m-p/4691676#M658991</link>
      <description>Hi Guru, &lt;BR /&gt;&lt;BR /&gt;I am working on sap and IVM environment. I want to set the following script in background always. If server is reboot in that case also the script should automatically starts. &lt;BR /&gt;&lt;BR /&gt;cd /usr/sap/saprouter&lt;BR /&gt;./saprouter -r -K "p:CN=rusolman, OU=0001128964, OU=SAProuter, O=SAP, C=DE"&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Prashant</description>
      <pubDate>Mon, 27 Sep 2010 09:04:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/background-script-to-be-run/m-p/4691676#M658991</guid>
      <dc:creator>Prashantj</dc:creator>
      <dc:date>2010-09-27T09:04:41Z</dc:date>
    </item>
    <item>
      <title>Re: Background script to be run</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/background-script-to-be-run/m-p/4691677#M658992</link>
      <description>&amp;gt;If server is rebooted, also the script should automatically starts.&lt;BR /&gt;&lt;BR /&gt;If you want the script to run all the time and to be automatically started, you might want to look into rc(1m):&lt;BR /&gt;&lt;A href="http://docs.hp.com/en/B2355-60130/rc.1M.html" target="_blank"&gt;http://docs.hp.com/en/B2355-60130/rc.1M.html&lt;/A&gt;</description>
      <pubDate>Mon, 27 Sep 2010 10:45:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/background-script-to-be-run/m-p/4691677#M658992</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2010-09-27T10:45:41Z</dc:date>
    </item>
    <item>
      <title>Re: Background script to be run</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/background-script-to-be-run/m-p/4691678#M658993</link>
      <description>cp /sbin/init.d/template /sbin/init.d/sap&lt;BR /&gt;&lt;BR /&gt;ln -s /sbin/init.d/sap /sbin/rc4.d/s900sap&lt;BR /&gt;ln -s /sbin/init.d/sap /sbin/rc3.d/k100sap&lt;BR /&gt;&lt;BR /&gt;vi /sbin/init.d/sap&lt;BR /&gt;&lt;BR /&gt;look for the section that says start command and put the line in there.&lt;BR /&gt;&lt;BR /&gt;look for the section that says stop command and put a command to stop the application there.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 27 Sep 2010 23:15:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/background-script-to-be-run/m-p/4691678#M658993</guid>
      <dc:creator>Emil Velez</dc:creator>
      <dc:date>2010-09-27T23:15:54Z</dc:date>
    </item>
    <item>
      <title>Re: Background script to be run</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/background-script-to-be-run/m-p/4691679#M658994</link>
      <description>&lt;BR /&gt;If you need to ensure the router is always running you could get the init process to manage it.  Put a line similar to this into /etc/inittab.&lt;BR /&gt;&lt;BR /&gt;sap1:2345:respawn:/usr/sap/saprouter/saprouter -r -K "p:CN=rusolman, OU=0001128964, OU=SAProuter, O=SAP, C=DE"&lt;BR /&gt;&lt;BR /&gt;Where "sap1" is a unique label.  The process will always be started in any of the listed run levels (2,3,4 or 5)&lt;BR /&gt;&lt;BR /&gt;and then call the following command to start it:&lt;BR /&gt;&lt;BR /&gt;init q&lt;BR /&gt;&lt;BR /&gt;See the documentation for more information:&lt;BR /&gt;man init&lt;BR /&gt;man inittab&lt;BR /&gt;&lt;BR /&gt;To inhibit the process from running, comment out the line in /etc/inittab, call init q and then kill any running saprouter processe(s).&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 27 Sep 2010 23:35:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/background-script-to-be-run/m-p/4691679#M658994</guid>
      <dc:creator>Jim Walls</dc:creator>
      <dc:date>2010-09-27T23:35:42Z</dc:date>
    </item>
    <item>
      <title>Re: Background script to be run</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/background-script-to-be-run/m-p/4691680#M658995</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Thanks for your reply. i put the following entry in /etc/inittab and run init q but it was not worked out. &lt;BR /&gt;&lt;BR /&gt;sap1:2345:respawn:/usr/sap/saprouter/rulsaprouter/saprouter -r -K "p:CN=rusolman, OU=0001128964, OU=SAProuter, O=SAP, C=DE"&lt;BR /&gt;&lt;BR /&gt;Please advice any other changes require ?&lt;BR /&gt;&lt;BR /&gt;Thanks &amp;amp; Regards&lt;BR /&gt;Prashant</description>
      <pubDate>Tue, 28 Sep 2010 06:09:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/background-script-to-be-run/m-p/4691680#M658995</guid>
      <dc:creator>Prashantj</dc:creator>
      <dc:date>2010-09-28T06:09:30Z</dc:date>
    </item>
    <item>
      <title>Re: Background script to be run</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/background-script-to-be-run/m-p/4691681#M658996</link>
      <description>Hi Prashant,&lt;BR /&gt;&lt;BR /&gt;1) did you enter the string as a one-liner in /etc/inittab?&lt;BR /&gt;&lt;BR /&gt;2) Any messages about your entry in the syslog?&lt;BR /&gt;&lt;BR /&gt;mfG Peter</description>
      <pubDate>Tue, 28 Sep 2010 13:52:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/background-script-to-be-run/m-p/4691681#M658996</guid>
      <dc:creator>Peter Nikitka</dc:creator>
      <dc:date>2010-09-28T13:52:23Z</dc:date>
    </item>
    <item>
      <title>Re: Background script to be run</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/background-script-to-be-run/m-p/4691682#M658997</link>
      <description>Hi Peter,&lt;BR /&gt;&lt;BR /&gt;1) Yes, the string is in one line &lt;BR /&gt;&lt;BR /&gt;2) NO.&lt;BR /&gt;&lt;BR /&gt;Prashant</description>
      <pubDate>Wed, 29 Sep 2010 05:25:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/background-script-to-be-run/m-p/4691682#M658997</guid>
      <dc:creator>Prashantj</dc:creator>
      <dc:date>2010-09-29T05:25:24Z</dc:date>
    </item>
  </channel>
</rss>

