- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- last command issue - Invalid record size. Unable t...
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
Forums
Discussions
Discussions
Discussions
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
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
07-05-2017 08:21 AM
07-05-2017 08:21 AM
Hello everone.
I have an issue when running last command in my hp-ux system:
#last
Invalid record size. Unable to continue ...
#
OS Version: B.11.23
Solved! Go to Solution.
- Tags:
- last
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-05-2017 04:51 PM
07-05-2017 04:51 PM
Re: last command issue - Invalid record size. Unable to continue ...
How important is this info?
See my replies here:
https://community.hpe.com/t5/System-Administration/no-ouput-from-command-last/m-p/4039936
https://community.hpe.com/t5/System-Administration/last-returns-no-login-info/m-p/5269768
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-06-2017 12:37 AM
07-06-2017 12:37 AM
Re: last command issue - Invalid record size. Unable to continue ...
Hi Dennis,
Thank you for your reply.
The contents of the file are not important.
I ran the following to scratch the file:
#echo > /var/adm/wtmp
Then:
#last
Invalid record size. Unable to continue ...
#ls -ltr /var/adm/wtmp
-rwxrwxr-x 1 adm adm 1 Jul 6 09:19 /var/adm/wtmp
#file /var/adm/wtmp
/var/adm/wtmp: commands text
same issue still exist.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-06-2017 01:16 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-06-2017 02:16 AM
07-06-2017 02:16 AM
Re: last command issue - Invalid record size. Unable to continue ...
It works now.
Thank you Duncan, and Dennis.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2017 05:04 PM
07-07-2017 05:04 PM
Re: last command issue - Invalid record size. Unable to continue ...
> # echo > /var/adm/wtmp
Ack! You should not be using echo, that's an example of how the file gets corrupted.