System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

invalid record size on last login

 
RAKUNTA
Frequent Advisor

invalid record size on last login

hi friends
while i am trying to take the record of last successfull logins via
#last -R
it shows
invalid record size unable to continue........

how can i sol.....this ?

i'm waiting for yours kind reply...

regards
kiran
5 REPLIES
Deeos
Regular Advisor

Re: invalid record size on last login

can you share me output of "last -R" command?
also check /var/adm/wtmps file exist or not?
Deepak

Re: invalid record size on last login

>how can I solve this?

What HP-UX version are you using?

The file /var/adm/wtmps is corrupted. You won't be able to see the data in the file.
Michal Kapalka (mikap)
Honored Contributor

Re: invalid record size on last login

Horia Chirculescu
Honored Contributor

Re: invalid record size on last login

Clear the corrupted data file:

> /var/adm/wtmp

Best regards,
Horia.
Best regards from Romania,
Horia.
rariasn
Honored Contributor

Re: invalid record size on last login