<?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: Exec failed: Exec format error in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/exec-failed-exec-format-error/m-p/5995659#M493825</link>
    <description>&lt;P&gt;To Resolve That:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Verify that the mirrored disk is displayed as a boot disk and that the boot, root, and swap logical&lt;BR /&gt;volumes appear on both disks:&lt;BR /&gt;# lvlnboot –v&amp;nbsp;&lt;/P&gt;&lt;P&gt;Verify that the disk that you want to booted with is not specified in /stand/bootconf or not set as primary:&lt;/P&gt;&lt;P&gt;#cat /stand/vmunix&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Specify the&amp;nbsp;pripmary disk boot path in nonvolatile memory:&lt;BR /&gt;# setboot –p 0/1/1/0.1.0&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;To add a line to /stand/bootconf for the new boot disk, use vi or another text editor :&lt;/P&gt;&lt;P&gt;#vi /stand/bootconf&lt;BR /&gt;l /dev/dsk/c2t1d0s2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;HP Manual (-When Good Disk Go Bad):&lt;/P&gt;&lt;P&gt;&lt;A target="_blank" href="http://bizsupport2.austin.hp.com/bc/docs/support/SupportManual/c01911837/c01911837.pdf"&gt;http://bizsupport2.austin.hp.com/bc/docs/support/SupportManual/c01911837/c01911837.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Good Luck,&lt;/P&gt;</description>
    <pubDate>Thu, 14 Mar 2013 13:50:20 GMT</pubDate>
    <dc:creator>boukari</dc:creator>
    <dc:date>2013-03-14T13:50:20Z</dc:date>
    <item>
      <title>Exec failed: Exec format error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/exec-failed-exec-format-error/m-p/5995585#M493822</link>
      <description>&lt;P&gt;After mirror disk boot failure on HP-UX V1 PARISC, I follow the procedure below:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1-Unfortunately I had to restart the server&lt;/P&gt;&lt;P&gt;2- Then replaced the bad disk&lt;/P&gt;&lt;P&gt;3- vgcfgrestore -n /dev/vg00 /dev/rdsk/cxtxdx&lt;BR /&gt;4-mkboot /dev/rdsk/cxtxdx&lt;BR /&gt;5-mkboot -a "hpux -lq (;0) /stand/vmunix" /dev/rdsk/cxtxdx&lt;BR /&gt;6- vgchange -a y /dev/vg00&lt;BR /&gt;7-lvlnboot -Rv /dev/vg00&lt;BR /&gt;8-vgsync /dev/vg00&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After that when I try to boot from the disk that I replaced I receveid the error (Exec failed: Exec format error), and stop on "ISL prompt" if I put "hpux" I can start the HP-UX normally.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I did wrong on my procedure? How can I fix it and boot normally from the both disks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Mar 2013 13:12:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/exec-failed-exec-format-error/m-p/5995585#M493822</guid>
      <dc:creator>Vitorxx</dc:creator>
      <dc:date>2013-03-14T13:12:07Z</dc:date>
    </item>
    <item>
      <title>Re: Exec failed: Exec format error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/exec-failed-exec-format-error/m-p/5995619#M493823</link>
      <description>&lt;P&gt;Given that you can type “hpux” and this secondary boot loader calls and execs /stand/vmunix successfully, the problem is your auto file and your hpux syntax.. calling disc (;0).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There is no need to call out the disc parameter – even still, if you type HPUX it should show you the correct disc(path;partition).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do the following:&lt;/P&gt;&lt;P&gt;/usr/sbin/mkboot -a "hpux -lq /stand/vmunix" /dev/rdsk/cXtXdX&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Make sure to updated the bootconf with the new disk (if it has a new device name!)&lt;/P&gt;&lt;P&gt;# cat /stand/bootconf&amp;nbsp;&lt;/P&gt;&lt;P&gt;If it is missing the disc, update the file&lt;/P&gt;&lt;P&gt;# echo "1 /dev/dsk/cXtXdX" &amp;gt;&amp;gt; /stand/bootconf&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;#Confirm that LVM BDRA has been updated&lt;/P&gt;&lt;P&gt;/usr/sbin/lvlnboot -b /dev/$DG/lvol1&lt;/P&gt;&lt;P&gt;/usr/sbin/lvlnboot -r /dev/$DG/lvol3&lt;/P&gt;&lt;P&gt;/usr/sbin/lvlnboot -s /dev/$DG/lvol2&lt;/P&gt;&lt;P&gt;/usr/sbin/lvlnboot -d /dev/$DG/lvol2&lt;/P&gt;&lt;P&gt;/usr/sbin/lvlnboot -R /dev/$DG&lt;/P&gt;</description>
      <pubDate>Thu, 14 Mar 2013 13:27:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/exec-failed-exec-format-error/m-p/5995619#M493823</guid>
      <dc:creator>ChrisTinker</dc:creator>
      <dc:date>2013-03-14T13:27:26Z</dc:date>
    </item>
    <item>
      <title>Re: Exec failed: Exec format error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/exec-failed-exec-format-error/m-p/5995639#M493824</link>
      <description>&lt;P&gt;&lt;FONT face="andale mono,times"&gt;Hello,&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="andale mono,times"&gt;In normal conditions you have just to do that with mirrored root disk:&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="andale mono,times"&gt;&lt;SPAN&gt;vgcfgrestore -n /dev/vgXX /dev/rdsk/cxtxdx&lt;/SPAN&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="andale mono,times"&gt;&lt;SPAN&gt;vgchange -a y /dev/vgXX&lt;/SPAN&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="andale mono,times"&gt;&lt;SPAN&gt;vgsync /dev/vgXX&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="andale mono,times"&gt;&lt;SPAN&gt;take a look here :&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="andale mono,times"&gt;&lt;SPAN&gt;&lt;A target="_blank" href="http://www.datadisk.co.uk/html_docs/hp/hpux_lvm.htm"&gt;http://www.datadisk.co.uk/html_docs/hp/hpux_lvm.htm&lt;/A&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="andale mono,times"&gt;So, you do :&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="andale mono,times"&gt;4-mkboot /dev/rdsk/cxtxdx&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="andale mono,times"&gt;5-mkboot -a "hpux -lq (;0) /stand/vmunix" /dev/rdsk/cxtxdx&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="andale mono,times"&gt;and &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="andale mono,times"&gt;7-lvlnboot -Rv /dev/vg00&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="andale mono,times"&gt;as extra commands&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Mar 2013 13:37:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/exec-failed-exec-format-error/m-p/5995639#M493824</guid>
      <dc:creator>boukari</dc:creator>
      <dc:date>2013-03-14T13:37:45Z</dc:date>
    </item>
    <item>
      <title>Re: Exec failed: Exec format error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/exec-failed-exec-format-error/m-p/5995659#M493825</link>
      <description>&lt;P&gt;To Resolve That:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Verify that the mirrored disk is displayed as a boot disk and that the boot, root, and swap logical&lt;BR /&gt;volumes appear on both disks:&lt;BR /&gt;# lvlnboot –v&amp;nbsp;&lt;/P&gt;&lt;P&gt;Verify that the disk that you want to booted with is not specified in /stand/bootconf or not set as primary:&lt;/P&gt;&lt;P&gt;#cat /stand/vmunix&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Specify the&amp;nbsp;pripmary disk boot path in nonvolatile memory:&lt;BR /&gt;# setboot –p 0/1/1/0.1.0&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;To add a line to /stand/bootconf for the new boot disk, use vi or another text editor :&lt;/P&gt;&lt;P&gt;#vi /stand/bootconf&lt;BR /&gt;l /dev/dsk/c2t1d0s2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;HP Manual (-When Good Disk Go Bad):&lt;/P&gt;&lt;P&gt;&lt;A target="_blank" href="http://bizsupport2.austin.hp.com/bc/docs/support/SupportManual/c01911837/c01911837.pdf"&gt;http://bizsupport2.austin.hp.com/bc/docs/support/SupportManual/c01911837/c01911837.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Good Luck,&lt;/P&gt;</description>
      <pubDate>Thu, 14 Mar 2013 13:50:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/exec-failed-exec-format-error/m-p/5995659#M493825</guid>
      <dc:creator>boukari</dc:creator>
      <dc:date>2013-03-14T13:50:20Z</dc:date>
    </item>
    <item>
      <title>Re: Exec failed: Exec format error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/exec-failed-exec-format-error/m-p/5995755#M493826</link>
      <description>Thank you Guys.&lt;BR /&gt;The problem was in "/stand/bootconf" I followed the procedure.&lt;BR /&gt;&lt;BR /&gt;# echo "1 /dev/dsk/cXtXdX" &amp;gt;&amp;gt; /stand/bootconf&lt;BR /&gt;&lt;BR /&gt;#Confirm that LVM BDRA has been updated&lt;BR /&gt;&lt;BR /&gt;/usr/sbin/lvlnboot -b /dev/$DG/lvol1&lt;BR /&gt;&lt;BR /&gt;/usr/sbin/lvlnboot -r /dev/$DG/lvol3&lt;BR /&gt;&lt;BR /&gt;/usr/sbin/lvlnboot -s /dev/$DG/lvol2&lt;BR /&gt;&lt;BR /&gt;/usr/sbin/lvlnboot -d /dev/$DG/lvol2&lt;BR /&gt;&lt;BR /&gt;/usr/sbin/lvlnboot -R /dev/$DG&lt;BR /&gt;&lt;BR /&gt;Thank You!!! Have a great day!&lt;BR /&gt;</description>
      <pubDate>Thu, 14 Mar 2013 14:32:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/exec-failed-exec-format-error/m-p/5995755#M493826</guid>
      <dc:creator>Vitorxx</dc:creator>
      <dc:date>2013-03-14T14:32:53Z</dc:date>
    </item>
  </channel>
</rss>

