AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.


#Power
#Power
 View Only
  • 1.  lppchk reliability

    Posted Fri February 25, 2011 03:42 AM

    Originally posted by: tech100


    I have two systems both running on the same AIX level, no efixes.

    lppchk -c/-v ends cleanly even if I find some files different in /usr/sbin (I noticed it incidentally).

    (please look at different file size and modes on the example below)

    
    hostA:/$ oslevel -s 5300-11-03-1013 hostA:/$ lslpp -Lc bos.net.nfs.client #Package Name:Fileset:Level:State:PTF Id:Fix State:Type:Description:Destination Dir.:Uninstaller:Message Catalog:Message Set:Message Number:Parent:Automatic:EFIX Locked:Install Path:Build Date bos.net:bos.net.nfs.client:5.3.11.3: : :C:F:Network File System Client: : : : : : :0:0:/:1013 hostA:/$ lslpp -f bos.net.nfs.client|grep mknfsexp /usr/sbin/mknfsexp /usr/etc/lsnfsexp -> /usr/sbin/mknfsexp /usr/etc/rmnfsexp -> /usr/sbin/mknfsexp /usr/etc/mknfsexp -> /usr/sbin/mknfsexp /usr/etc/chnfsexp -> /usr/sbin/mknfsexp /usr/sbin/lsnfsexp -> /usr/sbin/mknfsexp /usr/sbin/rmnfsexp -> /usr/sbin/mknfsexp /usr/sbin/chnfsexp -> /usr/sbin/mknfsexp hostA:/$ ls -al /usr/sbin/mknfsexp -r-xr-xr-x    1 root     system        36618 Jan 27 2010  /usr/sbin/mknfsexp hostA:/$ su root
    's Password: hostA:/$ lppchk -c bos.net.nfs.client hostA:/$ lppchk -v bos.net.nfs.client hostA:/$
    


    
    hostB:/$ oslevel -s 5300-11-03-1013 hostB:/$ lslpp -Lc bos.net.nfs.client #Package Name:Fileset:Level:State:PTF Id:Fix State:Type:Description:Destination Dir.:Uninstaller:Message Catalog:Message Set:Message Number:Parent:Automatic:EFIX Locked:Install Path:Build Date bos.net:bos.net.nfs.client:5.3.11.3: : :C:F:Network File System Client: : : : : : :0:0:/:1013 hostB:/$ lslpp -f bos.net.nfs.client|grep mknfsexp /usr/sbin/mknfsexp /usr/etc/lsnfsexp -> /usr/sbin/mknfsexp /usr/etc/rmnfsexp -> /usr/sbin/mknfsexp /usr/etc/mknfsexp -> /usr/sbin/mknfsexp /usr/etc/chnfsexp -> /usr/sbin/mknfsexp /usr/sbin/lsnfsexp -> /usr/sbin/mknfsexp /usr/sbin/rmnfsexp -> /usr/sbin/mknfsexp /usr/sbin/chnfsexp -> /usr/sbin/mknfsexp hostB:/$ ls -al /usr/sbin/mknfsexp -rwxrwxrwx    1 root     system        22026 Nov 05 09:14 /usr/sbin/mknfsexp hostB:/$ su root
    's Password: hostB:/$ lppchk -c bos.net.nfs.client hostB:/$ lppchk -v bos.net.nfs.client hostB:/$
    

    #AIX-Forum


  • 2.  Re: lppchk reliability

    Posted Fri February 25, 2011 05:08 AM

    Originally posted by: blanckea


    Hello,
    Obviously lppchk doesn't report the problem because the odm inventory for mknfsexp has checksum =0 :
    export ODMDIR=/usr/lib/objrepos
    odmget -q "loc0 like /usr/sbin/mknfsexp" inventory

    inventory:
    lpp_id = 528
    private = 0
    file_type = 0
    format = 1
    loc0 = "/usr/sbin/mknfsexp"
    loc1 = ""
    loc2 = ""
    size = 0
    checksum = 0

    This problem has not been reported yet, so you need to open a PMR with your IBM support for this
    to be investigated and fixed.

    Regards
    #AIX-Forum