Sponsored Content
Operating Systems HP-UX mk_kernel : "dev_config" error (hpux 11.23) Post 302520340 by msgameng on Friday 6th of May 2011 12:56:59 PM
Old 05-06-2011
Thanks to ITRC
Just got this error fixed and I wanted to share this info to everybody:
What FIX it?
Running update-ux in preview mode and NOT saving anything when you exit. :-)
update-ux installs OE executables temporarily in:
/var/adm/sw/sbin
/var/adm/sw/lbin
/usr/lbin/sw/bin
links the following executable files in /usr/sbin to /usr/adm/sw/sbin
-----------
sd
swacl
swagentd
swconfig
swcopy
swinstall
swjob
swlist
swmodify
swpackage
swreg
swremove
swverify
------------
update-ux cleans up its trashes when you exit without saving anything :-)
This command below helped in tracing out the culprit "kconfig" in /usr/lbin/sw/bin when I ran mk_kernel
# ./tusc –o hp.txt mk_kernel –v –s /stand/system
grep kconfig hp.txt
---------------
stat("/usr/lbin/sw/bin/kconfig", 0x7fffe230) .......................................................................................... = 0
---------------
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Explain the line "mn_code=`env|grep "..mn"|awk -F"=" '{print $2}'`"

Hi Friends, Can any of you explain me about the below line of code? mn_code=`env|grep "..mn"|awk -F"=" '{print $2}'` Im not able to understand, what exactly it is doing :confused: Any help would be useful for me. Lokesha (4 Replies)
Discussion started by: Lokesha
4 Replies

2. HP-UX

ERROR: more than one instance of overloaded function "vprintf" has "C" linkage

Hi people! I've got this own library: -------------------------------------------- Personal.h -------------------------------------------- #ifdef __cplusplus extern "C" { #endif #include <stdio.h> #include <stdarg.h> #include <string.h> ... (0 Replies)
Discussion started by: donatoll
0 Replies

3. Infrastructure Monitoring

HPUX net-SNMP interpreter "/bin/perl" not found

I am trying to install net-snmp on an HPUX box. I am getting the fallowing error message when I try to run the snmpconf file. I installed the fallowing version of net-snmp net-snmp-5.0.10.2-HP-UX_B.11.11_9000_800.tar and my HPUX box is version HP-UX commnms B.11.11 U 9000/800... (2 Replies)
Discussion started by: krisarmstrong
2 Replies

4. Shell Programming and Scripting

awk command to replace ";" with "|" and ""|" at diferent places in line of file

Hi, I have line in input file as below: 3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL My expected output for line in the file must be : "1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL" Can someone... (7 Replies)
Discussion started by: shis100
7 Replies

5. UNIX for Dummies Questions & Answers

Unix "look" Command "File too large" Error Message

I am trying to find lines in a text file larger than 3 Gb that start with a given string. My command looks like this: $ look "string" "/home/patrick/filename.txt" However, this gives me the following message: "look: /home/patrick/filename.txt: File too large" So, I have two... (14 Replies)
Discussion started by: shishong
14 Replies

6. Shell Programming and Scripting

HPUX "bdf" , "%" align to right side.

Hi All, Need you help. I have HPUX “bdf” output, I need % to be align to right side. if you see there are long file systems lv so i cant do column formatting. Any idea or best way to align the "%" to be right side. /dev/emcvg02/lv01 52428800 29931 49123947 0% /abc/disco/iasbin... (7 Replies)
Discussion started by: ashanabey
7 Replies

7. UNIX for Dummies Questions & Answers

Using "mailx" command to read "to" and "cc" email addreses from input file

How to use "mailx" command to do e-mail reading the input file containing email address, where column 1 has name and column 2 containing “To” e-mail address and column 3 contains “cc” e-mail address to include with same email. Sample input file, email.txt Below is an sample code where... (2 Replies)
Discussion started by: asjaiswal
2 Replies

8. Shell Programming and Scripting

Bash script - Print an ascii file using specific font "Latin Modern Mono 12" "regular" "9"

Hello. System : opensuse leap 42.3 I have a bash script that build a text file. I would like the last command doing : print_cmd -o page-left=43 -o page-right=22 -o page-top=28 -o page-bottom=43 -o font=LatinModernMono12:regular:9 some_file.txt where : print_cmd ::= some printing... (1 Reply)
Discussion started by: jcdole
1 Replies

9. AIX

Apache 2.4 directory cannot display "Last modified" "Size" "Description"

Hi 2 all, i have had AIX 7.2 :/# /usr/IBMAHS/bin/apachectl -v Server version: Apache/2.4.12 (Unix) Server built: May 25 2015 04:58:27 :/#:/# /usr/IBMAHS/bin/apachectl -M Loaded Modules: core_module (static) so_module (static) http_module (static) mpm_worker_module (static) ... (3 Replies)
Discussion started by: penchev
3 Replies
mk_kernel(1M)															     mk_kernel(1M)

NAME
mk_kernel - load a kernel configuration from a system file SYNOPSIS
path_name] system_file] DESCRIPTION
reads configuration information from the system file (see system(4)) and applies those changes to a kernel configuration (see kconfig(5)). performs a function similar to that of but has some semantic differences in order to preserve compatibility with previous releases. will build a new kernel executable only if needed to effect the requested changes. may reuse existing kernel executables when possible. Options recognizes the following options. Specify the target kernel path. If the target kernel path specified is changes are applied to the currently running kernel configuration. They will take effect immediately if possible; otherwise, they will take effect at next boot. If the target kernel path specified is of the form changes are applied to the saved kernel configuration named config. The changes will not take effect at next boot unless that saved kernel configuration was already marked for use at next boot. If the target kernel name is a single word containing no slashes, that name is used as the name of a saved kernel configuration. The changes are applied to that saved kernel configuration. The changes will not take effect at next boot unless that saved ker- nel configuration was already marked for use at next boot. If the target kernel path is not one of the forms specified above, then exits with an error. Other locations for kernel exe- cutable files are no longer supported. If the option is not specified, the changes are applied to the kernel configuration called The changes will not take effect at next boot unless that kernel configuration was already marked for use at next boot. Specify the HP-UX system description file. If this option is not specified, the system file is used. For details see system(4). Verbose mode. (Has no effect; retained for backward compatibility.) RETURN VALUE
returns 0 upon normal completion; it returns 1 if an error occurred. DIAGNOSTICS
Messages and warnings are sent to Messages from and other commands are displayed when invoked from Errors cause to halt immediately; warn- ings allow the program to continue. EXAMPLES
Uses the default HP-UX system description file The changes are applied to the currently running kernel configuration, marked to take effect at next boot. Uses the system description file Uses the system description file The changes are applied to the saved kernel configuration called WARNINGS
Do not manually modify the contents of the kernel configuration directories. FILES
Default HP-UX system description file SEE ALSO
kconfig(1M), system(4), kconfig(5). mk_kernel(1M)
All times are GMT -4. The time now is 07:16 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy