Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

HP-UX B.11.11 wtmp file corruption

Posted on 2003-11-13
4
Medium Priority
?
2,964 Views
Last Modified: 2013-12-06
I am experiencing the following error on majority of the HP-UX B.11.11.
"pid exceeds MAXPID: wtmp file corrupted"

I have tried to fix it with the fwtmp/wtmpfix commands.... nothing worked.
I have backed up the file and flushed with /dev/null.... nothing worked.

still getting the same error with "last" command
does anyone know what might have caused this?

thanks in advance for any help you can provide.
0
Comment
Question by:zile26
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 24

Accepted Solution

by:
shivsa earned 525 total points
ID: 9744208
This might be becuase you have a corrupt wtmp file.
1.Check if /var maybe is full.
2.flush the current wtmp. take a copy of the current wtmp say move it to wtmp.old then flush the file using " cat /dev/null > /var/adm/wtmp "
3. wtmpfix -c /var/adm/wtmp > /var/adm/wtmp.fix
   cp /var/adm/wtmp.fix /var/adm/wtmp

check your system log messages related to these failures or nprocs.
0
 
LVL 24

Expert Comment

by:shivsa
ID: 9776272
how did it go.
r u still waiting for the answer.
0
 

Author Comment

by:zile26
ID: 9806130
Thanks Shivsa. I had tried it previously.
/var is not full. we had a call to HP and they seemed to think that there's some sort of binary writing to wtmp corrupting it. ????
still searching for help.

Thanks.
0
 

Author Comment

by:zile26
ID: 10018710
Thanks Shivsa.

we have given up on this problem.
however, a reboot fixes the problem. but after a period of time. it gets corrupted all over again.
the system is clean of any virus or anything to that effect.

we think that it's some sort appl. bin causing it. we will have to live with it for now.

0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Let's say you need to move the data of a file system from one partition to another. This generally involves dismounting the file system, backing it up to tapes, and restoring it to a new partition. You may also copy the file system from one place to…
In tuning file systems on the Solaris Operating System, changing some parameters of a file system usually destroys the data on it. For instance, changing the cache segment block size in the volume of a T3 requires that you delete the existing volu…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

660 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question