Operating System - HP-UX
1834232 Members
2672 Online
110066 Solutions
New Discussion

bus error - core dump after installing PATCH-PHCO_23684

 
Venu_3
New Member

bus error - core dump after installing PATCH-PHCO_23684

Hi experts,

I was trying to install patch phco_23684 on HP-UX 9000/813 server, running 10.20. It did a corrupt install and now iam not able to run any of the sw commands (eg. swinstall, swlist, swremove). It gives me a bus error - core dump error.

On doing a what core i got this set of message:

core:
$Revision: 5.2, SD-OV/A.01.01, SD-UX/B.10.20, CONTROLLER, Optimized, Bu
ilt May 17 1996 16:00:27$
ttadjdsa.c $Date: 96/03/12 15:46:32 $ $Revision: 5.4 $
HP DCE/9000 1.5 PHSS_19739-40 Module: libdce.sl (Export) Date: Sep 6 19
99 18:22:15
rec_seq.c 8.2 (Berkeley) 9/7/93
libXOM 1.9 (BULL S.A) 7/1/92
$RCSfile: environment.c,v $ $Revision: /main/HPDCE02/2 $ (OSF) $Date: 19
94/12/05 19:53 UTC $
PATCH-PHCO_23684 for 10.20; for 10.30, 11.x compatibility libc.1_ID@@/m
ain/r10dav/libc_dav/libc_dav_cpe//1
/ux/core/libs/libc/shared_pa1/libc.1_ID
May 2 2001 14:37:28
Dialog Manager IDMuser.h Version 2.18i
ObAM Version 4.1.8 OBAM4_1_8 product SysV.4 (build date: Thu Apr 23 17:1
9:03 MDT 1998)
HP-UX libm shared PA1.0 C math library 960420 (111936) UX 10.20
SMART_BIND
92453-07 dld dld dld.sl B.10.12 960426

Then i did a chatr on swinstall, this was the output:

/usr/sbin/swinstall:
shared executable
shared library dynamic path search:
SHLIB_PATH disabled second
embedded path enabled first /var/adm/sw/lib::
internal name:
swinstall
shared library list:
dynamic /usr/lib/libdc.sl
dynamic /usr/lib/libdce.1
dynamic /usr/lib/libc.1
dynamic /usr/obam/lib/libobam.1
dynamic /usr/lib/libm.1
dynamic /usr/lib/libdld.1
shared library binding:
immediate nonfatal
static branch prediction disabled
kernel assisted branch predictionenabled
lazy swap allocationdisabled
text segment lockingdisabled
data segment lockingdisabled
data page size: 4K
instruction page size: 4K

Can anyone help me out of this problem. Now iam not able to remove, install any patches.

Thanks in advance

Venu



8 REPLIES 8
Scott Van Kalken
Esteemed Contributor

Re: bus error - core dump after installing PATCH-PHCO_23684

There is a later patch for 10.20 PHCO_25640 replacing this one.

This doesn't help you right now though.

Can you boot into single user mode at all?

If so, I'd try that, then going up one run level at a time.

swinstall wont work until runlevel 2 (I think) when your core networking comes up. Runlevel 2 is also when the sw processes are started.

Before attempting this, try to hup the swagentd daemon.

Also check the depot on your system with a checksum and compare it to the patch notes.

Fragon
Trusted Contributor

Re: bus error - core dump after installing PATCH-PHCO_23684

You can boot from your previous kernel! Normally like this:
[Reboot]
[ESC] to go into PDC.
Boot Admin> boot pri isl
Interact with the IPL? y
ISL> hpux -is /stand/vmunix.prev

-Live as you wish-
Gerald Zhou
Venu_3
New Member

Re: bus error - core dump after installing PATCH-PHCO_23684

Gerald, Scott thanx for your reply. One small clarification what do you mean by hup the swagent, 'cuz iam new to this Hp-ux system.

Venu
Mateja Bezjak
Respected Contributor

Re: bus error - core dump after installing PATCH-PHCO_23684

Hi Venu,

Can you check if there is a /var/opt/ifor/nodelock file. Old Software Distributor versions used to have this file. If you have check whether there is a '#' character in the file and remove it if so.

Regards,
Mateja
Animesh Chakraborty
Honored Contributor

Re: bus error - core dump after installing PATCH-PHCO_23684

Hi ,
Before booting from alternate kernel just try to kill the swagentd daemon and start it
#ps -ef|grep swagentd
# root 1980 1 0 Jul 23 ? 0:02 /usr/sbin/swagentd -r
#kill -9 1980
#/sbin/init.d/swagentd start

best of luck
Animesh
Did you take a backup?
Fragon
Trusted Contributor

Re: bus error - core dump after installing PATCH-PHCO_23684

Hi animesh, can you give a detail explain why "Before booting from alternate kernel just try to kill the swagentd daemon and start it" ?

With many thanks

-Gerald-
Animesh Chakraborty
Honored Contributor

Re: bus error - core dump after installing PATCH-PHCO_23684

Hi Gerald ,
B'coz it is quick one :)
Nothing else.
Did you take a backup?
Venu Raja
Occasional Contributor

Re: bus error - core dump after installing PATCH-PHCO_23684

Thanx for the reply. Mateja i tried for the nodelock file, there is no such file, and Animesh, i tried to kill and start the swagentd. When doing so, this command

/usr/sbin/swagentd -r gave me a bus error.

Venu