Operating System - HP-UX
1835133 Members
2896 Online
110076 Solutions
New Discussion

Re: swagentd failed to start

 
SOLVED
Go to solution
Francis Sung
New Member

swagentd failed to start

After I installed XSW700GR1020 B.10.20.55.3, the Dec 2001 General Release Patches for hpux 10.20, on rebooting, swagentd startup failed with the swagentd.log saying:

ERROR: Cannot allocate memory. Either there is no memory available or the memory managed by malloc has been corrupted. Cannot get host attributes. Internal data structures are inconsistent due to this error, and the daemon must terminate to avoid corrupting permanent (on disk) data structures.

Has anyone seen this failure? How can I fix this system? Thanks.
4 REPLIES 4
S.K. Chan
Honored Contributor
Solution

Re: swagentd failed to start

Seen this before on one of my 11.0, the fix is ..
# cd /var/adm/sw
# mv host_object host_object.corrupted
Now start swagentd.
Helen French
Honored Contributor

Re: swagentd failed to start

Hi Francis,

Some thing to try:

This problem may be caused by invalid entries in the file /var/adm/sw/host_object. During startup swagentd searches that file for depot locations. If You are not sure what entry may be responsible for the problem, simply move away the file. swagentd will create a new empty one automatically.

HTH,
Shiju

Life is a promise, fulfill it!
Jeff Schussele
Honored Contributor

Re: swagentd failed to start

Hi Francis,

Take a look at PHCO_25640
Deals with malloc errors & was released 12/03/01.

Here's the link:

http://us-support2.external.hp.com/wpsl/bin/doc.pl/screen=wpslDisplayPatch/sid=587d49c10f6054f81e?PACH_NAM=PHCO_25640&HW=s800&OS=10.20

HTH,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
Francis Sung
New Member

Re: swagentd failed to start

Thanks for the quick responses. The removal of the host_object did the trick.