- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- mk_kernel
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
Forums
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
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
11-05-2010 07:15 AM
11-05-2010 07:15 AM
mk_kernel
I have a script that build the kernel. Lately, when kmchkintfc is run, it reports an error indicating that "krm" is not a request id or printer.
# mk_kernel
Generating module: krm...
/usr/sbin/kmckintfc: "/usr/conf/master.d/krm" is not a request id or a printer
/usr/sbin/kmckintfc: "/stand/build/mod_wk.d/krm/mod.o" is not a request id or a printer
/usr/sbin/kmckintfc: "/stand/build/mod_wk.d/krm/_mod.o" is not a request id or a printer
usage : lpalt id [-ddest] [-m] [-nnumber] [-ooption]
[-ppriority] [-s] [-ttitle] [-w]
*** Error exit code 1
Any feedback on how this issue can be resolved?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-05-2010 07:32 AM
11-05-2010 07:32 AM
Re: mk_kernel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-05-2010 07:56 AM
11-05-2010 07:56 AM
Re: mk_kernel
here is a thread about it, not a good solution but, check it:
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=612001
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-05-2010 08:29 AM
11-05-2010 08:29 AM
Re: mk_kernel
I have gone through that thread, but did not help me I still get the same error.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-05-2010 12:52 PM
11-05-2010 12:52 PM
Re: mk_kernel
OR did you try a reboot ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-05-2010 01:40 PM
11-05-2010 01:40 PM
Re: mk_kernel
Do you have any env vars that contain lpalt?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-06-2010 12:11 AM
11-06-2010 12:11 AM
Re: mk_kernel
and the final test: do a tusc -f -s execve -o mk_kernel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-08-2010 08:10 AM
11-08-2010 08:10 AM
Re: mk_kernel
Hakki,
I do not have a backup of the system and I did try reboot, but it did not help.
Dennis,
I do have the lpalt command in /usr/bin directory when logged in as a root. I also have kmckintfc in /usr/bin. I do not have a lpalt as part of env.
I have also looked at Laurent's recommendation and I do not find anything is aliases and non are using lp commands.
I dont have the tusc tool on this system as the tool itself is non-standard.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-08-2010 12:22 PM
11-08-2010 12:22 PM
Re: mk_kernel
Did you do: env | grep lpalt
>I don't have the tusc tool on this system as the tool itself is non-standard.
Do you have any exceptions that kick in after N days of the workstation being useless?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-08-2010 12:36 PM
11-08-2010 12:36 PM
Re: mk_kernel
# env | grep lpalt
#
#
I also did not see any exceptions.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-08-2010 12:43 PM
11-08-2010 12:43 PM
Re: mk_kernel
Then you need to ask management for one.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2010 12:49 AM
11-09-2010 12:49 AM
Re: mk_kernel
In/usr/sbin/:
mv kmckintfc kmckintfc.orig
cp kmckintfc.orig kmckintfc
Change the first line to:
#!/sbin/sh -x
This script is using awk all over, so awk better be the official version and not one in /usr/local/bin/.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2010 06:40 AM
11-09-2010 06:40 AM
Re: mk_kernel
Dennis, the fine is an executable and not an script.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2010 07:14 AM
11-09-2010 07:14 AM
Re: mk_kernel
From one of my HP-UX 11.11 systems:
# cd /usr/sbin/
# ll kmckintfc
-r-xr-xr-x 1 bin bin 6033 Nov 14 2000 kmckintfc*
# file kmckintfc
kmckintfc: ascii text
Yes, the file has the execute bit set, but it is still just a script. If your file is any different, then it is non-standard.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2010 07:55 AM
11-09-2010 07:55 AM
Re: mk_kernel
# ll kmckintfc
-r-sr-xr-x 1 lp bin 40960 Jul 15 2006 kmckintfc
# file kmckintfc
kmckintfc: PA-RISC1.1 shared executable dynamically linked
# which kmckintfc
/usr/sbin/kmckintfc
#
# uname -a
HP-UX ottud050 B.11.11 U 9000/785 2006389503 unlimited-user license
#
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2010 08:24 AM
11-09-2010 08:24 AM
Re: mk_kernel
I am looking on my other HP-UX servers and I don't find a file that even closely resembles yours.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2010 08:28 AM
11-09-2010 08:28 AM
Re: mk_kernel
# what /usr/sbin/kmckintfc
That should tell us exactly what this file is and may indicate what happened.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2010 10:37 AM
11-09-2010 10:37 AM
Re: mk_kernel
/usr/sbin/kmckintfc:
cancel.c $Date: 2006/06/10 04:26:48 $Revision: r11.11/2 PATCH_11.11 (PHCO_34993)
fifo.c $Date: 2004/02/10 10:18:31 $Revision: r11.11/1 PATCH_11.11 (PHCO_30431)
outputq.c $Date: 2006/06/10 04:26:44 $Revision: r11.11/1 PATCH_11.11 (PHCO_34993)
pstatus.c $Date: 2006/05/09 05:24:03 $Revision: r11.11/1 PATCH_11.11 (PHCO_34822)
request.c $Date: 2002/07/24 07:56:42 $Revision: r11.11/2 PATCH_11.11 (PHCO_27020)
sendmail.c $Date: 2002/12/09 22:14:26 $Revision: r11.11/2 PATCH_11.11 (PHCO_28256)
common.c $Date: 2005/06/29 21:38:29 $Revision: r11.11/3 PATCH_11.11 (PHCO_33401)
mpstatus.c $Date: 2004/03/11 19:51:46 $Revision: r11.11/1 PATCH_11.11 (PHCO_30431)
$Revision: @(#) lp R11.11_BL2006_0715_2 PATCH_11.11 PHCO_34993
#
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2010 11:27 AM
11-09-2010 11:27 AM
Re: mk_kernel
There's the explanation!!!
Someone accidentally copied /usr/bin/cancel to /usr/sbin/kmckintfc.
If you look at the /usr/bin/cancel you will probably see that it has the exact same characteristics as your bad kmckintfc file.
Check your backups and see if you have the correct /usr/sbin/kmckintfc file that you can restore.
If not, do you have another HP-UX 11.11 system that you can copy this file from?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2010 12:25 PM
11-09-2010 12:25 PM
Re: mk_kernel
Ah, and since cancel is a hardlink, that's probably why it prints "/usr/sbin/kmckintf:" rather than "cancel:".
You may want to use "swverify \*" to see how many other files are messed up.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2010 12:53 PM
11-09-2010 12:53 PM
Re: mk_kernel
hmm.. ah... sigh... I am getting a core dump when running swverify..
# pwd
/
# swverify \*
Memory fault(coredump)
# file core
core: core file from 'swverify' - received SIGSEGV
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2010 12:58 PM
11-09-2010 12:58 PM
Re: mk_kernel
$ ll /usr/sbin/swverify ; file /usr/sbin/swverify
-r-sr-xr-x 11 root bin 2564096 Jun 2 2008 /usr/sbin/swverify
/usr/sbin/swverify: PA-RISC1.1 shared executable dynamically linked -not stripped
You might want to check your whole /usr/sbin/ directory.
A 'll /usr/sbin/' from one of my 11.11 systems is attached.