1834272 Members
11087 Online
110066 Solutions
New Discussion

last command

 

last command

Hi ,

I get the following error when i execute "last" command.

Invalid record size. Unable to continue ...

What could be the possible cause? I am unable to figure out..
3 REPLIES 3
RAC_1
Honored Contributor

Re: last command

May be corrupt wtmp file
Check fwtmpfix and fwtmp man pages.

Anil
There is no substitute to HARDWORK
Rita C Workman
Honored Contributor

Re: last command

First, quick thought...your wtmp file is corrupt.
Try moving it out, start fresh and see if you continue to get that message.

Like I said...quick thought,
Rita
Deoncia Grayson_1
Honored Contributor

Re: last command

You can follow this thread but looks like he ended up trauncating /var/adm/wtmps" & "/var/adm/btmps" files (AND NOT /var/adm/wtmp & /var/adm/btmp )...


http://forums1.itrc.hp.com/service/forums/questionanswer.do?admit=716493758+1116528770005+28353475&threadId=861310
If no one ever took risks, Michelangelo would have painted the Sistine floor. -Neil Simon