<?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: Debugging startup process in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/debugging-startup-process/m-p/6413326#M486511</link>
    <description>Thanks - baby steps through each item showed that one was waiting for user input. Fixed it so it doesn't ask anymore and all is happy.</description>
    <pubDate>Fri, 14 Mar 2014 16:11:47 GMT</pubDate>
    <dc:creator>Vince Laurent</dc:creator>
    <dc:date>2014-03-14T16:11:47Z</dc:date>
    <item>
      <title>Debugging startup process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/debugging-startup-process/m-p/6412438#M486509</link>
      <description>&lt;P&gt;&lt;FONT color="#000000"&gt;We have a handful of servers that exhibit the same behavior. Not everything starts up (according to rc.log). &amp;nbsp;Here is an example:&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#800080" face="lucida sans unicode,lucida sans"&gt;(root@sapsnd)# tail /etc/rc.log&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#800080" face="lucida sans unicode,lucida sans"&gt;Start LVM daemon&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#800080" face="lucida sans unicode,lucida sans"&gt;Output from "/sbin/rc3.d/S900lvm start":&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#800080" face="lucida sans unicode,lucida sans"&gt;----------------------------&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#800080" face="lucida sans unicode,lucida sans"&gt;Starting up the lvmpud daemon&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#800080" face="lucida sans unicode,lucida sans"&gt;/usr/sbin/lvmpud&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#800080" face="lucida sans unicode,lucida sans"&gt;Starting SAP Services&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#800080" face="lucida sans unicode,lucida sans"&gt;Output from "/sbin/rc3.d/S900sapinit start":&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#800080" face="lucida sans unicode,lucida sans"&gt;----------------------------&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#800080" face="lucida sans unicode,lucida sans"&gt;start hostcontrol using profile /usr/sap/hostctrl/exe/host_profile&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There are a few more things that should start but don't:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#800080" face="lucida sans unicode,lucida sans"&gt;(root@sapsnd)# ls -al1 S9* &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#800080" face="lucida sans unicode,lucida sans"&gt;lrwxr-xr-x 1 root sys 21 Mar 18 2011 S900OVTrcSrv -&amp;gt; /sbin/init.d/OVTrcSrv&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#800080" face="lucida sans unicode,lucida sans"&gt;lrwxrwxrwx 1 bin bin 16 Mar 18 2011 S900lvm -&amp;gt; /sbin/init.d/lvm&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#800080" face="lucida sans unicode,lucida sans"&gt;lrwxr-x--- 1 root root 20 Apr 22 2013 S900sapinit -&amp;gt; /sbin/init.d/sapinit&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000" face="lucida sans unicode,lucida sans"&gt;lrwxr-xr-x 1 root sys 16 Mar 18 2011 S920sap -&amp;gt; /sbin/init.d/sap&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000" face="lucida sans unicode,lucida sans"&gt;lr-xr--r-- 1 bin bin 23 Mar 18 2011 S990dtlogin.rc -&amp;gt; /sbin/init.d/dtlogin.rc&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000" face="lucida sans unicode,lucida sans"&gt;lrwxr-xr-x 1 root sys 18 Mar 18 2011 S998amgrd -&amp;gt; /sbin/init.d/amgrd&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000" face="lucida sans unicode,lucida sans"&gt;lrwxr-xr-x 1 root sys 21 Feb 10 2012 S99prngd.rc -&amp;gt; /sbin/init.d/prngd.rc&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000" face="lucida sans unicode,lucida sans"&gt;lrwxr-xr-x 1 root sys 19 Feb 17 10:34 S99z0OVCtrl -&amp;gt; /sbin/init.d/OVCtrl&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;What is the best way to debug the process?&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;Thanks&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;vince&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;p.s. running HP-UX 11.31&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Mar 2014 20:13:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/debugging-startup-process/m-p/6412438#M486509</guid>
      <dc:creator>Vince Laurent</dc:creator>
      <dc:date>2014-03-13T20:13:09Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging startup process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/debugging-startup-process/m-p/6412560#M486510</link>
      <description>&lt;P&gt;The first place to start is with /etc/rc.config.d&lt;/P&gt;&lt;P&gt;This directory is unlike ANY other directory in HP-UX. EVERY file in this directory will be executed by every start script. That means that *NO* junk files or old files or different versions of files can be in that directory. Just before all the rc scripts are started, you may see all sorts of strange error messages due to bad files in that directory.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To debug, sort the files by time order, most recent at the bottom:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;cd /etc/rc.config.d
ls -lrt&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The files at the bottom were recently created or changed. They are the most suspect. If you want to keep old copies of the control files, make a directory called old and move all the old files to old. The directory protects these files from being executed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then for each failed rc script, run the failed script manually. I did not see any error messages in your post. Are you saying that the sapinit scipt is failing? What happens when you run it manually?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Mar 2014 23:46:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/debugging-startup-process/m-p/6412560#M486510</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2014-03-13T23:46:54Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging startup process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/debugging-startup-process/m-p/6413326#M486511</link>
      <description>Thanks - baby steps through each item showed that one was waiting for user input. Fixed it so it doesn't ask anymore and all is happy.</description>
      <pubDate>Fri, 14 Mar 2014 16:11:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/debugging-startup-process/m-p/6413326#M486511</guid>
      <dc:creator>Vince Laurent</dc:creator>
      <dc:date>2014-03-14T16:11:47Z</dc:date>
    </item>
  </channel>
</rss>

