<?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: 11i boot: auto_parms[1589]: /tmp/sh##.###: in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/11i-boot-auto-parms-1589-tmp-sh/m-p/3056628#M137697</link>
    <description>The errors below indicate a number of problems&lt;BR /&gt;&lt;BR /&gt;sbin/auto_parms[1589]: /tmp/sh76.113: cannot create &lt;BR /&gt;/sbin/auto_parms[8]: who: not found &lt;BR /&gt;/sbin/auto_parms[17]: ps: not found &lt;BR /&gt;/sbin/auto_parms[17]: grep: not found &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;The cannont create error could be for one of 2 likely reasons;&lt;BR /&gt;&lt;BR /&gt;1) There is no free space&lt;BR /&gt;&lt;BR /&gt;2) There is a permissions problem with either the /tmp directory, or a file/directory called sh76.113 beneath it.&lt;BR /&gt;&lt;BR /&gt;The "not found" errors show that the script that is running is trying to pick up these commands from a location (probably /usr/bin), which is not mounted as a filesystem when the script runs.</description>
    <pubDate>Tue, 26 Aug 2003 11:30:57 GMT</pubDate>
    <dc:creator>Chris Wilshaw</dc:creator>
    <dc:date>2003-08-26T11:30:57Z</dc:date>
    <item>
      <title>11i boot: auto_parms[1589]: /tmp/sh##.###:</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/11i-boot-auto-parms-1589-tmp-sh/m-p/3056627#M137696</link>
      <description>Has anyone seen (and possibly resolved) this problem with booting on 11i?&lt;BR /&gt;Initially all goes well, then after several reboots, I get the following error msgs&lt;BR /&gt;just after the msg saying DHCP access is disabled:&lt;BR /&gt;&lt;BR /&gt;/sbin/auto_parms[1589]: /tmp/sh76.113: cannot create&lt;BR /&gt;/sbin/auto_parms[8]: who: not found&lt;BR /&gt;/sbin/auto_parms[17]: ps: not found&lt;BR /&gt;/sbin/auto_parms[17]: grep: not found&lt;BR /&gt;&lt;BR /&gt;Line 1589 of auto_parms is where it sources /sbin/set_parms.util, but I didn't&lt;BR /&gt;see anything like /tmp/$$.&lt;DIGITS&gt; in there.&lt;BR /&gt;Lines 8 and 17 of auto_parms do not make sense, but lines 8 and 17 of the&lt;BR /&gt;CheckRunLevel function in auto_parms do use who, ps and grep to try and&lt;BR /&gt;find out if we're running from boot.  The output in /etc/auto_parms.log suggest&lt;BR /&gt;this check fails, because the log says execution was stopped.&lt;BR /&gt;If I look at /tmp in single user mode before the real /tmp filesystem is mounted&lt;BR /&gt;I can see 128 files of the form sh&lt;NUMBER&gt;.&lt;NUMBER&gt;.  They come in blocks&lt;BR /&gt;of 4, looks like they hold messages.  I can see /tmp/sh76.113 (and .114, .115,&lt;BR /&gt;.116).&lt;BR /&gt;Apart from the "cannot create" / "not found" messages, my system seems to come up OK.  Also, if I clear the /tmp directory in the root FS, the problem goes away for several boots.&lt;BR /&gt;I tried a call to HP a while ago - but not resolved so i thought I'd try the foru&lt;/NUMBER&gt;&lt;/NUMBER&gt;&lt;/DIGITS&gt;</description>
      <pubDate>Tue, 26 Aug 2003 11:23:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/11i-boot-auto-parms-1589-tmp-sh/m-p/3056627#M137696</guid>
      <dc:creator>Alan Turner</dc:creator>
      <dc:date>2003-08-26T11:23:05Z</dc:date>
    </item>
    <item>
      <title>Re: 11i boot: auto_parms[1589]: /tmp/sh##.###:</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/11i-boot-auto-parms-1589-tmp-sh/m-p/3056628#M137697</link>
      <description>The errors below indicate a number of problems&lt;BR /&gt;&lt;BR /&gt;sbin/auto_parms[1589]: /tmp/sh76.113: cannot create &lt;BR /&gt;/sbin/auto_parms[8]: who: not found &lt;BR /&gt;/sbin/auto_parms[17]: ps: not found &lt;BR /&gt;/sbin/auto_parms[17]: grep: not found &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;The cannont create error could be for one of 2 likely reasons;&lt;BR /&gt;&lt;BR /&gt;1) There is no free space&lt;BR /&gt;&lt;BR /&gt;2) There is a permissions problem with either the /tmp directory, or a file/directory called sh76.113 beneath it.&lt;BR /&gt;&lt;BR /&gt;The "not found" errors show that the script that is running is trying to pick up these commands from a location (probably /usr/bin), which is not mounted as a filesystem when the script runs.</description>
      <pubDate>Tue, 26 Aug 2003 11:30:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/11i-boot-auto-parms-1589-tmp-sh/m-p/3056628#M137697</guid>
      <dc:creator>Chris Wilshaw</dc:creator>
      <dc:date>2003-08-26T11:30:57Z</dc:date>
    </item>
    <item>
      <title>Re: 11i boot: auto_parms[1589]: /tmp/sh##.###:</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/11i-boot-auto-parms-1589-tmp-sh/m-p/3056629#M137698</link>
      <description>You will find it is caused by the fact that /usr has not been mounted yet.  I bet the messages occur prior to the start sequence where all the /sbin/rc.?/* scripts are run.&lt;BR /&gt;&lt;BR /&gt;However, I don't have a solution for you.  You will need to determine which of the scripts in /sbin/init.d is causing the problem.&lt;BR /&gt;&lt;BR /&gt;I will need a little more thought on this problem.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Tim</description>
      <pubDate>Tue, 26 Aug 2003 11:37:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/11i-boot-auto-parms-1589-tmp-sh/m-p/3056629#M137698</guid>
      <dc:creator>Tim Adamson_1</dc:creator>
      <dc:date>2003-08-26T11:37:58Z</dc:date>
    </item>
    <item>
      <title>Re: 11i boot: auto_parms[1589]: /tmp/sh##.###:</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/11i-boot-auto-parms-1589-tmp-sh/m-p/3056630#M137699</link>
      <description>Had another idea.  Check to make sure that the files in /sbin/rc?.d are all sym links to files in /sbin/init.d.  &lt;BR /&gt;&lt;BR /&gt;Next go through the scripts in /sbin/init.d and look for those commands - who, grep, etc.&lt;BR /&gt;&lt;BR /&gt;This way you should identify the scripts that are causing the problems.  &lt;BR /&gt;&lt;BR /&gt;It looks as though the system is sourcing the files in /sbin/init.d before executing them and because /usr is not mounted the who and grep fail as they live in /usr/bin (and most likely / is mounted as read only at this stage of the boot process hence the /tmp files can't be created).&lt;BR /&gt;&lt;BR /&gt;Now more thought is required.  Just thinking out loud.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Tim.</description>
      <pubDate>Tue, 26 Aug 2003 11:55:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/11i-boot-auto-parms-1589-tmp-sh/m-p/3056630#M137699</guid>
      <dc:creator>Tim Adamson_1</dc:creator>
      <dc:date>2003-08-26T11:55:35Z</dc:date>
    </item>
    <item>
      <title>Re: 11i boot: auto_parms[1589]: /tmp/sh##.###:</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/11i-boot-auto-parms-1589-tmp-sh/m-p/3056631#M137700</link>
      <description>Chris / Tim -thanks for your responses.&lt;BR /&gt;There's plenty of space on the root filesystem, which is where the /tmp/sh76.113 file exists (there's also loads of free space in the /tmp&lt;BR /&gt;filesystem).  Permissions on /tmp/sh76.113 allow root to have write.  As I have&lt;BR /&gt;/tmp/sh76.1 --&amp;gt; /tmp/sh76.116 in the /tmp directory, what I suspect is&lt;BR /&gt;happening is a crude "create workfile" loop, which tries to make a new file&lt;BR /&gt;/tmp/sh$$.&lt;NUMBER&gt; and keeps incrementing &lt;NUMBER&gt; to look for a file&lt;BR /&gt;which does not already exist - baling out at sh76.113 looks like a safetry&lt;BR /&gt;measure to stop an endless loop  (interestingly, when I raised the HP call, the error file was /tmp/sh81.113).  Possibly there's a subsequent "tidy up" of&lt;BR /&gt;/tmp, which hypothetically fails because by now the filesystem has mounted&lt;BR /&gt;on /tmp.&lt;BR /&gt;As for "who", "ps" and "grep" - yes, I would expect these to be in /usr/bin.&lt;BR /&gt;Given that auto_parms normally works, what I think has happened is that&lt;BR /&gt;/usr/bin ought to have been monted by this stage, but the earlier failure may&lt;BR /&gt;have stopped the mount occurring, or alternatively, may have stopped /usr/bin&lt;BR /&gt;being added to PATH.&lt;BR /&gt;I suspect all would work fine if I didn't have a separate filesystem for /tmp.&lt;BR /&gt;I do have an ls and tar archive of /tmp on the root filesystem, but I'm not sure they'd be helpful&lt;/NUMBER&gt;&lt;/NUMBER&gt;</description>
      <pubDate>Tue, 26 Aug 2003 12:03:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/11i-boot-auto-parms-1589-tmp-sh/m-p/3056631#M137700</guid>
      <dc:creator>Alan Turner</dc:creator>
      <dc:date>2003-08-26T12:03:40Z</dc:date>
    </item>
    <item>
      <title>Re: 11i boot: auto_parms[1589]: /tmp/sh##.###:</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/11i-boot-auto-parms-1589-tmp-sh/m-p/3056632#M137701</link>
      <description>Tim is right about the /usr not being mounted as the cause.&lt;BR /&gt;&lt;BR /&gt;To find the script giving the error, go into /etc/rc.config.d and do the following:&lt;BR /&gt;&lt;BR /&gt;ll -t | head -20 &lt;BR /&gt;&lt;BR /&gt;to get a list of the most recently changed files in this directory.&lt;BR /&gt;&lt;BR /&gt;There should be NO scripts in this directory at all.&lt;BR /&gt;&lt;BR /&gt;Starting at the top of the list, type:&lt;BR /&gt;&lt;BR /&gt;. ./filename &lt;BR /&gt;&lt;BR /&gt;Any file that kicks out messages when you do this should not be in this directory.&lt;BR /&gt;&lt;BR /&gt;This directory is used for files that should be SOURCED not RUN so if a script was put in here, it needs to be moved.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 26 Aug 2003 12:08:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/11i-boot-auto-parms-1589-tmp-sh/m-p/3056632#M137701</guid>
      <dc:creator>Kent Ostby</dc:creator>
      <dc:date>2003-08-26T12:08:34Z</dc:date>
    </item>
    <item>
      <title>Re: 11i boot: auto_parms[1589]: /tmp/sh##.###:</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/11i-boot-auto-parms-1589-tmp-sh/m-p/3056633#M137702</link>
      <description>Tim (response #2) - the rc#.d scripts are symbolic links to init.d scripts, but&lt;BR /&gt;the who/ps/grep errors are from auto_parms, and are before the rc.utils script runs and draws the tabular boot display - so I need to hit CTRL-S at just the&lt;BR /&gt;right time or I can't see the error messages.  The root FS is writable at the&lt;BR /&gt;stage of the errors, on the basis that if i dleete the files from the /tmp&lt;BR /&gt;directory, they get created and the errors stop (till slots 113 - 116 are used up&lt;BR /&gt;in the hypothetical temp file name schem</description>
      <pubDate>Tue, 26 Aug 2003 12:11:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/11i-boot-auto-parms-1589-tmp-sh/m-p/3056633#M137702</guid>
      <dc:creator>Alan Turner</dc:creator>
      <dc:date>2003-08-26T12:11:06Z</dc:date>
    </item>
    <item>
      <title>Re: 11i boot: auto_parms[1589]: /tmp/sh##.###:</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/11i-boot-auto-parms-1589-tmp-sh/m-p/3056634#M137703</link>
      <description>Hi Alan,&lt;BR /&gt;&lt;BR /&gt;I might not have been clear before.  Apologies if that is the case.  &lt;BR /&gt;&lt;BR /&gt;I am trying to picture where in the boot process this is occuring.  Obviously the kernel is loaded.  The auto_parms message normally occurs just before where the system lists everything as OK or FAIL or N/A as it runs through the /sbin/rc?.d directories.&lt;BR /&gt;&lt;BR /&gt;If I am right in that assumption, then the filesystems have NOT been mounted, hence /usr is not mounted.&lt;BR /&gt;&lt;BR /&gt;Also, / is mounted read-only first and then re-mounted later on.  The message about not being able to create the /tmp/sh##.### file could be caused by the fact that root is still mounted as read only at this stage of the boot process.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Hope I have been clearer.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Tim&lt;BR /&gt;</description>
      <pubDate>Tue, 26 Aug 2003 12:14:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/11i-boot-auto-parms-1589-tmp-sh/m-p/3056634#M137703</guid>
      <dc:creator>Tim Adamson_1</dc:creator>
      <dc:date>2003-08-26T12:14:36Z</dc:date>
    </item>
    <item>
      <title>Re: 11i boot: auto_parms[1589]: /tmp/sh##.###:</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/11i-boot-auto-parms-1589-tmp-sh/m-p/3056635#M137704</link>
      <description>Kent - I'm pretty sure that the who, ps and grep messages are coming from&lt;BR /&gt;the CheckRunLevel shell function in /sbin/auto_parms - line 8 of this&lt;BR /&gt;function does a "who", and line 17 of the function pipes "ps" through "grep"&lt;BR /&gt;and "awk", looking to see if auto_parms is running under /sbin/rc.  I don't&lt;BR /&gt;get a "not found" for awk, but awk is in /sbin.&lt;BR /&gt;rc/config.d just holds files to be sourced - anyway, the problem goes away&lt;BR /&gt;if I remove the contents of /tmp on the root flesystem, but this isn't a nice&lt;BR /&gt;solution because I can't do it once the system has booted, as I can't umount&lt;BR /&gt;/tmp</description>
      <pubDate>Tue, 26 Aug 2003 12:21:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/11i-boot-auto-parms-1589-tmp-sh/m-p/3056635#M137704</guid>
      <dc:creator>Alan Turner</dc:creator>
      <dc:date>2003-08-26T12:21:18Z</dc:date>
    </item>
    <item>
      <title>Re: 11i boot: auto_parms[1589]: /tmp/sh##.###:</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/11i-boot-auto-parms-1589-tmp-sh/m-p/3056636#M137705</link>
      <description>Tim&lt;BR /&gt;The error occurs just after the message&lt;BR /&gt;&lt;BR /&gt;"/sbin/auto_parms: DHCP access is disabled (see /etc/uato_parms.log)"&lt;BR /&gt;&lt;BR /&gt;i.e. just before the OK / N/A / FAIL tabular display (if I hit CTRL-S to see the&lt;BR /&gt;error messages, then press CTRL-Q, I get an error message from /sbin/rc&lt;BR /&gt;saying it couldn't read row and column information, and I lose the paged&lt;BR /&gt;version of the boot table - comes up as a scrolled list.&lt;BR /&gt;&lt;BR /&gt;I believe the root FS has been remounted read/write at the time of the errors,&lt;BR /&gt;because new files are created if I clear out /tmp, also the DHCP access msg&lt;BR /&gt;refers to /etc/auto_parms.log, suggesting the /etc/auto_parms.log was written&lt;BR /&gt;&lt;BR /&gt;I haven't been able to check if /usr is mounted at this stage, and I'm wary of&lt;BR /&gt;tweaking auto_parms to look, but I actually would expect /usr to be mounted&lt;BR /&gt;at this stage, otherwise why do I NOT get the "not found" messages from&lt;BR /&gt;auto_parms when I've cleared out /tmp (and, why would auto-parms have&lt;BR /&gt;"who", "ps" and "grep" in it if /usr is not meant to be mounted when&lt;BR /&gt;auto_parms runs, yet autopamrs is meant only to be run by /sbin/rc)</description>
      <pubDate>Tue, 26 Aug 2003 12:35:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/11i-boot-auto-parms-1589-tmp-sh/m-p/3056636#M137705</guid>
      <dc:creator>Alan Turner</dc:creator>
      <dc:date>2003-08-26T12:35:57Z</dc:date>
    </item>
    <item>
      <title>Re: 11i boot: auto_parms[1589]: /tmp/sh##.###:</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/11i-boot-auto-parms-1589-tmp-sh/m-p/3056637#M137706</link>
      <description>Interestingly, auto_parms is actually called by /sbin/rc.  &lt;BR /&gt;&lt;BR /&gt;Just before it executes auto_parms, it runs /sbin/rc.utils which sources the files in /etc/rc.config.d if I remember correctly.&lt;BR /&gt;&lt;BR /&gt;So the stuff in there must be correct but I'm not convinced that is the problem.&lt;BR /&gt;&lt;BR /&gt;This is an interesting thread!!!&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Tim&lt;BR /&gt;</description>
      <pubDate>Tue, 26 Aug 2003 12:43:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/11i-boot-auto-parms-1589-tmp-sh/m-p/3056637#M137706</guid>
      <dc:creator>Tim Adamson_1</dc:creator>
      <dc:date>2003-08-26T12:43:48Z</dc:date>
    </item>
    <item>
      <title>Re: 11i boot: auto_parms[1589]: /tmp/sh##.###:</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/11i-boot-auto-parms-1589-tmp-sh/m-p/3056638#M137707</link>
      <description>Will have to come back to this thread.  Wish I could replicate it on a local system and wish I had more time to investigate.  Unfortunately I have been called away.&lt;BR /&gt;&lt;BR /&gt;Maybe someone will provide the solution.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Tim</description>
      <pubDate>Tue, 26 Aug 2003 13:02:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/11i-boot-auto-parms-1589-tmp-sh/m-p/3056638#M137707</guid>
      <dc:creator>Tim Adamson_1</dc:creator>
      <dc:date>2003-08-26T13:02:58Z</dc:date>
    </item>
    <item>
      <title>Re: 11i boot: auto_parms[1589]: /tmp/sh##.###:</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/11i-boot-auto-parms-1589-tmp-sh/m-p/3056639#M137708</link>
      <description>Tim&lt;BR /&gt;&lt;BR /&gt;I'm not convinced that rc.utils sources the rc.config.d files - vi didn't find the &lt;BR /&gt;string "config" in rc.utils.  rc.utils doesn't actually "do" anything - it  defines a&lt;BR /&gt;set of shell functions, which could be used by other scripts.  It's possible &lt;BR /&gt;that /sbin/rc will run source rc.utils as a general practice before running&lt;BR /&gt;other scripts.&lt;BR /&gt;&lt;BR /&gt;I'm intrigued by what's trying to create /tmp/sh##.113 (as I've had the problem&lt;BR /&gt;with ## = 76 and ## = 81).  from the line number, it's something in or under&lt;BR /&gt;set_parms.util, but I haven't followed this through.  I believe it's this that's the&lt;BR /&gt;real trigger for the problem.  Once the create error has occurred, further&lt;BR /&gt;errors could be spurious, e.g. perhaps set_parms.util, or something it calls,&lt;BR /&gt;ends up mounting /usr so that who, ps and grep will work and the failure&lt;BR /&gt;stops the mount working.&lt;BR /&gt;&lt;BR /&gt;As a matter of interest, have you tried booting 11i with /tmp as a separate filesystem?  [I haven't noticed any problems under 10.20)</description>
      <pubDate>Tue, 26 Aug 2003 13:06:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/11i-boot-auto-parms-1589-tmp-sh/m-p/3056639#M137708</guid>
      <dc:creator>Alan Turner</dc:creator>
      <dc:date>2003-08-26T13:06:22Z</dc:date>
    </item>
    <item>
      <title>Re: 11i boot: auto_parms[1589]: /tmp/sh##.###:</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/11i-boot-auto-parms-1589-tmp-sh/m-p/3056640#M137709</link>
      <description>From the /sbin/rc script:&lt;BR /&gt;&lt;BR /&gt;if [ -f /etc/rc.config ]; then&lt;BR /&gt;        . /etc/rc.config&lt;BR /&gt;</description>
      <pubDate>Tue, 26 Aug 2003 15:25:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/11i-boot-auto-parms-1589-tmp-sh/m-p/3056640#M137709</guid>
      <dc:creator>Kent Ostby</dc:creator>
      <dc:date>2003-08-26T15:25:52Z</dc:date>
    </item>
    <item>
      <title>Re: 11i boot: auto_parms[1589]: /tmp/sh##.###:</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/11i-boot-auto-parms-1589-tmp-sh/m-p/3056641#M137710</link>
      <description>Alan --&lt;BR /&gt;&lt;BR /&gt;1) Have you taken a look at:&lt;BR /&gt;&lt;BR /&gt;/etc/auto_parms.log&lt;BR /&gt;/etc/rc.log&lt;BR /&gt;/tmp/dhcpclient.log&lt;BR /&gt;&lt;BR /&gt;Those may provide more details.&lt;BR /&gt;&lt;BR /&gt;2) Do this command:&lt;BR /&gt;&lt;BR /&gt;ll /sbin/rc2.d/S* | head&lt;BR /&gt;&lt;BR /&gt;and see what scripts are below the S100 level when the filesystems are mounted.&lt;BR /&gt;&lt;BR /&gt;If you see something new or especially something NOT LINKED then this could be the cause.&lt;BR /&gt;&lt;BR /&gt;3) Another thing to check is to do a "mount -a" which will verify the number of the fields in /etc/fstab.&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;&lt;BR /&gt;Kent M. Ostby&lt;BR /&gt;</description>
      <pubDate>Tue, 26 Aug 2003 15:33:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/11i-boot-auto-parms-1589-tmp-sh/m-p/3056641#M137710</guid>
      <dc:creator>Kent Ostby</dc:creator>
      <dc:date>2003-08-26T15:33:41Z</dc:date>
    </item>
    <item>
      <title>Re: 11i boot: auto_parms[1589]: /tmp/sh##.###:</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/11i-boot-auto-parms-1589-tmp-sh/m-p/3056642#M137711</link>
      <description>I hadn't realised /sbin/rc was a script!!!!&lt;BR /&gt;The problems start after the . /sbin/auto_parms&lt;BR /&gt;so /etc/rc.config runs OK.&lt;BR /&gt;&lt;BR /&gt;I've had a look at /sbin/set_parms.util, and&lt;BR /&gt;since the statement adding /usr/bin to the&lt;BR /&gt;PATH is the first non-definition ststement,&lt;BR /&gt;I'm wondering if the "cannot create" is being&lt;BR /&gt;raised when auto_parms attempts to source&lt;BR /&gt;set_parms.util, and is never managing to source&lt;BR /&gt;the script - otherwise, I'd expect the PATH to&lt;BR /&gt;be updated.  If PATH isn't updated, even though&lt;BR /&gt;/usr should be mounted (MountLocalFilesystems&lt;BR /&gt;function in auto_parms) the PATH won't allow&lt;BR /&gt;the progs to be found.&lt;BR /&gt;&lt;BR /&gt;So, back to why is "cannot create" being&lt;BR /&gt;reported? Does the shell create any temp files&lt;BR /&gt;while setting itself up to source a script?&lt;BR /&gt;</description>
      <pubDate>Tue, 26 Aug 2003 16:04:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/11i-boot-auto-parms-1589-tmp-sh/m-p/3056642#M137711</guid>
      <dc:creator>Alan Turner</dc:creator>
      <dc:date>2003-08-26T16:04:06Z</dc:date>
    </item>
    <item>
      <title>Re: 11i boot: auto_parms[1589]: /tmp/sh##.###:</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/11i-boot-auto-parms-1589-tmp-sh/m-p/3056643#M137712</link>
      <description>Kent (16:33 GMT post)&lt;BR /&gt;&lt;BR /&gt;auto-parms.log should contain the DHCP disabled text, e.g.&lt;BR /&gt;Aug 11 12:03:03: DHCP is disabled for: lan0&lt;BR /&gt;but contains&lt;BR /&gt;Aug 26 17:11:19: Information: /sbin/auto_parms execution was stopped.&lt;BR /&gt;Aug 26 17:11:19: /sbin/auto_parms may only execute from /sbin/rc during&lt;BR /&gt;Aug 26 17:11:19: the initial transition from run level 'S' ( see init(1M) ).&lt;BR /&gt;&lt;BR /&gt;(from the failure of CheckRunLevel)&lt;BR /&gt;&lt;BR /&gt;/etc/rc.log is just "normal" - no adverse&lt;BR /&gt;inidcations, but then this all goes on before&lt;BR /&gt;the rc#.d scripts run&lt;BR /&gt;/tmp/dhcpclientlog doesn't exist (DHCP disabled)&lt;BR /&gt;There's nothing new in rc2.d, and anyway the&lt;BR /&gt;machine boots without error messages if I clear&lt;BR /&gt;out /tmp on root FS.  mount -a reports no&lt;BR /&gt;formatproblems, and /etc/fstab pre-dates the last error-free boot by several days.&lt;BR /&gt;&lt;BR /&gt;I'm wondering about a shell temporary file&lt;BR /&gt;(see my prvious reply).&lt;BR /&gt;</description>
      <pubDate>Tue, 26 Aug 2003 16:29:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/11i-boot-auto-parms-1589-tmp-sh/m-p/3056643#M137712</guid>
      <dc:creator>Alan Turner</dc:creator>
      <dc:date>2003-08-26T16:29:15Z</dc:date>
    </item>
    <item>
      <title>Re: 11i boot: auto_parms[1589]: /tmp/sh##.###:</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/11i-boot-auto-parms-1589-tmp-sh/m-p/3056644#M137713</link>
      <description>Alan,&lt;BR /&gt;&lt;BR /&gt;Apologies for my error in other post.  I was meant to say the /sbin/rc calls /sbin/rc.utils and /etc/rc.config, the latter sources the stuff in /etc/rc.config.d.&lt;BR /&gt;&lt;BR /&gt;Anyway, the auto_parms.log file indicates that it might be getting caught on some network related thing.  You mention that dhcp is disabled, but that message is NOT in the log file.&lt;BR /&gt;&lt;BR /&gt;Maybe you could put a set -x in the /sbin/auto_parms script.  You would need to also put it in all the functions too.  At least you will get an idea of where the hell it is in the script that it is hanging or looping.&lt;BR /&gt;&lt;BR /&gt;My guess is a network thing but I have no proof.&lt;BR /&gt;&lt;BR /&gt;Tim</description>
      <pubDate>Tue, 26 Aug 2003 22:24:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/11i-boot-auto-parms-1589-tmp-sh/m-p/3056644#M137713</guid>
      <dc:creator>Tim Adamson_1</dc:creator>
      <dc:date>2003-08-26T22:24:00Z</dc:date>
    </item>
    <item>
      <title>Re: 11i boot: auto_parms[1589]: /tmp/sh##.###:</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/11i-boot-auto-parms-1589-tmp-sh/m-p/3056645#M137714</link>
      <description>Alan,&lt;BR /&gt;&lt;BR /&gt;Ok.  I did some more testing.  I placed some set -x statements in auto_parms and it shows the following functions are called up to and including CheckRunLevel;&lt;BR /&gt;&lt;BR /&gt;function LogToStdoutOff&lt;BR /&gt;function _LocalDebug&lt;BR /&gt;function MountLocalFileSystems&lt;BR /&gt;function CheckRunLevel&lt;BR /&gt;&lt;BR /&gt;The first 2 don't do anything special.&lt;BR /&gt;&lt;BR /&gt;Interesting to see the MountLocalFileSystems just before the CheckRunLevel.  This could confirm the suspicions about /usr not being mounted.&lt;BR /&gt;&lt;BR /&gt;I did another test to confirm that the filesystems were indeed mounted:&lt;BR /&gt;&lt;BR /&gt;function MountLocalFileSystems&lt;BR /&gt;retStatus = 1&lt;BR /&gt;bdf output&lt;BR /&gt;Filesystem          kbytes    used   avail %used Mounted on&lt;BR /&gt;/dev/vg00/lvol3     163840   57923   99352   37% /&lt;BR /&gt;/dev/vg00/lvol1     119637   47518   60155   44% /stand&lt;BR /&gt;/dev/vg00/lvol8    2048000 1790149  242386   88% /var&lt;BR /&gt;/dev/vg00/lvol7    1024000  581961  414416   58% /usr&lt;BR /&gt;/dev/vg00/lvol6     102400   60528   39531   60% /tmp&lt;BR /&gt;/dev/vg02/lvol1    4190208 2757689 1352983   67% /tim2&lt;BR /&gt;/dev/vg00/lvol5    1024000  886993  133622   87% /opt&lt;BR /&gt;/dev/vg00/lvol4     102400    4031   92247    4% /home&lt;BR /&gt;function CheckRunLevel&lt;BR /&gt;&lt;BR /&gt;As you can see, my filesystems are mounted fine!&lt;BR /&gt;&lt;BR /&gt;As you correctly pointed out, the CheckRunLevel function issues the who and grep commands:&lt;BR /&gt;&lt;BR /&gt;ppid=$(ps -ef | grep 'bin/r[c]' | awk '{print $2}')&lt;BR /&gt;&lt;BR /&gt;Based on what you are seeing, I would say that the MountLocalFileSystems function may be failing.&lt;BR /&gt;&lt;BR /&gt;I would concentrate on that area.  Put in a set -x or redirect the output from some commands to $AUTO_PARMS_LOGFILE.&lt;BR /&gt;&lt;BR /&gt;bdf &amp;gt;&amp;gt; $AUTO_PARMS_LOGFILE 2&amp;gt;&amp;amp;1  (best to make sure you include stderr because if /usr is NOT mounted, then bdf will fail as it lives in /usr/bin).&lt;BR /&gt;&lt;BR /&gt;Hope that helps.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Tim.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 27 Aug 2003 01:09:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/11i-boot-auto-parms-1589-tmp-sh/m-p/3056645#M137714</guid>
      <dc:creator>Tim Adamson_1</dc:creator>
      <dc:date>2003-08-27T01:09:17Z</dc:date>
    </item>
    <item>
      <title>Re: 11i boot: auto_parms[1589]: /tmp/sh##.###:</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/11i-boot-auto-parms-1589-tmp-sh/m-p/3056646#M137715</link>
      <description>Ha.  Another reply.&lt;BR /&gt;&lt;BR /&gt;When looking at the return status for retStatus it is 1 which is TRUE. Just to confuse things more :)~&lt;BR /&gt;&lt;BR /&gt;export SUCCESS=1&lt;BR /&gt;export FAILURE=0&lt;BR /&gt;&lt;BR /&gt;function MountLocalFileSystems {&lt;BR /&gt;    typeset retStatus&lt;BR /&gt;&lt;BR /&gt;    mountall -l &amp;gt;/dev/null 2&amp;gt;&amp;amp;1&lt;BR /&gt;&lt;BR /&gt;    if [[ $? -ne 0 || ! -d /usr/lbin ]]; then&lt;BR /&gt;        retStatus=$FAILURE&lt;BR /&gt;    else&lt;BR /&gt;        retStatus=$SUCCESS&lt;BR /&gt;    fi&lt;BR /&gt;    return $retStatus&lt;BR /&gt;&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Tim.&lt;BR /&gt;</description>
      <pubDate>Wed, 27 Aug 2003 01:36:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/11i-boot-auto-parms-1589-tmp-sh/m-p/3056646#M137715</guid>
      <dc:creator>Tim Adamson_1</dc:creator>
      <dc:date>2003-08-27T01:36:15Z</dc:date>
    </item>
  </channel>
</rss>

