1834403 Members
2787 Online
110067 Solutions
New Discussion

"Exec failed"

 
SOLVED
Go to solution
Gerard Powell
Advisor

"Exec failed"

We had a UPS Failure here and one of our Servers (HP 9000 / model L2000) failed to boot.
The error I get is "exec failed"

I am able to boot the system with the prev kernel:

"hpux -is /stand/vmunix.prev" and then I did a "init 3" to go to multiuser mode.

I restored the /stand/vmunix file from my previous full backup and boot the system, but still I get the same error "Exec failed"

Is there any chance I can solve this problem and make the machine boot normally.

Any ideas would be gratefully received.
5 REPLIES 5
Peter Nikitka
Honored Contributor

Re: "Exec failed"

Hi,

easiest way seems to re-genereate the kernel:
- boot with vmunix.prev
- create a backup vmunix.prev -> vmunix.worked
- start SAM, create a new kernel (this one would be the same before the corruption)
- let the kernel be moved into it place an reboot

If the reboot fails, you have vmunix.worked for another try...

mfG Peter
The Universe is a pretty big place, it's bigger than anything anyone has ever dreamed of before. So if it's just us, seems like an awful waste of space, right? Jodie Foster in "Contact"
Steven E. Protter
Exalted Contributor

Re: "Exec failed"

Shalom,

I would try and generate a new kernel for the system based on the existing system file.

If you prefer sam, change a meaningless non-dynamic kernel parameter and use the menu system to generate a new kernel and boot.

Otherwise simply generate and move a new kernel to production and boot.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Gerard Powell
Advisor

Re: "Exec failed"

When I use SAM and select kernel configuration->Configurable Parameters
I get the below error msg: Pl advise.

Internal error: The kernel discovery tool used by SAM failed.
Kernel changes cannot be made by SAM. The standard error output of the command is shown below:

getkinfo: Unable to read the kernel file "/stand/vmunix".
Peter Nikitka
Honored Contributor
Solution

Re: "Exec failed"

Hi,

copy your cmunix.prev to vmunix:
cp -p /stand/vmunix.prev /stand/vmunix

mfG Peter
The Universe is a pretty big place, it's bigger than anything anyone has ever dreamed of before. So if it's just us, seems like an awful waste of space, right? Jodie Foster in "Contact"
Gerard Powell
Advisor

Re: "Exec failed"

Mr. MFG Peter,

Thank you very much, this forum really helps!