- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Error on kernel regen
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-10-2011 09:38 AM
09-10-2011 09:38 AM
Error while compiling kernel
Just had to reinstall 11.00 on a rp2470 box from scratch. The OS installed fine. However, upon trying to install any additional kernel patches or any package that needs a kernel re-compile, I get the following error:
NOTE: Building a new kernel based on template file "/stand/system"
config: error in opening file -- /usr/conf/master.d/krm
config failure.
I even tried replacing this file from the backups to see if it was corrupted in some way. Hasn't helped. Please advise.
Viraj Gadkari
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-10-2011 10:43 AM - edited 09-12-2011 05:52 AM
09-10-2011 10:43 AM - edited 09-12-2011 05:52 AM
Re: Error on kernel regen
>Just had to reinstall 11.00
(This version isn't supported.)
>error in opening file -- /usr/conf/master.d/krm
The file is there with the correct permissions on all of the component paths?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-10-2011 01:20 PM
09-10-2011 01:20 PM
Re: Error while compiling kernel
I know 11.00 isn't supported, but that's what I have & hence need to work on it.
I did check the permissions on the file path & compared it with a server with the same configurations & it's setup the same way. Following is how the permissions are:
drwxr-xr-x 25 bin bin 1024 Sep 9 02:43 /usr
dr-xr-xr-x 24 bin bin 1024 Sep 9 02:11 /usr/conf
dr-xr-xr-x 2 bin bin 2048 Sep 9 13:25 /usr/conf/master.d
-rw-r--r-- 1 root sys 956 Jul 12 2006 /usr/conf/master.d/krm
HP-UX fpkmgt01 B.11.00 U 9000/800 1820990626 unlimited-user license
The OS was installed with a March 2003 core OS CD & the March 2003 Support Tools pack was loaded after that.
Viraj Gadkari
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2011 01:27 PM
09-11-2011 01:27 PM
Re: Error while compiling kernel
It appears you may be having a problem with your EMS-KRMonitor kenerl modules.
1. Check if krm is installed:
# swlist -l product EMS-KRMonitor
# Initializing...
EMS-KRMonitor A.11.11.04 EMS Kernel Resource Monitor
2.# cd /etc/opt/resmon/lib/krm
# kminstall -a krm
This will put all the files in the correct location the files are:
subsystem code to /usr/conf/km.d/krm/mod.o
master file to /usr/conf/master.d/krm
system file to /stand/system.d/krm
3.Use kmsystem to check if the installation of the module was successful:
# kmsystem -q krm
Module Configured Loadable
=================================================
krm Y Y
4. Run # kmadmin -Q krm
to see what the status of the module is.... It should say "LOADED"
If the Module is not in the kernel you will need to rebuild the kernel and add the module:
# mk_kernel -M krm
NOTE: -->
Activated module(s) is(are) only available until system reboot.
# kmadmin -L krm
to load modules into a running kernel
kmadmin: Module krm loaded, ID = 1
If you are not using EMS just run
kminstall -d krm
This will remove the modules
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2011 05:05 PM
09-11-2011 05:05 PM
Re: Error while compiling kernel
Thank you for that! I re-searched & already tried that. It would still give me the same error at the 'mk_kernel -M krm' step. So I thought I'd try by just disabling this module altogether. I did a 'kminstall -d krm'.
Now, it gives the same error for other modules:
config: error in opening file -- /usr/conf/master.d/func0
So I think my problem is beyond just 'krm'. Something is screwed up on this system. Anything that doesn't need a kernel re-build, gets installed fine & wroks good. I am not even able to load any patches or modify any Static parameters.
Viraj Gadkari
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2011 05:29 AM
09-12-2011 05:29 AM
Re: Error while compiling kernel
@vdg1683 wrote:I am not even able to load any patches or modify any Static parameters.
What does 'swlist' return? Did you munge around in 'var/adm/sw' for any reason?
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2011 05:49 AM - edited 09-12-2011 05:53 AM
09-12-2011 05:49 AM - edited 09-12-2011 05:53 AM
Re: Error on kernel regen
>>I am not even able to load any patches or modify any Static parameters.
>Did you munge around in '/var/adm/sw' for any reason?
Or just that all of these changes need to do a kernel regen?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2011 06:10 AM
09-12-2011 06:10 AM
Re: Error on kernel regen
>>>>Just had to reinstall 11.00 on a rp2470 box from scratch.
>>>>I even tried replacing this file from the backups to see if it was corrupted in some way.
The kernel gen issue seems to be a symptom of a bigger issue.
You may want to review the 11.0 install procedures.
You mentioned replacing the krm file from backup , I am not sure of your back up tool or if the file was restored from an image from this systems backup of from another server. How and what you restored maybe the issue.
Not knowing the above makes it hard to pinpoint the true issue.
Cold Install the OS add the apps and then patch.
When patching be sure options are "manage patch selection" and "match what target has" are selected.
To minimize error use the TUI by running swinstall without options.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2011 06:54 AM
09-13-2011 06:54 AM
Re: Error on kernel regen
Nothing was done in /var/adm/sw
Viraj Gadkari