- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- core dump
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-17-2001 03:20 AM
07-17-2001 03:20 AM
Solved! Go to Solution.
- Tags:
- SIGSEGV
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2001 03:28 AM
07-17-2001 03:28 AM
Solution/var/adm/wtmp is probably corrupt. Either null it or repair it:
To null it entirely and start anew:
# cat /dev/null > /var/adm/wtmp
To attempt to repair it, retaining data, do:
# /usr/sbin/acct/fwtmp < /var/adm/wtmp > /tmp/wtmp
At this point, you may edit the /tmp/wtmp file, since it is a ASCII file.
# /usr/sbin/acct/fwtmp -ic < /tmp/wtmp > /var/adm/wtmp
...JRF...
- Tags:
- wtmps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2001 03:50 AM
07-17-2001 03:50 AM
Re: core dump
the following will convert it to ASCII file
#/usr/sbin/acct/fwtmp < /var/adm/wtmp > /tmp/file
then you can either edit the file or read it.
Then you can convert it back to binary form:
##/usr/sbin/acct/fwtmp -ic < /tmp/file > /var/adm/wtmp
Bye
federico
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2001 03:52 AM
07-17-2001 03:52 AM
Re: core dump
the wtmp file is corrupted( i feel)
#mv /var/adm/wtmp /var/adm/wtmp.old
#touch /var/adm/wtmp
#mv /var/adm/wtmp.old /var/adm/wtmp
this could solve your problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2001 04:03 AM
07-17-2001 04:03 AM
Re: core dump
Hi
Here are only two possibilties. One is ur /etc/last command is corrupted. Or ur /var/adm/wtmp file is not OK. For solving this first U go to /var/adm directory and do this
#cd /var/adm
#cat /dev/null > wtmp
Now try last command. Mostly ur problem will get solved here. If still exists copy /usr/bin/last from some other machine (which should be same version).
I hope now ur problem will be OK.
Best of luck
Shahul