1847047 Members
5236 Online
110261 Solutions
New Discussion

Missing KRS files

 
Emeric
Advisor

Missing KRS files

Hello,

I just bought a second-hand HP i2000 workstation with HP-UX 11i v1.5 preloaded on hard disk. But at boot, I get the following error after loading a little:

/sbin/ioinitrc:
Kernel specific KRS file: /stand/krs/3CF249EC160.p0 was not loaded.
Kernel specific KRS file: /stand/krs/system.p0 was not loaded.
Kernel specific KRS file: /stand/krs/3CF249EC160.p1 was not loaded.
Kernel specific KRS file: /stand/krs/system.p1 was not loaded.

I was then given the choice to restore or not these file. Tried it but still the same problem.

I've looked in /stand/krs and effectively the 3CF249EC160.p? files are missing. What's wrong?

I know nothing about HP-UX (where are the find, vi or more commands for example). I have however some UNIX basic knowledge (already used Linux,
OPENSTEP and AIX).

Thank you.
2 REPLIES 2
James Murtagh
Honored Contributor

Re: Missing KRS files

Hi,

Welcome to HPUX!

KRS (Kernel Registry Services) allows the kernel to keep dynamically tuned parameters (no reboot required to change) to be persistant across reboots. These changes are wriiten to the filesystem in the /stand/krs directory. Obviously something has went wrong with your system.

I suspect a kernel rebuild will fix this:

# cd /stand/build
# /usr/lbin/sysadm/system_prep -s system
# mk_kernel -s system
# cp ../system ../system.prev
# cp system ../system
# kmupdate

If you then reboot the server (assuming no errors are encountered) hopefully you won't see the errors again. The fact it doesn't stop the boot suggests it is not too serious.

HPUX has a very similar directory structure to other versions of unix so for the "User" commands you should find them in the normal places (/usr/bin for the files you mentioned). You can try:

# whereis find
/usr/bin/find ...... ......

Also, check www.docs.hp.com for the HP documentation server. Apart from the Forum, it should be your first port of call for most problems or reference.

Regards,

James.
James Murtagh
Honored Contributor

Re: Missing KRS files

Hi again,

Just thought, the commands mk_kernel and kmupdate are located in /usr/sbin in case you can't find them! :)

Regards,

James.