Pravat Chandra Patra

Removing Buggy JES patch 125310-04 on HPUX

Tuesday Jul 24, 2007

Failed to uninstall using "swremove"


Try - 1)
- I cleaned up JES5.
- removed productregistry
- deleted the patch directory from product location.
- Rebooted the m/c
Nothing worked.


Try -2)Based on another suggestion

created tar ball of another HPsystem where 125310-04 patch is installed and untared in in /var/adm/sw/products/
This also failed

But patching corrupted the other HPbox  aswell


Solution:
-Remove all the sun packages
-Delete /opt/sun, /var/opt/sun directory.
-Remove entry of 125310-04 from /var/adm/sw/products/INDEX file. 


This worked.
ERROR:#swremove 125310-04
      * Software selections:
             125310-04,r=6.2,a=HP-UX_B.11.11_32/64,v=SUN
             125310-04-sun-ldap-directory-man.sun-ldap-directory-man,l=/opt/sun,r=6.2,v=SUN
       * Selection succeeded.
                       * Beginning Analysis
       * Session selections have been saved in the file
         "/.sw/sessions/swremove.last".
ERROR:   "i18nhp1:/": Could not allocate memory on this remote host
         during task initialization, analysis or execution --  malloc()
         failed.
       * The analysis phase failed for "i18nhp1:/".
       * Analysis had errors.
                NOTE:    More information may be found in the agent logfile using the
         command "swjob -a log i18nhp1-6850 @ i18nhp1:/".

=======  07/24/07 13:31:56 IST  END swremove SESSION (non-interactive)
         (jobid=i18nhp1-6850)

[0] Comments
Like this post? del.icio.us | furl | slashdot | technorati | digg