Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Accounting data time_t fallout?



> On _one_ of my three 5.99.7 (post-time_t merge) I'm getting the 
> following meesages in my daily output:
>
> Purging accounting records:
> sa: duplicate key in `/var/account/usracct': \^L\000\000\000
> sa: duplicate key in `/var/account/usracct': \^P\000\000\000
> sa: duplicate key in `/var/account/usracct': \M-h\^C\000\000
> sa: duplicate key in `/var/account/usracct': \M-i\^C\000\000
> sa: duplicate key in `/var/account/usracct': \M-o\^C\000\000
> sa: duplicate key in `/var/account/usracct': \M-p\^C\000\000
> sa: too many duplicate keys; `/var/account/usracct' possibly corrupted.
> sa: user accounting initialization failed
>
> Is this time_t fallout?  Can I just blow away the file and expect it to 
> be recreated properly?

"Yes", and "yes, as far as I know", ref. the entry from src/UPDATING:

        7. The optional accounting file (/var/account/acct, see
           accton(8)) has not been versioned, and will need to be
           removed.  The automatic rotation of the accounting file by
           /etc/daily limits the bad consequences of failure to remove
           the file.

Regards,

- Håvard


Home | Main Index | Thread Index | Old Index