<?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: UNIX Auto Start Script in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/unix-auto-start-script/m-p/3384926#M198345</link>
    <description>Hi k.y&lt;BR /&gt;&lt;BR /&gt;   you can do very easily . by adding your script in  /sbin/rc&lt;THE run="" level="" at="" which="" u="" want="" to="" start=""&gt; /S##&amp;lt;script name&amp;gt; where ## is appropriate number which should not conflict with others . if you want to start the process &lt;BR /&gt;with only from  oracle user while system boots that also possbile . &lt;BR /&gt;&lt;BR /&gt;2) you can start this with inetd daemon . there is a file /etc/inetd.conf in this you can mention the desired user name also . to make it working you have to mention the proper listener &lt;BR /&gt;service name which should present in the /etc/services also.&lt;BR /&gt;&lt;BR /&gt;Thanks and regards&lt;BR /&gt;Ramkumar&lt;/THE&gt;</description>
    <pubDate>Thu, 23 Sep 2004 00:17:01 GMT</pubDate>
    <dc:creator>ramkumar</dc:creator>
    <dc:date>2004-09-23T00:17:01Z</dc:date>
    <item>
      <title>UNIX Auto Start Script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unix-auto-start-script/m-p/3384925#M198344</link>
      <description>Hi,&lt;BR /&gt;   I want to edit a script ,it will be executed automatically when UNIX start , But Just once.&lt;BR /&gt;   (1) Which directory or system file I should put this script into that let it executed when UNIX start ? &lt;BR /&gt;      And if it have any error or log when executing, where system will be save it?&lt;BR /&gt;   (2) If I edit a sciprt to start Oracle Service(svrmgrl and lsnrctl)when UNIX start, Can I use "su" -command to change cureent user form "root" to "oracle" and change it back in my script.&lt;BR /&gt;&lt;BR /&gt;Regards.&lt;BR /&gt;K.Y&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 23 Sep 2004 00:02:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unix-auto-start-script/m-p/3384925#M198344</guid>
      <dc:creator>KY.Chuang</dc:creator>
      <dc:date>2004-09-23T00:02:57Z</dc:date>
    </item>
    <item>
      <title>Re: UNIX Auto Start Script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unix-auto-start-script/m-p/3384926#M198345</link>
      <description>Hi k.y&lt;BR /&gt;&lt;BR /&gt;   you can do very easily . by adding your script in  /sbin/rc&lt;THE run="" level="" at="" which="" u="" want="" to="" start=""&gt; /S##&amp;lt;script name&amp;gt; where ## is appropriate number which should not conflict with others . if you want to start the process &lt;BR /&gt;with only from  oracle user while system boots that also possbile . &lt;BR /&gt;&lt;BR /&gt;2) you can start this with inetd daemon . there is a file /etc/inetd.conf in this you can mention the desired user name also . to make it working you have to mention the proper listener &lt;BR /&gt;service name which should present in the /etc/services also.&lt;BR /&gt;&lt;BR /&gt;Thanks and regards&lt;BR /&gt;Ramkumar&lt;/THE&gt;</description>
      <pubDate>Thu, 23 Sep 2004 00:17:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unix-auto-start-script/m-p/3384926#M198345</guid>
      <dc:creator>ramkumar</dc:creator>
      <dc:date>2004-09-23T00:17:01Z</dc:date>
    </item>
    <item>
      <title>Re: UNIX Auto Start Script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unix-auto-start-script/m-p/3384927#M198346</link>
      <description>Hi,KY,Chuang&lt;BR /&gt;&lt;BR /&gt;Have a look at the following(recovery hand book)&lt;BR /&gt;&lt;BR /&gt;This link gives you what you want to do&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www2.itrc.hp.com/service/iv/docDisplay.do?docId=prodITRC/DE_SW_UX_swrec_EN_01_E/Startup.pdf" target="_blank"&gt;http://www2.itrc.hp.com/service/iv/docDisplay.do?docId=prodITRC/DE_SW_UX_swrec_EN_01_E/Startup.pdf&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;regards</description>
      <pubDate>Thu, 23 Sep 2004 00:22:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unix-auto-start-script/m-p/3384927#M198346</guid>
      <dc:creator>KCS_1</dc:creator>
      <dc:date>2004-09-23T00:22:39Z</dc:date>
    </item>
    <item>
      <title>Re: UNIX Auto Start Script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unix-auto-start-script/m-p/3384928#M198347</link>
      <description>1&amp;gt; Put the script on corrresponding startup level as /sbin/rc#.d/ directory there. And give the execution permission to that file, else it will not be executed. See some other files located at /sbin/rc#.d/ directoy. It is having standard format there. IF you want to try before startup try it on shell command there right now. If u have problem, that will be good to avoid during startup.&lt;BR /&gt;&lt;BR /&gt;To check the script problem try to run with debugging mode as set -x on shell first.&lt;BR /&gt;&lt;BR /&gt;Error log / startup information's will be in /etc/rc.log file there.&lt;BR /&gt;&lt;BR /&gt;2&amp;gt; Yes. You can do it as su - &lt;USER&gt; -c &lt;COMMAND&gt; to be executed there. &lt;BR /&gt;&lt;BR /&gt;If you are running su from root then no passwd needed there. After execution of su with command it will return to root there.&lt;BR /&gt;&lt;BR /&gt;See man rc, su&lt;/COMMAND&gt;&lt;/USER&gt;</description>
      <pubDate>Thu, 23 Sep 2004 00:38:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unix-auto-start-script/m-p/3384928#M198347</guid>
      <dc:creator>Muthukumar_5</dc:creator>
      <dc:date>2004-09-23T00:38:44Z</dc:date>
    </item>
  </channel>
</rss>

