- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Exec failed: Exec format error
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-14-2013 06:12 AM
03-14-2013 06:12 AM
After mirror disk boot failure on HP-UX V1 PARISC, I follow the procedure below:
1-Unfortunately I had to restart the server
2- Then replaced the bad disk
3- vgcfgrestore -n /dev/vg00 /dev/rdsk/cxtxdx
4-mkboot /dev/rdsk/cxtxdx
5-mkboot -a "hpux -lq (;0) /stand/vmunix" /dev/rdsk/cxtxdx
6- vgchange -a y /dev/vg00
7-lvlnboot -Rv /dev/vg00
8-vgsync /dev/vg00
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.
What I did wrong on my procedure? How can I fix it and boot normally from the both disks.
Thanks.
Solved! Go to Solution.
- Tags:
- lvlnboot
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-14-2013 06:27 AM
03-14-2013 06:27 AM
SolutionGiven 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).
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).
Do the following:
/usr/sbin/mkboot -a "hpux -lq /stand/vmunix" /dev/rdsk/cXtXdX
Make sure to updated the bootconf with the new disk (if it has a new device name!)
# cat /stand/bootconf
If it is missing the disc, update the file
# echo "1 /dev/dsk/cXtXdX" >> /stand/bootconf
#Confirm that LVM BDRA has been updated
/usr/sbin/lvlnboot -b /dev/$DG/lvol1
/usr/sbin/lvlnboot -r /dev/$DG/lvol3
/usr/sbin/lvlnboot -s /dev/$DG/lvol2
/usr/sbin/lvlnboot -d /dev/$DG/lvol2
/usr/sbin/lvlnboot -R /dev/$DG
Twitter/FaceBook My twin brother and I @TinkerTwinsatHP
Our Blogs are at http://h30507.www3.hp.com/t5/Technical-Support-Services-Blog/bg-p/TechnicalSupportServicesBlog
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-14-2013 06:37 AM
03-14-2013 06:37 AM
Re: Exec failed: Exec format error
Hello,
In normal conditions you have just to do that with mirrored root disk:
vgcfgrestore -n /dev/vgXX /dev/rdsk/cxtxdx
vgchange -a y /dev/vgXX
vgsync /dev/vgXX
take a look here :
http://www.datadisk.co.uk/html_docs/hp/hpux_lvm.htm
So, you do :
4-mkboot /dev/rdsk/cxtxdx
5-mkboot -a "hpux -lq (;0) /stand/vmunix" /dev/rdsk/cxtxdx
and
7-lvlnboot -Rv /dev/vg00
as extra commands
IEEE Student Member
LPI 3 CORE & High Availability
VCP Vshpere 5 Datacenter
Novell CLA and Data Center specialist Certified
.....
Microsoft Partner & Microsoft student Partner
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-14-2013 06:50 AM
03-14-2013 06:50 AM
Re: Exec failed: Exec format error
To Resolve That:
Verify that the mirrored disk is displayed as a boot disk and that the boot, root, and swap logical
volumes appear on both disks:
# lvlnboot –v
Verify that the disk that you want to booted with is not specified in /stand/bootconf or not set as primary:
#cat /stand/vmunix
Specify the pripmary disk boot path in nonvolatile memory:
# setboot –p 0/1/1/0.1.0
To add a line to /stand/bootconf for the new boot disk, use vi or another text editor :
#vi /stand/bootconf
l /dev/dsk/c2t1d0s2
HP Manual (-When Good Disk Go Bad):
http://bizsupport2.austin.hp.com/bc/docs/support/SupportManual/c01911837/c01911837.pdf
Good Luck,
IEEE Student Member
LPI 3 CORE & High Availability
VCP Vshpere 5 Datacenter
Novell CLA and Data Center specialist Certified
.....
Microsoft Partner & Microsoft student Partner
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-14-2013 07:32 AM
03-14-2013 07:32 AM
Re: Exec failed: Exec format error
The problem was in "/stand/bootconf" I followed the procedure.
# echo "1 /dev/dsk/cXtXdX" >> /stand/bootconf
#Confirm that LVM BDRA has been updated
/usr/sbin/lvlnboot -b /dev/$DG/lvol1
/usr/sbin/lvlnboot -r /dev/$DG/lvol3
/usr/sbin/lvlnboot -s /dev/$DG/lvol2
/usr/sbin/lvlnboot -d /dev/$DG/lvol2
/usr/sbin/lvlnboot -R /dev/$DG
Thank You!!! Have a great day!