cancel
Showing results for 
Search instead for 
Did you mean: 

Patch Installation Error

raiden
Regular Advisor

Patch Installation Error

While Installing 4 SCSI patches, following error was displayed. Please tell me how do i resolve this.

Error from swinstall.log

NOTE: Saving the current system file at "/stand/system" to
"/stand/system.prev"
ERROR: The extraction of a system file from "/stand/vmunix" failed.
Verify that "/stand/vmunix" is a properly built kernel file
before trying again.
The return value from "get_sysfile" was: 2
The "get_sysfile" command expects to find a system
file embedded in the kernel file "/stand/vmunix".
It is possible that the kernel was stripped by the administrator,
which is an unsupported action. Corruption in the kernel file
could also cause the failure. Use an already existing system
file if this extraction failure cannot be corrected.
NOTE: The previous system file has been replaced to "/stand/system".
ERROR: The command "/usr/lbin/sysadm/system_prep", which is used to
extract the system file from the kernel, has failed. Because
kernel filesets are selected for installation, this command
must be executed by "swinstall" without failures before
installation can continue.
NOTE: The Install Phase has suspended. Check the above output for
reasons.


* Aborting the Install Phase.
2 REPLIES
Sagar Sirdesai
Trusted Contributor

Re: Patch Installation Error

The error says there is some issue with your kernel file /stand/system
Before you apply the patch check if your kernel is ok.

1)cd /stan/build ; rm -r *
2)/usr/lbin/sysadm/system_prep -v -s /stand/build/system
3)mk_kernel -s /stand/build/system

if the above command is successfull.
BAckup all the durectories and files under /stand directory

cp /stand/system /system/system.orig
cp /stand/vmunix /stand/vmunix.orig
cp -r dlkm dlkm.orig

Then you can /stand/build/system file to /stand/system.

and then run kmupdate command and reboot.

Sagar

Johnson Punniyalingam
Honored Contributor

Re: Patch Installation Error

Hi Raiden,

>>>>NOTE: Saving the current system file at "/stand/system" to
"/stand/system.prev""/stand/system.prev"
ERROR: The extraction of a system file from "/stand/vmunix" failed.
Verify that "/stand/vmunix" is a properly built kernel file
before trying again.
<<<

You recive the above error while the Server automatically trying to backup your kernal. so we need try the work around method by manually backing up the kernal.

manual Procedures for Kernel Parameter changes
====================================
# cd /stand
# cp system system.prev.<050112>
# cp vmunix vmunix.prev.<050112>

by doing above steos if your server never bootups due to bad kernal, you can still point the old saved kernal and boot the server.

>>NOTE: The Install Phase has suspended. Check the above output for
reasons<<

You Need to look for latest SCSI patches for current HPUX version which you are currently running.

Thx,
Johnson
Problems are common to all, but attitude makes the difference