Operating System - HP-UX
1826325 Members
3459 Online
109692 Solutions
New Discussion

error getting while installing patch.

 
varian_1
Advisor

error getting while installing patch.

Hi,

I am getting following error while installing patch on my HP-UX 11.0 server.

moon>/usr/sbin/mk_kernel
Compiling /stand/build/conf.c...
Loading the kernel...
ld: Unsatisfied symbol "mlock_valid_args" in file /usr/conf/lib/libhp-ux.a[vm_cl
ic.o]
ld: Unsatisfied symbol "pwrite" in file /usr/conf/lib/libhp-ux.a[scall_stubs.o]
ld: Unsatisfied symbol "pread" in file /usr/conf/lib/libhp-ux.a[scall_stubs.o]
3 errors.
*** Error exit code 1

Stop.
config: make did an exit(1)

Thanks & Regards

Walter Crasto
7 REPLIES 7
Steven E. Protter
Exalted Contributor

Re: error getting while installing patch.

You have possible problems with your system file in /stand

You may need to restore the /stand filesystem.

Make sure there is enough space in it to build a new kernel.

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
varian_1
Advisor

Re: error getting while installing patch.

Hi,
Thanks for your reply ....

My vmunix & system files in /stand are as below, Please let me know how to use those files. I don't have any backup files for /stand.

/stand has enough space.



# ls -la vm*
-rwxr-xr-x 1 root sys 12965936 Apr 5 13:52 vmunix
-rwxr-xr-x 1 root sys 12965936 Apr 26 19:16 vmunix.org

# ls -la sys*
-r--r--r-- 1 root sys 1384 Apr 5 19:41 system
-r--r--r-- 1 root sys 1388 Apr 27 10:10 system.org
-r--r--r-- 1 root sys 1384 Apr 5 19:41 system.prev


Regards

Walter
Bharat Katkar
Honored Contributor

Re: error getting while installing patch.

Hi,
Try renaming your existig System file with other name and restore .org file back as system and then see if it works:
# mv system system.crasto
# mv system.org system

if this work then there is something wrong in your system.crasto, edit it and try to locate the problem.

Repeat the procedure again for your system.crasto
You need to know a lot to actually know how little you know
Robert-Jan Goossens
Honored Contributor

Re: error getting while installing patch.

Hi Walter,

Check this doc.

ld: Unsatisfied symbol "mlock_valid_args";lock_claim;lock_disown DocId: KBRC00012218

Europe
http://www4.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000072570328

US
http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000072570328

HTH,
Robert-Jan
varian_1
Advisor

Re: error getting while installing patch.

Hi All,

Thanks for your reply .....

I tried replacing system file with system.org file & also tried to install following two patches
1)PHKL_28180
2)PHKL_18543

3) PHKL_21850 -> This patch I am not able to find on HP site.

But still I am geting same error while building kernel & patch installation gets suspended.

Thanks & Regards
Walter Crasto
Daxa Patel
Occasional Advisor

Re: error getting while installing patch.

Hi,

Sounds like the issue may be due a reinstall of PHKL_18543 which is the "Line In The Sand" LITS patch .

See ITRC doc :
KBRC00006788: unsatisified symbols: pread pwrite mlock_valid_args
KBRC00006852 : How to recover after a force install of the LITS patch 10.X/11.X

Ensure you have the latest check_patches utility delivered via patch PHCO_27779 before running check_patches ..

Try and determine whether PHKL_18543 has been reinstalled by reviewing the /var/adm/sw/swagent.log .

Ensure you have a good Ignite recovery tape or make_net_recovery archive at hand should the system be unrecoverable .

Regards,
Daxa
Robert-Jan Goossens
Honored Contributor

Re: error getting while installing patch.

Hi Walter,

could you give us the steps you preformed, what patches did you install, did you craete a ignite tape before you started ?

Regards,
Robert-Jan