ITEM: D8302L

I need help with my ODM



Question:

I am running AIX v3.2.2.  Whenever I run the command "lslpp -h" I get:

   lslpp: 0504-302 odm error 5902 occured trying to read swvpd data

What does this mean and what can I do about it?  I want to upgrade to
3.2.3 but I need to get this solved first.

Response:

We verified that the SWVPD's for the /usr portion were bad:
  lslpp -Ou -h  (returned an error) but lslpp -Ur -h (did not return
an error).

My recommendation is that he get an old backup and restore the
following files:

/usr/lib/objrepos/inventory /usr/lib/objrepos/inventory.vc
/usr/lib/objrepos/product /usr/lib/objrepos/product.vc
/usr/lib/objrepos/lpp /usr/lib/objrepos/lpp.vc
/usr/lib/objrepos/history /usr/lib/objrepos/history.vc

Response:

The old copy of /usr/lib/objrepos/product was corrupted also.  We did an 
od -a /usr/lib/objrepos/product
and found an ASCII string from Alert Manager in the product object class.
This should not be there.  Ran the following to create a clean product 
object class.

     mv /usr/lib/objrepos/product /usr/lib/objrepos/bad.prod                   
     dd ibs=lb obs=1b count=1 conv=syc if=/etc/objrepos/product \\               
        of=/usr/lib/objrepos/product                                           
     dd ibs=1b obs=1b seek=1 skip=1 conv=sync if=/usr/lib/objrepos/bad.prod \\       
        of=/usr/lib/objrepos/product                                      

The product object class was now usable.  

NOTE:

The Alert manager should not be started from inittab without properly handling
where standard out and standard error are re-directed.  This is how the
garbage got in the product object class.



Support Line: I need help with my ODM ITEM: D8302L
Dated: September 1993 Category: N/A
This HTML file was generated 99/06/24~13:30:55
Comments or suggestions? Contact us