<?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: boot error??? in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/boot-error/m-p/2609350#M854053</link>
    <description>The first error seems to be resulting from a badly written configuration/init script, i.e. check in /etc/rc.config.d or /sbin/init.d directories for improper syntax etc.&lt;BR /&gt;&lt;BR /&gt;The second error was a result of you're fsck in the raw disk devices, i.e. /dev/rdsk/c0t6d0.  The filesystems are on lvols, not the raw disks, i.e. you should have done:&lt;BR /&gt;&lt;BR /&gt;fsck -F hfs /dev/vg00/lvol1.&lt;BR /&gt;&lt;BR /&gt;Try booting into single user, i.e.:&lt;BR /&gt;&lt;BR /&gt;hpux -is -lm&lt;BR /&gt;&lt;BR /&gt;at the ISL prompt and fscking the proper device.  Then if that work, try booting into multi-user and checking for errors in the startup scripts (as mentioned above).&lt;BR /&gt;&lt;BR /&gt;If this fails, hopefully you have good backups because I think you're root disk is all messed up.&lt;BR /&gt;&lt;BR /&gt;-Santosh</description>
    <pubDate>Wed, 07 Nov 2001 19:53:19 GMT</pubDate>
    <dc:creator>Santosh Nair_1</dc:creator>
    <dc:date>2001-11-07T19:53:19Z</dc:date>
    <item>
      <title>boot error???</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/boot-error/m-p/2609348#M854051</link>
      <description>Ok....&lt;BR /&gt;We had a generator test last week while I was away.&lt;BR /&gt;A newly built 11.00 box was powered off, and we started it back up today(turned key).&lt;BR /&gt;BOOM....&lt;BR /&gt;It will no longer boot.  It comes up with &lt;BR /&gt;&lt;BR /&gt;Rights for non-DOD U.S. Government Departments and Agencies are as set forth in FAR 52.227-19(c)(1,2).&lt;BR /&gt;/sbin/rc: sshd not found&lt;BR /&gt;&lt;BR /&gt;INIT: Command is respawning too rapidly.&lt;BR /&gt;Will try again in 5 minutes.&lt;BR /&gt;Check for possible errors.&lt;BR /&gt;id:cons "/usr/sbin/getty console console            # system console"&lt;BR /&gt;&lt;BR /&gt;INIT: Command is respawning too rapidly.&lt;BR /&gt;Will try again in 5 minutes.&lt;BR /&gt;Check for possible errors.&lt;BR /&gt;id:ems4 "/etc/opt/resmon/lbin/p_client"&lt;BR /&gt;Resynchronized volume group /dev/vg00&lt;BR /&gt;Resynchronized volume group /dev/vg01&lt;BR /&gt;...and hangs.&lt;BR /&gt;This has been thrashed about in the forums, I know.&lt;BR /&gt;So, I boot to hpux -lm, figuring to check /sbin/rc.* or  /sbin/init.d for problems.&lt;BR /&gt;&lt;BR /&gt;I get:&lt;BR /&gt;/dev/vg00/lvol1: possible swap device (cannot determine)&lt;BR /&gt;fsck SUSPENDED BY USER.&lt;BR /&gt;/dev/vg00/lvol1: No such device or address&lt;BR /&gt;Unable to mount /stand - please check entries in /etc/fstab&lt;BR /&gt;and it boots to level "s".&lt;BR /&gt;&lt;BR /&gt;/etc/fstab:&lt;BR /&gt;/dev/vg00/lvol3 / vxfs delaylog 0 1&lt;BR /&gt;/dev/vg00/lvol1 /stand hfs defaults 0 1&lt;BR /&gt;/dev/vg00/lvol4 /home vxfs delaylog 0 2&lt;BR /&gt;/dev/vg00/lvol5 /opt vxfs delaylog 0 2&lt;BR /&gt;/dev/vg00/lvol6 /tmp vxfs delaylog 0 2&lt;BR /&gt;/dev/vg00/lvol7 /usr vxfs delaylog 0 2&lt;BR /&gt;/dev/vg00/lvol8 /var vxfs delaylog 0 2&lt;BR /&gt;&lt;BR /&gt;So I...&lt;BR /&gt;# fsck -F hfs /dev/rdsk/c0t6d0&lt;BR /&gt;fsck: /dev/rdsk/c0t6d0: possible swap device (cannot determine)&lt;BR /&gt;&lt;BR /&gt;continue (y/n)? y&lt;BR /&gt;** /dev/rdsk/c0t6d0&lt;BR /&gt;BAD SUPER BLOCK: MAGIC NUMBER WRONG&lt;BR /&gt;USE -b OPTION TO FSCK TO SPECIFY LOCATION OF AN ALTERNATE&lt;BR /&gt;SUPER-BLOCK TO SUPPLY NEEDED INFORMATION; SEE fsck(1M).&lt;BR /&gt;&lt;BR /&gt;reboot.....&lt;BR /&gt;&lt;BR /&gt;/sbin/ioinitrc:&lt;BR /&gt;fsck: /dev/vg00/lvol1: possible swap device (cannot determine)&lt;BR /&gt;fsck SUSPENDED BY USER.&lt;BR /&gt;mount: file system table may be corrupt&lt;BR /&gt;Unable to mount /stand - please check entries in /etc/fstab&lt;BR /&gt;&lt;BR /&gt;The initial problem was fine, I could just init 1,2,3 my way up and all seemed OK till a reboot.&lt;BR /&gt;This new thing has me baffled, and I cannot find anyone who will admit to powering the box off.&lt;BR /&gt;&lt;BR /&gt;So...&lt;BR /&gt;If someone just twisted the key to off, would this account for the apparent corruption?&lt;BR /&gt;I know the first backup Superblock on a Solaris block is at 32, is this the same for HPUX?&lt;BR /&gt;Can I... fsck -F hfs -b 32 /dev/rdsk/cntndn with this?&lt;BR /&gt;Or is it back to the start?  What am I missing?&lt;BR /&gt;&lt;BR /&gt;About to abuse my cold medication,&lt;BR /&gt;J</description>
      <pubDate>Wed, 07 Nov 2001 19:40:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/boot-error/m-p/2609348#M854051</guid>
      <dc:creator>Jon Mattatall</dc:creator>
      <dc:date>2001-11-07T19:40:27Z</dc:date>
    </item>
    <item>
      <title>Re: boot error???</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/boot-error/m-p/2609349#M854052</link>
      <description>Hi Jon,&lt;BR /&gt;&lt;BR /&gt;Instead of trying to boot the system, i think you look for an alternative solution, like if you have a root mirror, use that, else get a space disk and install os on that, recover your data on the system first. &lt;BR /&gt;&lt;BR /&gt;If there is nothing on this box, simply reinstall. Seems like a massive corruption of the root disk / filesystem.&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;BR /&gt;Regds&lt;BR /&gt;</description>
      <pubDate>Wed, 07 Nov 2001 19:52:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/boot-error/m-p/2609349#M854052</guid>
      <dc:creator>Sanjay_6</dc:creator>
      <dc:date>2001-11-07T19:52:25Z</dc:date>
    </item>
    <item>
      <title>Re: boot error???</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/boot-error/m-p/2609350#M854053</link>
      <description>The first error seems to be resulting from a badly written configuration/init script, i.e. check in /etc/rc.config.d or /sbin/init.d directories for improper syntax etc.&lt;BR /&gt;&lt;BR /&gt;The second error was a result of you're fsck in the raw disk devices, i.e. /dev/rdsk/c0t6d0.  The filesystems are on lvols, not the raw disks, i.e. you should have done:&lt;BR /&gt;&lt;BR /&gt;fsck -F hfs /dev/vg00/lvol1.&lt;BR /&gt;&lt;BR /&gt;Try booting into single user, i.e.:&lt;BR /&gt;&lt;BR /&gt;hpux -is -lm&lt;BR /&gt;&lt;BR /&gt;at the ISL prompt and fscking the proper device.  Then if that work, try booting into multi-user and checking for errors in the startup scripts (as mentioned above).&lt;BR /&gt;&lt;BR /&gt;If this fails, hopefully you have good backups because I think you're root disk is all messed up.&lt;BR /&gt;&lt;BR /&gt;-Santosh</description>
      <pubDate>Wed, 07 Nov 2001 19:53:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/boot-error/m-p/2609350#M854053</guid>
      <dc:creator>Santosh Nair_1</dc:creator>
      <dc:date>2001-11-07T19:53:19Z</dc:date>
    </item>
    <item>
      <title>Re: boot error???</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/boot-error/m-p/2609351#M854054</link>
      <description>Jon,&lt;BR /&gt;I would not hurt to try an alternate boot block fsck. I have done it on a Sun before like you said, but never on an HP. I don't think that it would hurt, what's the worst thing that could happen?  &lt;BR /&gt;&lt;BR /&gt;Good Luck,&lt;BR /&gt;C</description>
      <pubDate>Wed, 07 Nov 2001 19:54:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/boot-error/m-p/2609351#M854054</guid>
      <dc:creator>Craig Rants</dc:creator>
      <dc:date>2001-11-07T19:54:44Z</dc:date>
    </item>
    <item>
      <title>Re: boot error???</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/boot-error/m-p/2609352#M854055</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;  I had   similar errors during booting one of my systems. The problem turned&lt;BR /&gt;to be with errorneous changes&lt;BR /&gt;made in the fstab file.&lt;BR /&gt;It mounted /home as /opt,&lt;BR /&gt;/opt as /usr and so on,&lt;BR /&gt;since the lvol&amp;lt;-&amp;gt;FS mapping&lt;BR /&gt;was screwed up in the fstab file.&lt;BR /&gt;&lt;BR /&gt;  Your error seems similar,&lt;BR /&gt;so i would suggest you to&lt;BR /&gt;have a close look at your&lt;BR /&gt;fstab file to see when it&lt;BR /&gt;was last changed. Also see&lt;BR /&gt;whether you have a old fstab&lt;BR /&gt;file (ll /etc/fstab*) around.&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&amp;lt;&amp;lt;# fsck -F hfs /dev/rdsk/c0t6d0 &lt;BR /&gt;fsck: /dev/rdsk/c0t6d0: possible swap device (cannot determine) &amp;gt;&amp;gt;&lt;BR /&gt;&lt;BR /&gt;  Nope, this is not solaris ;-) You need to do fsck on&lt;BR /&gt;LV's.  So, that should be&lt;BR /&gt;fsck -F &lt;FSTYPE&gt; /dev/vgxx/lvolxx&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;&amp;lt;&lt;/FSTYPE&gt;fsck: /dev/vg00/lvol1: possible swap device (cannot determine) &amp;gt;&amp;gt;&lt;BR /&gt;&lt;BR /&gt;    Since it keeps whining&lt;BR /&gt;about swap device, check&lt;BR /&gt;your boot settings:&lt;BR /&gt; #lvlnboot -v&lt;BR /&gt;  (lvol2 should be swap device)&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;HTH&lt;BR /&gt;raj&lt;BR /&gt;</description>
      <pubDate>Wed, 07 Nov 2001 19:56:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/boot-error/m-p/2609352#M854055</guid>
      <dc:creator>Roger Baptiste</dc:creator>
      <dc:date>2001-11-07T19:56:59Z</dc:date>
    </item>
    <item>
      <title>Re: boot error???</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/boot-error/m-p/2609353#M854056</link>
      <description>Hi Jon,&lt;BR /&gt;&lt;BR /&gt;Your rc was not successful so you are getting the command responding too rapidly.&lt;BR /&gt;&lt;BR /&gt;Your fstab entries tell that your logical volumes are of vxfs type except for /stand which is correctly an hfs.&lt;BR /&gt;&lt;BR /&gt;When you do fsck, instead of specifying /dev/rdsk/c0t6d0 (which is wrong), just do an fsck on each lv . You need to specify the fs type using -F option&lt;BR /&gt;&lt;BR /&gt;#fsck -F hfs /dev/vg00/lvol1&lt;BR /&gt;#fsck -F vxfs /dev/vg00/lvol3 and so on..&lt;BR /&gt;&lt;BR /&gt;See if your fsck comes out clean. If so, reboot the system to get it up. Otherwise, try booting from the alternate path and re-establish the mirrors.&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Wed, 07 Nov 2001 20:08:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/boot-error/m-p/2609353#M854056</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2001-11-07T20:08:54Z</dc:date>
    </item>
    <item>
      <title>Re: boot error???</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/boot-error/m-p/2609354#M854057</link>
      <description>My apologies about the fsck, mass quantities of DayQuil and&lt;BR /&gt;SinuTab have rendered me nearly comatose....&lt;BR /&gt;Anyway, I've got the box back to the respawn error.  I've got a sneaking suspicion that our openssh script is the culprit.&lt;BR /&gt;So, I'll start there and if it does'nt come around, well, &lt;BR /&gt;it's not production and I've got the install CD....&lt;BR /&gt;&lt;BR /&gt;My stuffy, sneezy thanks,&lt;BR /&gt;&lt;BR /&gt;Jon</description>
      <pubDate>Thu, 08 Nov 2001 12:50:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/boot-error/m-p/2609354#M854057</guid>
      <dc:creator>Jon Mattatall</dc:creator>
      <dc:date>2001-11-08T12:50:12Z</dc:date>
    </item>
  </channel>
</rss>

