<?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: inittab in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/inittab/m-p/2447096#M9700</link>
    <description>After changing inittab you need to inform init with the command 'init c'. &lt;BR /&gt;&lt;BR /&gt;Also init will only respawn a process that it started in the first place. ie if you started your daemon manually and then killed it, init would not be aware.</description>
    <pubDate>Thu, 21 Sep 2000 15:18:34 GMT</pubDate>
    <dc:creator>John Palmer</dc:creator>
    <dc:date>2000-09-21T15:18:34Z</dc:date>
    <item>
      <title>inittab</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/inittab/m-p/2447094#M9698</link>
      <description>We have an application that we want to ensure it is always running.  We put an entry in /etc/inittab. We were informed that this was monitored by the init process and would restart processes that were terminated.&lt;BR /&gt;Below is our entry:&lt;BR /&gt;----------------------------&lt;BR /&gt;hrms::respawn:su - hradm -c "cd /opt/appserver/psfthrms/hrms751/appserv; ./psad&lt;BR /&gt;min -p start -d STL_HDEV"&lt;BR /&gt;----------------------------&lt;BR /&gt;&lt;BR /&gt;Upon killing this process, the process didn't restart.  Did we define the entry wrong or do we have to notify the init process that the inittab has changed?  Must we reboot for every entry we put in the inittab?&lt;BR /&gt;&lt;BR /&gt;Please consult.&lt;BR /&gt;&lt;BR /&gt;..Joe</description>
      <pubDate>Thu, 21 Sep 2000 15:13:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/inittab/m-p/2447094#M9698</guid>
      <dc:creator>Joe Profaizer</dc:creator>
      <dc:date>2000-09-21T15:13:53Z</dc:date>
    </item>
    <item>
      <title>Re: inittab</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/inittab/m-p/2447095#M9699</link>
      <description>Do an "init q" and it will reread the inittab and the new changes will take effect.</description>
      <pubDate>Thu, 21 Sep 2000 15:16:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/inittab/m-p/2447095#M9699</guid>
      <dc:creator>John_16</dc:creator>
      <dc:date>2000-09-21T15:16:10Z</dc:date>
    </item>
    <item>
      <title>Re: inittab</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/inittab/m-p/2447096#M9700</link>
      <description>After changing inittab you need to inform init with the command 'init c'. &lt;BR /&gt;&lt;BR /&gt;Also init will only respawn a process that it started in the first place. ie if you started your daemon manually and then killed it, init would not be aware.</description>
      <pubDate>Thu, 21 Sep 2000 15:18:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/inittab/m-p/2447096#M9700</guid>
      <dc:creator>John Palmer</dc:creator>
      <dc:date>2000-09-21T15:18:34Z</dc:date>
    </item>
    <item>
      <title>Re: inittab</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/inittab/m-p/2447097#M9701</link>
      <description>Joe,&lt;BR /&gt;&lt;BR /&gt;I would recommend using a different method of keeping that 'aemon' alive.&lt;BR /&gt;Use a start script that not only starts your process, but a second process that checks to see if the 1st is still alive with logic included to restart it.&lt;BR /&gt;&lt;BR /&gt;Good Luck</description>
      <pubDate>Thu, 21 Sep 2000 15:19:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/inittab/m-p/2447097#M9701</guid>
      <dc:creator>Robert Gamble</dc:creator>
      <dc:date>2000-09-21T15:19:34Z</dc:date>
    </item>
    <item>
      <title>Re: inittab</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/inittab/m-p/2447098#M9702</link>
      <description>Joe,&lt;BR /&gt;&lt;BR /&gt;Sorry about the typo, I meant 'init q'</description>
      <pubDate>Thu, 21 Sep 2000 15:20:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/inittab/m-p/2447098#M9702</guid>
      <dc:creator>John Palmer</dc:creator>
      <dc:date>2000-09-21T15:20:54Z</dc:date>
    </item>
    <item>
      <title>Re: inittab</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/inittab/m-p/2447099#M9703</link>
      <description>Joe,&lt;BR /&gt;&lt;BR /&gt;You should also consider defining a runlevel (second field of the inittab entry) the same as your default (second field of the first record). This will ensure that your daemon only gets started when the system gets to the normal runlevel after a boot.</description>
      <pubDate>Thu, 21 Sep 2000 15:27:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/inittab/m-p/2447099#M9703</guid>
      <dc:creator>John Palmer</dc:creator>
      <dc:date>2000-09-21T15:27:23Z</dc:date>
    </item>
    <item>
      <title>Re: inittab</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/inittab/m-p/2447100#M9704</link>
      <description>You need to define a runlevel(second field), this will make sure that your daemon will restart automatically) when the system comes up  in normal runlevel. Do "who -r" will tell you the current level of system. Also you have to create a script in "/sbin/init.d/appscriptname" and linked to the appropriate "rc.?" directory if you want your application to come bootsup/shut down automatically when the server comes bootsup/down. To test it, change second field in inittab to the require runlevel, kill the application and it should come up automatically otherwise do "init q".</description>
      <pubDate>Thu, 21 Sep 2000 15:42:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/inittab/m-p/2447100#M9704</guid>
      <dc:creator>Vincente Fernandes</dc:creator>
      <dc:date>2000-09-21T15:42:57Z</dc:date>
    </item>
    <item>
      <title>Re: inittab</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/inittab/m-p/2447101#M9705</link>
      <description>Thank you all!!!</description>
      <pubDate>Thu, 21 Sep 2000 15:46:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/inittab/m-p/2447101#M9705</guid>
      <dc:creator>Joe Profaizer</dc:creator>
      <dc:date>2000-09-21T15:46:55Z</dc:date>
    </item>
    <item>
      <title>Re: inittab</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/inittab/m-p/2447102#M9706</link>
      <description>Thank you all!!!</description>
      <pubDate>Thu, 21 Sep 2000 15:47:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/inittab/m-p/2447102#M9706</guid>
      <dc:creator>Joe Profaizer</dc:creator>
      <dc:date>2000-09-21T15:47:00Z</dc:date>
    </item>
  </channel>
</rss>

