<?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: to start a daemon on server boots up in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/to-start-a-daemon-on-server-boots-up/m-p/2876021#M99641</link>
    <description>Hi all.&lt;BR /&gt;You have to make the next steps:&lt;BR /&gt;&lt;BR /&gt;1. First off al. you have to put a new file ( you can use another file on the same directory, copy an modify it ), on /sbin/init.d/&amp;lt; my daemon script file name &amp;gt;&lt;BR /&gt;On it, put the start and stop process to your daemon.&lt;BR /&gt;&lt;BR /&gt;2. Then, on /etc/rcconfig.d/&amp;lt; my daemon script file name &amp;gt;, put the variable=1, the same that you use on /sbin/init.d/my daemon script file name&lt;BR /&gt;&lt;BR /&gt;3. /sbin/rcx.d ( x=  2 to stop, 3 to start )&lt;BR /&gt;Create a links to your /sbin/init.d/&lt;MY daemon="" script="" file="" name=""&gt; with the same criteria:&lt;BR /&gt;Kxxx&lt;NAME&gt; to stop on rc2&lt;BR /&gt;Sxxx&lt;NAME&gt; to stop on rc3&lt;BR /&gt;&lt;BR /&gt;xxx should be a total of 1000, I mean: you can put 009 to stop and 991 to start.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I hope this help you.&lt;BR /&gt;&lt;BR /&gt;Juanma.&lt;/NAME&gt;&lt;/NAME&gt;&lt;/MY&gt;</description>
    <pubDate>Wed, 08 Jan 2003 11:08:54 GMT</pubDate>
    <dc:creator>Juan Manuel López</dc:creator>
    <dc:date>2003-01-08T11:08:54Z</dc:date>
    <item>
      <title>to start a daemon on server boots up</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/to-start-a-daemon-on-server-boots-up/m-p/2876013#M99633</link>
      <description>I have Tacacs + running,one of my HP server. This is an old server, I need to set up the same Tacacs + on a new hp server. I was able to set up it on the new server. But I have to start the TACACS+ daemon manually, because I cant find from where this daemon is starting on the old server. How do I make the daemon to run, when the server boots.</description>
      <pubDate>Tue, 07 Jan 2003 13:30:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/to-start-a-daemon-on-server-boots-up/m-p/2876013#M99633</guid>
      <dc:creator>Raghuram Ollakal_1</dc:creator>
      <dc:date>2003-01-07T13:30:29Z</dc:date>
    </item>
    <item>
      <title>Re: to start a daemon on server boots up</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/to-start-a-daemon-on-server-boots-up/m-p/2876014#M99634</link>
      <description>You need to write a script and put it into /sbin/init.d  then create a link from /sbin/rcX.d (where X is the runlevel you want it to start under, eg. 3) to /sbin/init.d/&lt;STARTUPSCRIPT&gt;&lt;/STARTUPSCRIPT&gt;The link starts with an Sxxx for startup, or Kxxx for shutdown. You will see lots of other scripts in there, just pick a unique number for S/Kxxx&lt;BR /&gt;</description>
      <pubDate>Tue, 07 Jan 2003 13:32:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/to-start-a-daemon-on-server-boots-up/m-p/2876014#M99634</guid>
      <dc:creator>Stefan Farrelly</dc:creator>
      <dc:date>2003-01-07T13:32:58Z</dc:date>
    </item>
    <item>
      <title>Re: to start a daemon on server boots up</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/to-start-a-daemon-on-server-boots-up/m-p/2876015#M99635</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;two ways:&lt;BR /&gt;1) startup-script in /sbin/init.d&lt;BR /&gt;check the template file in this directory, you can use it to write your own&lt;BR /&gt;2) entry in /etc/inittab&lt;BR /&gt;this is probably the way it works on the old machine&lt;BR /&gt;If you're not familiar with either startup-scripts or inittab let us know and cannot go on with the manpages let us know again.&lt;BR /&gt;&lt;BR /&gt;Bye&lt;BR /&gt;Heinz</description>
      <pubDate>Tue, 07 Jan 2003 13:35:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/to-start-a-daemon-on-server-boots-up/m-p/2876015#M99635</guid>
      <dc:creator>Heinz Gaertner</dc:creator>
      <dc:date>2003-01-07T13:35:28Z</dc:date>
    </item>
    <item>
      <title>Re: to start a daemon on server boots up</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/to-start-a-daemon-on-server-boots-up/m-p/2876016#M99636</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;to start a daemon at boot put a script in /sbin/init.d.&lt;BR /&gt;&lt;BR /&gt;And make a symbolyc link in /sbin/rci.d (i is your start level number).&lt;BR /&gt;&lt;BR /&gt;To perform the script you have a model in /sbin/init.d named template.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Jerome</description>
      <pubDate>Tue, 07 Jan 2003 13:37:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/to-start-a-daemon-on-server-boots-up/m-p/2876016#M99636</guid>
      <dc:creator>Jerome Baron</dc:creator>
      <dc:date>2003-01-07T13:37:09Z</dc:date>
    </item>
    <item>
      <title>Re: to start a daemon on server boots up</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/to-start-a-daemon-on-server-boots-up/m-p/2876017#M99637</link>
      <description>1. goto /sbin/init.d/&lt;BR /&gt;   copy template and make modification to start your application.&lt;BR /&gt;&lt;BR /&gt;2. make link file for start up and shutdown in /etc/rcXX.d&lt;BR /&gt;&lt;BR /&gt;3if file that create in number 1 need to check parameter you can add it in /etc/rc.config.d/&lt;BR /&gt;&lt;BR /&gt;you can see example that already exist&lt;BR /&gt;&lt;BR /&gt;/sbin/init.d/lp&lt;BR /&gt;/sbin/rc2.d/S720lp&lt;BR /&gt;/sbin/rc1.d/K280lp&lt;BR /&gt;/etc/rc.config.d/lp&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 07 Jan 2003 13:38:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/to-start-a-daemon-on-server-boots-up/m-p/2876017#M99637</guid>
      <dc:creator>Printaporn_1</dc:creator>
      <dc:date>2003-01-07T13:38:11Z</dc:date>
    </item>
    <item>
      <title>Re: to start a daemon on server boots up</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/to-start-a-daemon-on-server-boots-up/m-p/2876018#M99638</link>
      <description>Prior post is where the startup script has to be.&lt;BR /&gt;&lt;BR /&gt;You can copy /sbin/init.d/template to be your template for the startup script.&lt;BR /&gt;&lt;BR /&gt;cp /bin/init.d/template /sbin/init.d/newscript&lt;BR /&gt;&lt;BR /&gt;This script requires start or stop as $1 argument&lt;BR /&gt;&lt;BR /&gt;To create a startup run level 3 to that script its.&lt;BR /&gt;&lt;BR /&gt;cd /sbin/rc3.d&lt;BR /&gt;&lt;BR /&gt;ln -s /sbin/init.d/newscript S999newscript&lt;BR /&gt;&lt;BR /&gt;for stopping it run level 2&lt;BR /&gt;&lt;BR /&gt;cd /sbin/rc2.d&lt;BR /&gt;ln -s /sbin/init.d/newscript K999newscript&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;An example always helps.&lt;BR /&gt;&lt;BR /&gt;Good luck.</description>
      <pubDate>Tue, 07 Jan 2003 13:39:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/to-start-a-daemon-on-server-boots-up/m-p/2876018#M99638</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2003-01-07T13:39:59Z</dc:date>
    </item>
    <item>
      <title>Re: to start a daemon on server boots up</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/to-start-a-daemon-on-server-boots-up/m-p/2876019#M99639</link>
      <description>I think you are looking for the daemon of Tacacs+,I never worked  on this, since you have a working machine (old machine) , you can find it form startup script of old machine ( /sbin/init.d/xxxx. and /etc/rc.config.d/xxxx.&lt;BR /&gt;also you can find it from /etc/rc.log,</description>
      <pubDate>Tue, 07 Jan 2003 13:47:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/to-start-a-daemon-on-server-boots-up/m-p/2876019#M99639</guid>
      <dc:creator>kish_1</dc:creator>
      <dc:date>2003-01-07T13:47:06Z</dc:date>
    </item>
    <item>
      <title>Re: to start a daemon on server boots up</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/to-start-a-daemon-on-server-boots-up/m-p/2876020#M99640</link>
      <description>I believe this could also be setup in /etc/inetd.conf</description>
      <pubDate>Wed, 08 Jan 2003 07:23:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/to-start-a-daemon-on-server-boots-up/m-p/2876020#M99640</guid>
      <dc:creator>Angus Crome</dc:creator>
      <dc:date>2003-01-08T07:23:23Z</dc:date>
    </item>
    <item>
      <title>Re: to start a daemon on server boots up</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/to-start-a-daemon-on-server-boots-up/m-p/2876021#M99641</link>
      <description>Hi all.&lt;BR /&gt;You have to make the next steps:&lt;BR /&gt;&lt;BR /&gt;1. First off al. you have to put a new file ( you can use another file on the same directory, copy an modify it ), on /sbin/init.d/&amp;lt; my daemon script file name &amp;gt;&lt;BR /&gt;On it, put the start and stop process to your daemon.&lt;BR /&gt;&lt;BR /&gt;2. Then, on /etc/rcconfig.d/&amp;lt; my daemon script file name &amp;gt;, put the variable=1, the same that you use on /sbin/init.d/my daemon script file name&lt;BR /&gt;&lt;BR /&gt;3. /sbin/rcx.d ( x=  2 to stop, 3 to start )&lt;BR /&gt;Create a links to your /sbin/init.d/&lt;MY daemon="" script="" file="" name=""&gt; with the same criteria:&lt;BR /&gt;Kxxx&lt;NAME&gt; to stop on rc2&lt;BR /&gt;Sxxx&lt;NAME&gt; to stop on rc3&lt;BR /&gt;&lt;BR /&gt;xxx should be a total of 1000, I mean: you can put 009 to stop and 991 to start.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I hope this help you.&lt;BR /&gt;&lt;BR /&gt;Juanma.&lt;/NAME&gt;&lt;/NAME&gt;&lt;/MY&gt;</description>
      <pubDate>Wed, 08 Jan 2003 11:08:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/to-start-a-daemon-on-server-boots-up/m-p/2876021#M99641</guid>
      <dc:creator>Juan Manuel López</dc:creator>
      <dc:date>2003-01-08T11:08:54Z</dc:date>
    </item>
    <item>
      <title>Re: to start a daemon on server boots up</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/to-start-a-daemon-on-server-boots-up/m-p/2876022#M99642</link>
      <description>Just to add to what Juan Manuel is saying, if you don't have a start/stop script readily available, in the /sbin/init.d, you will find a file named template which contains a start/stop and is pretty standard with everything else HP has implemented.  You just need to include your different steps to start or stop your application and voila! You continue with step 2 and 3 from Juan Manuel</description>
      <pubDate>Wed, 08 Jan 2003 13:17:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/to-start-a-daemon-on-server-boots-up/m-p/2876022#M99642</guid>
      <dc:creator>Marco Santerre</dc:creator>
      <dc:date>2003-01-08T13:17:07Z</dc:date>
    </item>
    <item>
      <title>Re: to start a daemon on server boots up</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/to-start-a-daemon-on-server-boots-up/m-p/2876023#M99643</link>
      <description>I went through my old server, that is running this daemon on startup, and check all the files you guts mentened, but cant find it anywher. ( /sbin/init.d, /etc/inittab, /etc/rc.config.d,&lt;BR /&gt;/sbin/rc1.d, /sbin/rc2.d, /sbin/rc3.d, /sbin/rcx.d, ) checked all this nowhere I can find it.&lt;BR /&gt;</description>
      <pubDate>Wed, 08 Jan 2003 14:01:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/to-start-a-daemon-on-server-boots-up/m-p/2876023#M99643</guid>
      <dc:creator>Raghuram Ollakal_1</dc:creator>
      <dc:date>2003-01-08T14:01:35Z</dc:date>
    </item>
    <item>
      <title>Re: to start a daemon on server boots up</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/to-start-a-daemon-on-server-boots-up/m-p/2876024#M99644</link>
      <description>What's your OS version ?&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Jerome</description>
      <pubDate>Wed, 08 Jan 2003 14:03:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/to-start-a-daemon-on-server-boots-up/m-p/2876024#M99644</guid>
      <dc:creator>Jerome Baron</dc:creator>
      <dc:date>2003-01-08T14:03:36Z</dc:date>
    </item>
    <item>
      <title>Re: to start a daemon on server boots up</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/to-start-a-daemon-on-server-boots-up/m-p/2876025#M99645</link>
      <description>I am running 10.20 on the old box and I have 11.0 on my new one.&lt;BR /&gt;</description>
      <pubDate>Wed, 08 Jan 2003 14:50:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/to-start-a-daemon-on-server-boots-up/m-p/2876025#M99645</guid>
      <dc:creator>Raghuram Ollakal_1</dc:creator>
      <dc:date>2003-01-08T14:50:20Z</dc:date>
    </item>
    <item>
      <title>Re: to start a daemon on server boots up</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/to-start-a-daemon-on-server-boots-up/m-p/2876026#M99646</link>
      <description>On 10.20 you don't have directory /sbin/init.d, /sbin/rc*.d, ..., etc ?&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Jerome</description>
      <pubDate>Wed, 08 Jan 2003 15:35:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/to-start-a-daemon-on-server-boots-up/m-p/2876026#M99646</guid>
      <dc:creator>Jerome Baron</dc:creator>
      <dc:date>2003-01-08T15:35:02Z</dc:date>
    </item>
    <item>
      <title>Re: to start a daemon on server boots up</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/to-start-a-daemon-on-server-boots-up/m-p/2876027#M99647</link>
      <description>cd /sbin/init.d&lt;BR /&gt;grep ( darmon name ) *&lt;BR /&gt;If you are starting this manually you should be using the same daemon name.&lt;BR /&gt;&lt;BR /&gt;Do not always expect the script name to match tha daemon name.&lt;BR /&gt;Tony&lt;BR /&gt;</description>
      <pubDate>Wed, 08 Jan 2003 22:05:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/to-start-a-daemon-on-server-boots-up/m-p/2876027#M99647</guid>
      <dc:creator>Tony Willis_1</dc:creator>
      <dc:date>2003-01-08T22:05:53Z</dc:date>
    </item>
  </channel>
</rss>

