Hi Friend,
Best way is to purge the file
> /var/adm/wtmpx
this command will not effect your system, but you will loss all the information of user who logged in your server before, and first check the permission of file what is that after purging file and befor purging file if it chaged due to some resion then system will not boot after reboot then you need to reboot m/c in sigle user mode and create these empty file with same permission
Thanks
Pravin Landge