Operating System - HP-UX
1834756 Members
3479 Online
110070 Solutions
New Discussion

Re: /usr/lbin/sysadm/system_prep fails on 11.23

 
Rainer von Bongartz
Honored Contributor

/usr/lbin/sysadm/system_prep fails on 11.23


Trying to install an SW filesets which rebuilds the kernel I get the following error


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.

Running system_prep outside swinstall give the error


# /usr/lbin/sysadm/system_prep
ERROR: Unable to read title of running configuration: KRS error code 2
ERROR: The extraction of a system file from "/stand/vmunix" failed.
Verify that "/stand/vmunix" is a properly built kernel file
before trying again.

/stand/vmunix boots fine and is correctly linked to /stand/current/vmunix


Any help on this topis is welcome

Regards
Rainer


He's a real UNIX Man, sitting in his UNIX LAN making all his UNIX plans for nobody ...
2 REPLIES 2
Steve Steel
Honored Contributor

Re: /usr/lbin/sysadm/system_prep fails on 11.23

Hi


They changed some stuff on 11.23

What you see indicates that there ae problems with the /stand/current/krs/* file .


You cannot use it


The best solution is to reboot from the previous setup

Reboot
interrupt the boot process
at the HPUX> prompt,then type:
HPUX> boot last_install



Steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)
Rainer von Bongartz
Honored Contributor

Re: /usr/lbin/sysadm/system_prep fails on 11.23

Steve,

Problem is that this box was updated from 11.11 to 11.23

kconfig -v only gives

# kconfig -v
Configuration hpux_test
Title
Save Time Fri Mar 11 13:46:04 2005
Modify Time Fri Mar 11 13:46:04 2005
Kernel Path /stand/hpux_test/vmunix


BUT: there is a /stand/current which is exactly a copy /stand/hpux_test and a /stand/vmunix which is hard linkes to /stand/current/vmunix.

I don't know too much about 11.23 and kconfig but I expected kconfig -v to report something like

Configuration current
Title
Save Time Fri Mar 11 13:46:04 2005
Modify Time Fri Mar 11 13:46:04 2005
Kernel Path /stand/current/vmunix

Right ??

Regards
Rainer


He's a real UNIX Man, sitting in his UNIX LAN making all his UNIX plans for nobody ...