System Administration Guide

How to Fix tacct Errors

  1. Become superuser.

  2. Change to the /var/adm/acct/sum directory.

  3. Convert the contents of tacct.MMDD from binary to ASCII format.


    # acctmerg -v tacct.MMDD xtacct
    

    MMDD

    Month and day specified by two-digit numbers. 

  4. Edit the xtacct file, removing bad records and writing duplicate records to another file.

  5. Convert the xtacct file from ASCII format to binary.


    # acctmerg -i xtacct tacct.MMDD
    

    MMDD

    Month and day specified by two-digit numbers. 

  6. Merge the files tacct.prv and tacct.MMDD into the file tacct.


    # acctmerg tacctprv tacct.MMDD tacct