Operating System - HP-UX
1834055 Members
2552 Online
110063 Solutions
New Discussion

Re: Duplicate entries in wtmp

 
Jeffrey M. Nolle
Occasional Advisor

Duplicate entries in wtmp

I have been experiencing duplicated entries in my 'last' command output. I cleared out the wtmp file last week, but the problem persists. This is happening several times a day, but I do not see any specific patterns (system load, tty, user, time, etc.). This is an N-class system running HP-UX 11i (B.11.11).

cks pts/t6 xxx.xxx.xx.xxx Fri May 24 13:01 - 14:45 (01:44)
cks pts/t6 xxx.xxx.xx.xxx Fri May 24 13:00 - 14:45 (01:44)
cks pts/t6 xxx.xxx.xx.xxx Fri May 24 13:00 - 14:45 (01:44)

(all ip addresses the same)
2 REPLIES 2
Carlos Fernandez Riera
Honored Contributor

Re: Duplicate entries in wtmp

use search:

search fwtmp
There are many thread about wtmp and utmp
unsupported
Jeffrey M. Nolle
Occasional Advisor

Re: Duplicate entries in wtmp

I had already done a lot of research prior to posting my question. I found a lot of information on how to repair a corrupt file, but nothing on how to prevent the corruption (if you consider this to be corruption) from occurring in the first place.

I'm still open for suggestions.

Thanks.