<?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: /sbin/init.d script failure at bootup in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/sbin-init-d-script-failure-at-bootup/m-p/2790994#M79684</link>
    <description>Doug,&lt;BR /&gt;&lt;BR /&gt;Just a reminder to give points out to those who answered your questions. It only takes a moment, and helps make the forums more useful to everyone. &lt;BR /&gt;&lt;BR /&gt;Sean &lt;BR /&gt;</description>
    <pubDate>Thu, 12 Sep 2002 17:11:20 GMT</pubDate>
    <dc:creator>Sean OB_1</dc:creator>
    <dc:date>2002-09-12T17:11:20Z</dc:date>
    <item>
      <title>/sbin/init.d script failure at bootup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sbin-init-d-script-failure-at-bootup/m-p/2790982#M79672</link>
      <description>HP-UX 11.11 L1000&lt;BR /&gt;/sbin/init.d/xvfb start does not work at boot time&lt;BR /&gt;&lt;BR /&gt;Everything smooth except at boot time the init.d script only starts one of the two processes requires at startup.  As soon as the machine boots up I can manually run 'xvfb start' and it works just fine.  I have tried making xvfb the last thing to start at boot and same problem.  I need some advice on why an init.d script works manually after boot, but not durring the boot (even as the very last thing in init4)&lt;BR /&gt;&lt;BR /&gt;Thanks all</description>
      <pubDate>Wed, 21 Aug 2002 14:47:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sbin-init-d-script-failure-at-bootup/m-p/2790982#M79672</guid>
      <dc:creator>Doug Corey_1</dc:creator>
      <dc:date>2002-08-21T14:47:40Z</dc:date>
    </item>
    <item>
      <title>Re: /sbin/init.d script failure at bootup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sbin-init-d-script-failure-at-bootup/m-p/2790983#M79673</link>
      <description>Did you check the /etc/rc.log file for any warnings? Make sure that you have the links in rc directories and it's starting with Sxx..Also check /etc/inittab and make sure that your system's default run level is 4. If it is 3, then put the start script in a lower run level.</description>
      <pubDate>Wed, 21 Aug 2002 14:51:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sbin-init-d-script-failure-at-bootup/m-p/2790983#M79673</guid>
      <dc:creator>Sajid_1</dc:creator>
      <dc:date>2002-08-21T14:51:01Z</dc:date>
    </item>
    <item>
      <title>Re: /sbin/init.d script failure at bootup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sbin-init-d-script-failure-at-bootup/m-p/2790984#M79674</link>
      <description>Hi Doug,&lt;BR /&gt;&lt;BR /&gt; In which rcx.d directory do you have the link to the /sbin/init.d script?&lt;BR /&gt;It *should* be in /sbin/rc3.d as this is the default run-level.&lt;BR /&gt;&lt;BR /&gt;Also sometimes a startup command needs to be run nohup, not often, but sometimes.&lt;BR /&gt;&lt;BR /&gt;What does the /etc/rc.log show when it tries to start the process?&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Jeff</description>
      <pubDate>Wed, 21 Aug 2002 14:52:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sbin-init-d-script-failure-at-bootup/m-p/2790984#M79674</guid>
      <dc:creator>Jeff Schussele</dc:creator>
      <dc:date>2002-08-21T14:52:52Z</dc:date>
    </item>
    <item>
      <title>Re: /sbin/init.d script failure at bootup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sbin-init-d-script-failure-at-bootup/m-p/2790985#M79675</link>
      <description>Did you create the symbolic link in the appropriate directory to start it?&lt;BR /&gt;&lt;BR /&gt;i.e. ln -s /sbin/init.d/xvfb /sbin/rc3.d/S900vxfb&lt;BR /&gt;&lt;BR /&gt;Sounds like it may be missing.</description>
      <pubDate>Wed, 21 Aug 2002 14:53:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sbin-init-d-script-failure-at-bootup/m-p/2790985#M79675</guid>
      <dc:creator>Tom Danzig</dc:creator>
      <dc:date>2002-08-21T14:53:23Z</dc:date>
    </item>
    <item>
      <title>Re: /sbin/init.d script failure at bootup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sbin-init-d-script-failure-at-bootup/m-p/2790986#M79676</link>
      <description>Have you checked /etc/rc.log for errors? How about /var/adm/syslog/syslog.log?&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;Marty</description>
      <pubDate>Wed, 21 Aug 2002 14:53:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sbin-init-d-script-failure-at-bootup/m-p/2790986#M79676</guid>
      <dc:creator>Martin Johnson</dc:creator>
      <dc:date>2002-08-21T14:53:27Z</dc:date>
    </item>
    <item>
      <title>Re: /sbin/init.d script failure at bootup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sbin-init-d-script-failure-at-bootup/m-p/2790987#M79677</link>
      <description>If you put the file in init4 (/sbin/rc4/d) and your initdefault in /etc/inittab is set to 3, it will never be triggered because the box never reaches that run-level. Move it to /etc/rc3.d.</description>
      <pubDate>Wed, 21 Aug 2002 14:53:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sbin-init-d-script-failure-at-bootup/m-p/2790987#M79677</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2002-08-21T14:53:30Z</dc:date>
    </item>
    <item>
      <title>Re: /sbin/init.d script failure at bootup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sbin-init-d-script-failure-at-bootup/m-p/2790988#M79678</link>
      <description>rc.log/syslog shows nothing&lt;BR /&gt;I have the appropriate run control symbolic links.&lt;BR /&gt;&lt;BR /&gt;The xvfb start is being issued properly.  It seems like more of an xvfb specific matter.  &lt;BR /&gt;It is like this: 'xvfb start' kicks of procA and procB; at boot time procA starts ok, but procB never comes up.  Here are the 2 procs&lt;BR /&gt;/usr/bin/X11/X :10 -ac -fbdir /var/X11/Xserver&lt;BR /&gt;/usr/bin/X11/mwm -display :10&lt;BR /&gt;&lt;BR /&gt;The mwm -display :10 one will not start at boot.  i am looking for advice on what environmetally is different between running a script as su - root and running that script at init time.&lt;BR /&gt;&lt;BR /&gt;Appreciate it&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 21 Aug 2002 16:19:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sbin-init-d-script-failure-at-bootup/m-p/2790988#M79678</guid>
      <dc:creator>Doug Corey_1</dc:creator>
      <dc:date>2002-08-21T16:19:05Z</dc:date>
    </item>
    <item>
      <title>Re: /sbin/init.d script failure at bootup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sbin-init-d-script-failure-at-bootup/m-p/2790989#M79679</link>
      <description>Hi (again) Doug,&lt;BR /&gt;&lt;BR /&gt; Well, you have a fairly sparse environment at boot time. I'd explicitly set any PATH vars as well as any LIB vars in the startup script.&lt;BR /&gt;Checking your standard environment as root when you run the command manually should clue you in to what you might need to set.&lt;BR /&gt; Also if either of these processes expects a tty to output to, it could be a problem. Then you'd want to get some tput statement(s) in there as well.&lt;BR /&gt;&lt;BR /&gt;Rgds,&lt;BR /&gt;Jeff</description>
      <pubDate>Wed, 21 Aug 2002 16:36:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sbin-init-d-script-failure-at-bootup/m-p/2790989#M79679</guid>
      <dc:creator>Jeff Schussele</dc:creator>
      <dc:date>2002-08-21T16:36:02Z</dc:date>
    </item>
    <item>
      <title>Re: /sbin/init.d script failure at bootup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sbin-init-d-script-failure-at-bootup/m-p/2790990#M79680</link>
      <description>Hi Doug,&lt;BR /&gt;&lt;BR /&gt;I have just put a reply to a similar thread today.&lt;BR /&gt;&lt;BR /&gt;It seemed that(to be confirmed by HP) that you can only start Daemon processes from /usr/sbin/init.d, I had same problems before, trying to start a bunch of process at system boot time, but all those process which are not daemons got exit soon after it started, that's why from /etc/rc.log everything seemed fine, but the process is not running. &lt;BR /&gt;&lt;BR /&gt;I would assume that mwm is not a daemon process. My solution is that instead of starting "mwm" directly from /usr/sbin/xvfb, using "at" to schedule it to start after, say 5 mins, then it will work fine.&lt;BR /&gt;&lt;BR /&gt;please let me know if it works.&lt;BR /&gt;&lt;BR /&gt;Gary</description>
      <pubDate>Wed, 21 Aug 2002 19:05:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sbin-init-d-script-failure-at-bootup/m-p/2790990#M79680</guid>
      <dc:creator>Gary Yu</dc:creator>
      <dc:date>2002-08-21T19:05:28Z</dc:date>
    </item>
    <item>
      <title>Re: /sbin/init.d script failure at bootup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sbin-init-d-script-failure-at-bootup/m-p/2790991#M79681</link>
      <description>woops, type error, should be /sbin/init.d not /usr/sbin/init.d&lt;BR /&gt;&lt;BR /&gt;Gary</description>
      <pubDate>Wed, 21 Aug 2002 19:07:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sbin-init-d-script-failure-at-bootup/m-p/2790991#M79681</guid>
      <dc:creator>Gary Yu</dc:creator>
      <dc:date>2002-08-21T19:07:59Z</dc:date>
    </item>
    <item>
      <title>Re: /sbin/init.d script failure at bootup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sbin-init-d-script-failure-at-bootup/m-p/2790992#M79682</link>
      <description>You may want to "nohup" those statements, and also add a "sleep 10" as the last statement. The sleep statement gives the 'nohup' handler time to control the process before the process dies because it's parent script is done.</description>
      <pubDate>Thu, 22 Aug 2002 12:30:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sbin-init-d-script-failure-at-bootup/m-p/2790992#M79682</guid>
      <dc:creator>Mark Landin</dc:creator>
      <dc:date>2002-08-22T12:30:46Z</dc:date>
    </item>
    <item>
      <title>Re: /sbin/init.d script failure at bootup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sbin-init-d-script-failure-at-bootup/m-p/2790993#M79683</link>
      <description>Typically most machines default to run level three.&lt;BR /&gt;&lt;BR /&gt;So make sure to put a link in /sbin/rc3.d as S999xvfb pointing to /sbin/init.d/xvfb.&lt;BR /&gt;&lt;BR /&gt;cd /sbin/rc3.d&lt;BR /&gt;ln -s /sbin/init.d/xvfb S999xvfb&lt;BR /&gt;chmod 755 S999xvfb&lt;BR /&gt;&lt;BR /&gt;Check /etc/inittab to see what the default run level it.&lt;BR /&gt;&lt;BR /&gt;Check /etc/rc.log to see what if any error messages happen when the system boots.&lt;BR /&gt;&lt;BR /&gt;Finally I would make sure that /sbin/init.d/xvfb sets any environment variables that you need.  There may be vars set when you log in that aren't set at boot time so they aren't available when the command is executed.&lt;BR /&gt;</description>
      <pubDate>Thu, 22 Aug 2002 14:00:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sbin-init-d-script-failure-at-bootup/m-p/2790993#M79683</guid>
      <dc:creator>Sean OB_1</dc:creator>
      <dc:date>2002-08-22T14:00:26Z</dc:date>
    </item>
    <item>
      <title>Re: /sbin/init.d script failure at bootup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sbin-init-d-script-failure-at-bootup/m-p/2790994#M79684</link>
      <description>Doug,&lt;BR /&gt;&lt;BR /&gt;Just a reminder to give points out to those who answered your questions. It only takes a moment, and helps make the forums more useful to everyone. &lt;BR /&gt;&lt;BR /&gt;Sean &lt;BR /&gt;</description>
      <pubDate>Thu, 12 Sep 2002 17:11:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sbin-init-d-script-failure-at-bootup/m-p/2790994#M79684</guid>
      <dc:creator>Sean OB_1</dc:creator>
      <dc:date>2002-09-12T17:11:20Z</dc:date>
    </item>
  </channel>
</rss>

