<?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: RC script details in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/rc-script-details/m-p/3928526#M287045</link>
    <description>Kevin,&lt;BR /&gt;check the /etc/rc.log for which script starts which daemon.&lt;BR /&gt;or&lt;BR /&gt;run your greps against files in /sbin/init.d/&lt;BR /&gt;&lt;BR /&gt;Modify the script in the /sbin/rc?.d directories.&lt;BR /&gt;&lt;BR /&gt;Take care when disabling your daemons. No NFS ? No snmp ?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Please also read:&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/helptips.do?#33" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/helptips.do?#33&lt;/A&gt; on how to reward any useful answers given to your questions.&lt;BR /&gt;&lt;BR /&gt;So far you have not awarded any points !&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Thu, 18 Jan 2007 10:45:08 GMT</pubDate>
    <dc:creator>Peter Godron</dc:creator>
    <dc:date>2007-01-18T10:45:08Z</dc:date>
    <item>
      <title>RC script details</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rc-script-details/m-p/3928524#M287043</link>
      <description>HI All,&lt;BR /&gt;&lt;BR /&gt;HOw to check the follwoing daemons are running or not in the system.hp-ux 11.11 i v1 9000/800 servers:-&lt;BR /&gt;Printer daemon, nfs.server, nfs.client, mail daemon , nfs.core, vt, ptydaemon, graphical login, snmp, rbootd &lt;BR /&gt;&lt;BR /&gt;Also tell me from where we can stop this daemons so that thy can not be start at boot time...&lt;BR /&gt;&lt;BR /&gt;What about the rc scripts from where we can find out this details. our system is running in run level 3.&lt;BR /&gt;&lt;BR /&gt;Thanks &amp;amp; rgeards,</description>
      <pubDate>Thu, 18 Jan 2007 10:36:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rc-script-details/m-p/3928524#M287043</guid>
      <dc:creator>Gus Fernandez</dc:creator>
      <dc:date>2007-01-18T10:36:37Z</dc:date>
    </item>
    <item>
      <title>Re: RC script details</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rc-script-details/m-p/3928525#M287044</link>
      <description>netstat is your friend.&lt;BR /&gt;&lt;BR /&gt;To prevent startup, modify the scripts in /etc/rc.config.d&lt;BR /&gt;&lt;BR /&gt;Example, for NFS, set the variables to 0 in nfsconf:&lt;BR /&gt;&lt;BR /&gt;Instead of:&lt;BR /&gt;&lt;BR /&gt;NFS_CLIENT=1&lt;BR /&gt;NFS_SERVER=1&lt;BR /&gt;&lt;BR /&gt;Put:&lt;BR /&gt;&lt;BR /&gt;NFS_CLIENT=0&lt;BR /&gt;NFS_SERVER=0&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff</description>
      <pubDate>Thu, 18 Jan 2007 10:42:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rc-script-details/m-p/3928525#M287044</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2007-01-18T10:42:56Z</dc:date>
    </item>
    <item>
      <title>Re: RC script details</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rc-script-details/m-p/3928526#M287045</link>
      <description>Kevin,&lt;BR /&gt;check the /etc/rc.log for which script starts which daemon.&lt;BR /&gt;or&lt;BR /&gt;run your greps against files in /sbin/init.d/&lt;BR /&gt;&lt;BR /&gt;Modify the script in the /sbin/rc?.d directories.&lt;BR /&gt;&lt;BR /&gt;Take care when disabling your daemons. No NFS ? No snmp ?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Please also read:&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/helptips.do?#33" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/helptips.do?#33&lt;/A&gt; on how to reward any useful answers given to your questions.&lt;BR /&gt;&lt;BR /&gt;So far you have not awarded any points !&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 18 Jan 2007 10:45:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rc-script-details/m-p/3928526#M287045</guid>
      <dc:creator>Peter Godron</dc:creator>
      <dc:date>2007-01-18T10:45:08Z</dc:date>
    </item>
    <item>
      <title>Re: RC script details</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rc-script-details/m-p/3928527#M287046</link>
      <description>Hi Kevin:&lt;BR /&gt;&lt;BR /&gt;You control the 'rc' scripts my editing the appropriate file in '/etc/rc.config.d/'.  The variables in these scripts control the scripts run by in '/sbin/init.d/'.  The sequence of the running is in turn controlled by the ordering of symbolic links in each run-level directory.  For run-level three (3) that directory would be '/sbin/rc3.d/'.&lt;BR /&gt;&lt;BR /&gt;The man pages for 'rc(1M)' offer a concise explanation of the paradigm.  You can also read the excellent whitepaper:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/en/934/startup.pdf" target="_blank"&gt;http://docs.hp.com/en/934/startup.pdf&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Thu, 18 Jan 2007 10:45:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rc-script-details/m-p/3928527#M287046</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2007-01-18T10:45:59Z</dc:date>
    </item>
    <item>
      <title>Re: RC script details</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rc-script-details/m-p/3928528#M287047</link>
      <description>Determine if the services are enabled to run at boot time by looking at the associated files in /etc/rc.config.d. The init scripts are in /sbin/init.d. Most of the config files have names matching the init script, but there are a few oddballs. (CDE is controlled in /etc/rc.config.d/desktop and rbootd is controlled from /etc/rc.config.d/netdaemons, for example.) Looking the script to see what variable it's using to control whether it starts the service will give you the search string and you can grep for it on the files in /etc/rc.config.d if it becomes necessary to track one of the oddballs down.</description>
      <pubDate>Thu, 18 Jan 2007 10:49:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rc-script-details/m-p/3928528#M287047</guid>
      <dc:creator>Jeff_Traigle</dc:creator>
      <dc:date>2007-01-18T10:49:35Z</dc:date>
    </item>
    <item>
      <title>Re: RC script details</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rc-script-details/m-p/3928529#M287048</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;# UNIX95=1 ps -o pid= -C &lt;CMDNAME&gt;&lt;BR /&gt;will return the pid of &lt;CMDNAME&gt;, if &lt;CMDNAME&gt; is running.&lt;BR /&gt;&lt;BR /&gt;Per your question, substitute the following for &lt;CMDNAME&gt;:&lt;BR /&gt;* lpsched&lt;BR /&gt;* nfsd&lt;BR /&gt;* sendmail&lt;BR /&gt;* ptydaemon&lt;BR /&gt;* xfs&lt;BR /&gt;* snmpdm&lt;BR /&gt;* rbootd&lt;BR /&gt;&lt;BR /&gt;rc script configuration is done through config files in /etc/rc.config.d.  Run level based starting/killing is handled by symlinks in /sbin/rc?.d/ to init scripts in /sbin/init.d/.&lt;BR /&gt;&lt;BR /&gt;PCS&lt;BR /&gt;&lt;/CMDNAME&gt;&lt;/CMDNAME&gt;&lt;/CMDNAME&gt;&lt;/CMDNAME&gt;</description>
      <pubDate>Thu, 18 Jan 2007 10:55:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rc-script-details/m-p/3928529#M287048</guid>
      <dc:creator>spex</dc:creator>
      <dc:date>2007-01-18T10:55:37Z</dc:date>
    </item>
    <item>
      <title>Re: RC script details</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rc-script-details/m-p/3928530#M287049</link>
      <description>Thanks for all of you...&lt;BR /&gt;&lt;BR /&gt;I have checked the alll the daemons and found all are disavbled in r.config.d confg. file but they are running in rc scripts...&lt;BR /&gt;&lt;BR /&gt;Please let me know from where i can rate your replies.&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Sat, 20 Jan 2007 01:45:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rc-script-details/m-p/3928530#M287049</guid>
      <dc:creator>Gus Fernandez</dc:creator>
      <dc:date>2007-01-20T01:45:01Z</dc:date>
    </item>
    <item>
      <title>Re: RC script details</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rc-script-details/m-p/3928531#M287050</link>
      <description>hi kevin,&lt;BR /&gt;&lt;BR /&gt;even if the scripts exists in the rc directories, the values set in the corresponding files in /etc/rc.config.d/ dictates whether they will be started or not.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Please find attached one interesting document which explains how this works. (nb. even if the document is old, the concept is still valid)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;hope this helps too!&lt;BR /&gt;&lt;BR /&gt;kind regards&lt;BR /&gt;yogeeraj&lt;BR /&gt;&lt;BR /&gt;PS.&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/helptips.do?#33" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/helptips.do?#33&lt;/A&gt; on how to reward any useful answers given to your questions.</description>
      <pubDate>Sat, 20 Jan 2007 03:06:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rc-script-details/m-p/3928531#M287050</guid>
      <dc:creator>Yogeeraj_1</dc:creator>
      <dc:date>2007-01-20T03:06:09Z</dc:date>
    </item>
  </channel>
</rss>

