<?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: /etc/rcx.d directory scripts in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/etc-rcx-d-directory-scripts/m-p/4984355#M782736</link>
    <description>Oops, wait a minute, I was wrong on that - got myself confused.&lt;BR /&gt;&lt;BR /&gt;You're right - samba would be killed first.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
    <pubDate>Fri, 09 Jun 2006 08:04:03 GMT</pubDate>
    <dc:creator>Pete Randall</dc:creator>
    <dc:date>2006-06-09T08:04:03Z</dc:date>
    <item>
      <title>/etc/rcx.d directory scripts</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/etc-rcx-d-directory-scripts/m-p/4984347#M782728</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I know that /etc/rcx.d is the runlevel directoy which is selected to the corresponding init level..?&lt;BR /&gt;&lt;BR /&gt;My query is &lt;BR /&gt;&lt;BR /&gt;the rc2.d directory conatins both start(s) &amp;amp; kill(k) scipts.&lt;BR /&gt;&lt;BR /&gt;1.which scripts will run when i move from rc1 to rc2 ?&lt;BR /&gt;&lt;BR /&gt;2.which scripts will run when i move from rc3 to rc2 ?&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 09 Jun 2006 07:15:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/etc-rcx-d-directory-scripts/m-p/4984347#M782728</guid>
      <dc:creator>susee_sundar</dc:creator>
      <dc:date>2006-06-09T07:15:45Z</dc:date>
    </item>
    <item>
      <title>Re: /etc/rcx.d directory scripts</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/etc-rcx-d-directory-scripts/m-p/4984348#M782729</link>
      <description>First, the directory is /sbin not /etc.&lt;BR /&gt;&lt;BR /&gt;1.  from rc1 to rc2 the s scripts will run&lt;BR /&gt;&lt;BR /&gt;2.  from rc3 to rc2 the k scripts will run.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Fri, 09 Jun 2006 07:21:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/etc-rcx-d-directory-scripts/m-p/4984348#M782729</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2006-06-09T07:21:18Z</dc:date>
    </item>
    <item>
      <title>Re: /etc/rcx.d directory scripts</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/etc-rcx-d-directory-scripts/m-p/4984349#M782730</link>
      <description>It's also worth mentioning that startup and shutdown scripts are executed in lexicographical order, so in this example (from /sbin/rc2.d):&lt;BR /&gt;&lt;BR /&gt;K130samba -&amp;gt; /sbin/init.d/samba&lt;BR /&gt;K200tps.rc -&amp;gt; /sbin/init.d/tps.rc&lt;BR /&gt;&lt;BR /&gt;when the system goes from a higher runlevel to runlevel 2, samba will be killed before tps, even though they may have been started in reverse order.&lt;BR /&gt;&lt;BR /&gt;PCS</description>
      <pubDate>Fri, 09 Jun 2006 07:37:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/etc-rcx-d-directory-scripts/m-p/4984349#M782730</guid>
      <dc:creator>spex</dc:creator>
      <dc:date>2006-06-09T07:37:07Z</dc:date>
    </item>
    <item>
      <title>Re: /etc/rcx.d directory scripts</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/etc-rcx-d-directory-scripts/m-p/4984350#M782731</link>
      <description>Actually,, the kill scripts are executed in descending numerical order so samba would be killed last.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Fri, 09 Jun 2006 07:40:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/etc-rcx-d-directory-scripts/m-p/4984350#M782731</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2006-06-09T07:40:27Z</dc:date>
    </item>
    <item>
      <title>Re: /etc/rcx.d directory scripts</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/etc-rcx-d-directory-scripts/m-p/4984351#M782732</link>
      <description>Susee,&lt;BR /&gt;&lt;BR /&gt;Pete is correct but he should have mentioned the Capital S and K&lt;BR /&gt;&lt;BR /&gt;Darrel</description>
      <pubDate>Fri, 09 Jun 2006 07:41:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/etc-rcx-d-directory-scripts/m-p/4984351#M782732</guid>
      <dc:creator>Darrel Louis</dc:creator>
      <dc:date>2006-06-09T07:41:17Z</dc:date>
    </item>
    <item>
      <title>Re: /etc/rcx.d directory scripts</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/etc-rcx-d-directory-scripts/m-p/4984352#M782733</link>
      <description>Pete,&lt;BR /&gt;I knew this also but from the man rc seems that the script should be started in alphabetical order at the start and at the stop.&lt;BR /&gt;&lt;BR /&gt;Enrico</description>
      <pubDate>Fri, 09 Jun 2006 07:47:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/etc-rcx-d-directory-scripts/m-p/4984352#M782733</guid>
      <dc:creator>Enrico P.</dc:creator>
      <dc:date>2006-06-09T07:47:58Z</dc:date>
    </item>
    <item>
      <title>Re: /etc/rcx.d directory scripts</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/etc-rcx-d-directory-scripts/m-p/4984353#M782734</link>
      <description>From 'man rc':&lt;BR /&gt;&lt;BR /&gt;When ordering start and kill script links, note that subsystems started in any given order should be stopped in the reverse order to eliminate any dependencies between subsystems. This means that kill scripts will generally not have the same numbers as their start script counterparts. For example, if two subsystems must be started in a given order due to dependencies (e.g., S111house followed by S222uses_house), the kill counterparts to these scripts must be numbered so that the subsystems are stopped in the opposite order in which they were started (e.g., K555uses_house followed by K777house).&lt;BR /&gt;&lt;BR /&gt;So in my example, samba is killed before tps.&lt;BR /&gt;&lt;BR /&gt;PCS</description>
      <pubDate>Fri, 09 Jun 2006 07:49:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/etc-rcx-d-directory-scripts/m-p/4984353#M782734</guid>
      <dc:creator>spex</dc:creator>
      <dc:date>2006-06-09T07:49:53Z</dc:date>
    </item>
    <item>
      <title>Re: /etc/rcx.d directory scripts</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/etc-rcx-d-directory-scripts/m-p/4984354#M782735</link>
      <description>Then the man page is wrong.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Fri, 09 Jun 2006 08:01:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/etc-rcx-d-directory-scripts/m-p/4984354#M782735</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2006-06-09T08:01:51Z</dc:date>
    </item>
    <item>
      <title>Re: /etc/rcx.d directory scripts</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/etc-rcx-d-directory-scripts/m-p/4984355#M782736</link>
      <description>Oops, wait a minute, I was wrong on that - got myself confused.&lt;BR /&gt;&lt;BR /&gt;You're right - samba would be killed first.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Fri, 09 Jun 2006 08:04:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/etc-rcx-d-directory-scripts/m-p/4984355#M782736</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2006-06-09T08:04:03Z</dc:date>
    </item>
    <item>
      <title>Re: /etc/rcx.d directory scripts</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/etc-rcx-d-directory-scripts/m-p/4984356#M782737</link>
      <description>Hehe.  Not a problem--it is a confusing topic.&lt;BR /&gt;&lt;BR /&gt;PCS</description>
      <pubDate>Fri, 09 Jun 2006 08:05:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/etc-rcx-d-directory-scripts/m-p/4984356#M782737</guid>
      <dc:creator>spex</dc:creator>
      <dc:date>2006-06-09T08:05:33Z</dc:date>
    </item>
    <item>
      <title>Re: /etc/rcx.d directory scripts</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/etc-rcx-d-directory-scripts/m-p/4984357#M782738</link>
      <description>Hi Guys.,&lt;BR /&gt;&lt;BR /&gt;I got confused with your Replies..&lt;BR /&gt;&lt;BR /&gt;Lets Clear me this.&lt;BR /&gt;&lt;BR /&gt;FROM RC1 TO RC2&lt;BR /&gt;&lt;BR /&gt;content of /etc/rc2.d runs as&lt;BR /&gt;s1--&amp;gt;s2---&amp;gt;s3---&amp;gt;..upto s100&lt;BR /&gt;&lt;BR /&gt;FROM RC3 TO RC2&lt;BR /&gt;&lt;BR /&gt;contents of /etc/rc3.d runs as&lt;BR /&gt;k100--&amp;gt;k99--&amp;gt;k98--&amp;gt;...k1&lt;BR /&gt;&lt;BR /&gt;Is this Correct update me</description>
      <pubDate>Mon, 12 Jun 2006 00:36:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/etc-rcx-d-directory-scripts/m-p/4984357#M782738</guid>
      <dc:creator>susee_sundar</dc:creator>
      <dc:date>2006-06-12T00:36:56Z</dc:date>
    </item>
    <item>
      <title>Re: /etc/rcx.d directory scripts</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/etc-rcx-d-directory-scripts/m-p/4984358#M782739</link>
      <description>Yes, If you read Pete's reply, this would have become quite clear. &lt;BR /&gt;&lt;BR /&gt;-Arun</description>
      <pubDate>Mon, 12 Jun 2006 00:42:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/etc-rcx-d-directory-scripts/m-p/4984358#M782739</guid>
      <dc:creator>Arunvijai_4</dc:creator>
      <dc:date>2006-06-12T00:42:16Z</dc:date>
    </item>
    <item>
      <title>Re: /etc/rcx.d directory scripts</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/etc-rcx-d-directory-scripts/m-p/4984359#M782740</link>
      <description>Shalom susee,&lt;BR /&gt;&lt;BR /&gt;Hopefully I don't muddy the waters further.&lt;BR /&gt;&lt;BR /&gt;As a machine starts up, it goes from&lt;BR /&gt;&lt;BR /&gt;Run Level 0&lt;BR /&gt;to 1&lt;BR /&gt;to 2 &lt;BR /&gt;to 3&lt;BR /&gt;# Or higher if set in /etc/inittab&lt;BR /&gt;&lt;BR /&gt;As it goes from run level to run level going up, all scripts starting with a captial S are executed in ascii alphabeticall order.&lt;BR /&gt;&lt;BR /&gt;S100startthis&lt;BR /&gt;S102startthat&lt;BR /&gt;&lt;BR /&gt;As a machine is shutting down, or goes from runlevel 3 to 2 then 1 then zero, the K(kill) scripts are executed. Only capital K. &lt;BR /&gt;&lt;BR /&gt;K900stopthips&lt;BR /&gt;K810oracle&lt;BR /&gt;&lt;BR /&gt;If you check these files, you see they are actually soft links to start/shut scripts in /sbin/init.d&lt;BR /&gt;&lt;BR /&gt;Example:&lt;BR /&gt;&lt;BR /&gt;Lets say the machine is at run level 2&lt;BR /&gt;The following soft links are in /etc/rc3.d&lt;BR /&gt;&lt;BR /&gt;S800oracle&lt;BR /&gt;S810httpd&lt;BR /&gt;&lt;BR /&gt;We run init 3 to take the system to run level 3&lt;BR /&gt;&lt;BR /&gt;The soft links are run as follows:&lt;BR /&gt;&lt;BR /&gt;S800oracle&lt;BR /&gt;S810httpd&lt;BR /&gt;&lt;BR /&gt;Note that this causes execution of the start/stop script in /sbin/init.d&lt;BR /&gt;&lt;BR /&gt;Lets say S800oracle points to /sbin/init.d/oracle&lt;BR /&gt;&lt;BR /&gt;What actually happens is /sbin/init.d/oracle start&lt;BR /&gt;&lt;BR /&gt;And so on.&lt;BR /&gt;&lt;BR /&gt;More clear?&lt;BR /&gt;&lt;BR /&gt;Hopefully.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Mon, 12 Jun 2006 01:09:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/etc-rcx-d-directory-scripts/m-p/4984359#M782740</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2006-06-12T01:09:18Z</dc:date>
    </item>
    <item>
      <title>Re: /etc/rcx.d directory scripts</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/etc-rcx-d-directory-scripts/m-p/4984360#M782741</link>
      <description>Hi guys,&lt;BR /&gt;&lt;BR /&gt;Thanks to All for your Great Respone..&lt;BR /&gt;I am closing the thread since I got the solution with the last reply.</description>
      <pubDate>Mon, 12 Jun 2006 01:50:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/etc-rcx-d-directory-scripts/m-p/4984360#M782741</guid>
      <dc:creator>susee_sundar</dc:creator>
      <dc:date>2006-06-12T01:50:37Z</dc:date>
    </item>
  </channel>
</rss>

