Operating System - HP-UX
1827244 Members
2284 Online
109716 Solutions
New Discussion

Re: Urgent swinstall,swlist and sw commands not working

 
SOLVED
Go to solution
siva baskaran
Regular Advisor

Urgent swinstall,swlist and sw commands not working

Hi All,

I facing one issue

when I when swlist or swinstall whatever sw commands O.S gives error like


UNEXPECTED EXIT: process LANG=CLC_ALL=C /usr/sbin/swinstall -i exited with a non-zero exit status.

Pthread internal error: message: __pthread_startup() failed , file:
/ux/core/libs/threadslibs/src/common/pthreads/pthread.c, line: 8963
Return Pointer is 0xc0812730
sh: 16186 Quit(coredump)

I found that there is some patch issue have to install another patch to resolve, but I couldn't even run any sw commands, how can I install patch ?

how can i trobuleshoot this issue

how can i find out last installed patch to remove or revert back, if I finding last installed patch I couldn't run swremove command how can I remove last installed patch ?

please help me out it very urgent for me
8 REPLIES 8
Eric SAUBIGNAC
Honored Contributor
Solution

Re: Urgent swinstall,swlist and sw commands not working

Bonjour,

LANG=CLC_ALL=C --> May be you could check /etc/rc.config.d/LANG for bad input

Eric
siva baskaran
Regular Advisor

Re: Urgent swinstall,swlist and sw commands not working

Thanks for your quick response

this is content of LANG, what should there ?

#!/sbin/sh
# @(#)B11.23_LR
# Language preference. See lang(5), hpnls(5)
#
# LANG: Locale name
#
# Note: if using the default C locale, many commands will execute faster if
# LANG is not set.
#
#LANG=C
#export LANG

James R. Ferguson
Acclaimed Contributor

Re: Urgent swinstall,swlist and sw commands not working

Hi:

What changed last and when? Did 'swlist' and/or 'swinstall' just "suddenly" stop working, or was this the case _after_ some patch was applied?

I'd begin with:

# swagentd -r

...to restart the SD daemon. Having done this, try a 'swlist' again.

Regards!

...JRF...
Eric SAUBIGNAC
Honored Contributor

Re: Urgent swinstall,swlist and sw commands not working

etc/rc.config.d/LANG is clean. No more idea.
siva baskaran
Regular Advisor

Re: Urgent swinstall,swlist and sw commands not working

bash-2.05a# swagentd -r
ERROR: swagentd exiting due to initialization error in background
process. Check the logfile "/var/adm/sw/swagentd.log" for
more information.
bash-2.05a#
======= 01/21/09 21:16:57 MST BEGIN swagentd (pid = 1345).


======= 01/28/09 01:51:22 MST BEGIN swagentd (pid = 16872).


======= 01/28/09 02:12:20 MST BEGIN swagentd (pid = 17109).

Pete Randall
Outstanding Contributor

Re: Urgent swinstall,swlist and sw commands not working

Has something changed recently in host name or host name resolution?


Pete

Pete
Ivan Krastev
Honored Contributor

Re: Urgent swinstall,swlist and sw commands not working

Can you checck youe environment:

env | grep LANG

or attach out put of env command.

regards,
ivan
Dennis Handly
Acclaimed Contributor

Re: Urgent swinstall,swlist and sw commands not working

Pthread internal error: message: __pthread_startup() failed, file:
/ux/core/libs/threadslibs/src/common/pthreads/pthread.c, line: 8963
Return Pointer is 0xc0812730

Hmm, this typically occurred when mixing libpthread with libcma? Have you exported LD_PRELOAD?

>LANG=CLC_ALL=C

Are you sure there isn't a space before "LC_ALL"?