1848076 Members
7256 Online
104022 Solutions
New Discussion

HP-UX 11.23 Not Booting

 
Bejoy C Alias
Respected Contributor

HP-UX 11.23 Not Booting

Somehow the kernel got deleted from the machine, no backups are available. Booted with the 11.23 install DVD and created a new kernel using the system file in the /stand/last_install directory. Now the machine is booting into single user mode always , but if i do a 'init 3' from single user mode , it comes up without any pblm and all the services are coming up. It seems the krs files are corrupted , how can i recover or recreate it.?

Loaded ACPI revision 2.0 tables.
krs_read_mfs: The system.krs file was not found.
krs_read_mfs: The system.krs.lkg file was corrupt.
WARNING: GIO: read_ioconfig_file(): /stand/ioconfig read error.
ioconfig = NULL
NOTICE: cachefs_link(): File system was registered at index 5.
NOTICE: nfs3_link(): File system was registered at index 8.
NOTICE: mod_fs_reg: Cannot retrieve configured loading phase from KRS for module: cifs. Setting to load at INIT

NOTICE: USB device attached. Identification String:
Devices/Device/USB/Standard/Avocent/Unknown/1_0
<2.1.3.10.1572.512.256>
NOTICE: USB device attached. Identification String:
Devices/Keyboard/USB/Boot/Avocent/Unknown/1_0
<2.305.3.100.1572.512.256>
NOTICE: USB device attached. Identification String:
Devices/Mouse/USB/Boot/Avocent/Unknown/1_0
<2.307.3.100.1572.512.256>
Boot device's HP-UX HW path is: 0/1/1/0.0.0
igelan1: INITIALIZING HP PCI 1000Base-T Core at hardware path 0/1/2/0

System Console is on the Built-In Serial Interface
Logical volume 64, 0x3 configured as ROOT
Logical volume 64, 0x2 configured as SWAP
Logical volume 64, 0x2 configured as DUMP
Swap device table: (start & size given in 512-byte blocks)
entry 0 - major is 64, minor is 0x2; start = 0, size = 8388608
Warning: file system time later than time-of-day register

Getting time from file system
Starting the STREAMS daemons-phase 1
Checking root file system.
file system is clean - log replay is not required
Root check done.
Create STCP device files
Starting the STREAMS daemons-phase 2
$Revision: vmunix: B11.23_LR FLAVOR=perf Fri Aug 29 22:35:38 PDT 2003 $
Memory Information:
physical page size = 4096 bytes, logical page size = 4096 bytes
Physical: 2089092 Kbytes, lockable: 1334868 Kbytes, available: 1559168 Kbytes

/sbin/ioinitrc:
/dev/vg00/lvol1:file system is clean - log replay is not required
/sbin/krs_sysinit:
Can't get file name.
Can't get file name.
* The module 'dmphdsalua' has been loaded.
* The module 'dmphpalua' has been loaded.
* The module 'dmpjbod' has been loaded.
* The module 'dmpapf' has been loaded.
* The module 'dmpapg' has been loaded.
* The module 'dmpap' has been loaded.
* The module 'dmpaaa' has been loaded.
* The module 'dmpaa' has been loaded.
* The module 'fdd' has been loaded.
* The module 'rng' has been loaded.
WARNING: The system-global kernel registry database could not be found
by the boot loader, but it does exist on disk. This indicates
a boot loader or boot file system link problem. The file will
be saved at /stand/krs/system.krs.4662aef9 since the original
file will be overwritten.
KRS System file: /stand/krs/system.krs was not loaded.

The primary KRS file(s) listed above were not loaded,
as noted in the messages above.
The system will boot into single user mode.
To recover from this situation, please reboot onto a saved
kernel configuration, such as 'backup'.

Entering single user mode now...

insf: Installing special files for sctl instance 0 address 0/0/2/0.0.7.0
insf: Installing special files for sctl instance 1 address 0/0/2/0.1.7.0
insf: Installing special files for sdisk instance 0 address 0/1/1/0.0.0
insf: Installing special files for sdisk instance 1 address 0/1/1/0.1.0
insf: Installing special files for sctl instance 2 address 0/1/1/0.7.0
insf: Installing special files for sdisk instance 2 address 0/1/1/1.6.0
insf: Installing special files for sctl instance 3 address 0/1/1/1.7.0
insf: Installing special files for asio0 instance 0 address 0/6/1/0
insf: Installing special files for asio0 instance 1 address 0/6/1/1
insf: Installing special files for ipmi instance 0 address 250/0
insf: Installing special files for asio0 instance 2 address 250/1
insf: Installing special files for asio0 instance 3 address 250/2


INIT: Overriding default level with level 's'

INIT: SINGLE USER MODE

INIT: Running /sbin/sh
#
Be Always Joy ......
4 REPLIES 4
Steven E. Protter
Exalted Contributor

Re: HP-UX 11.23 Not Booting

Shalom,

Standard has the previous kernel as /stand/vmunix_prev

Now that you are in single user mode cd /stand

cp one of the previous kernels if any to vmuninx and reboot.

If there is no kernel, boot of original OS media and copy the default kernel from there to /stand/vmunix

Then you can rebuild. Hopefully there is enough information to use sam to regenerate your kernel based on the system file that is present.

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
Sameer_Nirmal
Honored Contributor

Re: HP-UX 11.23 Not Booting

Like mentioned in the messages, did you try to boot up the server with "backup" configuration?

HPUX> boot backup

Rasheed Tamton
Honored Contributor

Re: HP-UX 11.23 Not Booting

man krsd

/stand/krs_lkg/*
Last known good KRS files.


Do not you have by any chance any old ignite tape somewhere.
Bejoy C Alias
Respected Contributor

Re: HP-UX 11.23 Not Booting

Hi All , i dont have any backup of any working kernel :( . So I want to create new kernel after booting through cd/dvd. I booted the system with DVD1 and imported root vg from the recovery shell, chrooted to the mounted original root, created a new kernel using the last_install system file. But its also throwing the same error.

Is there anyway to create a new kernel if the entire /stand is empty ?
Be Always Joy ......