- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Unable to get LAST command output - Error: Invali...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-03-2016 02:23 AM
тАО06-03-2016 02:23 AM
Unable to get LAST command output - Error: Invalid record size. Unable to continue
Unable to get LAST command output - Error: Invalid record size. Unable to continue
- Tags:
- last
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-03-2016 08:55 PM
тАО06-03-2016 08:55 PM
Re: Unable to get LAST command output - Error: Invalid record size. Unable to continue
The last command reads the login/logout records from /var/adm/wtmps (wtmp for older versions of HP-UX). This is a binary file and cannot be edited without corrupting the contents. You'll need to create a new, empty wtmps file or restore the file from previous backups.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-04-2016 02:55 AM
тАО06-04-2016 02:55 AM
Re: Unable to get last(1) command output - Error: Invalid record size. Unable to continue
How important is this info? If not, just scratch the file.
>This is a binary file and cannot be edited without corrupting the contents.
Unless you know what you're doing. :-) See:
http://community.hpe.com/t5/System-Administration/last-returns-no-login-info/m-p/5269768