- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- wtmp gets filled
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
01-29-2002 05:39 AM
01-29-2002 05:39 AM
wtmp gets filled
it looks like this when i use the "last" command:
root pts/0 Tue Jan 29 14:35 - 14:35 (00:00)
root pts/0 Tue Jan 29 14:35 - 14:35 (00:00)
root pts/0 Tue Jan 29 14:35 - 14:35 (00:00)
root pts/0 Tue Jan 29 14:35 - 14:35 (00:00)
root pts/0 Tue Jan 29 14:35 - 14:35 (00:00)
root pts/0 Tue Jan 29 14:35 - 14:35 (00:00)
root pts/0 Tue Jan 29 14:35 - 14:35 (00:00)
....
ps -edf |grep pts/0 doesnt give any information...
does anyone know what this can be?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2002 06:59 AM
01-29-2002 06:59 AM
Re: wtmp gets filled
perform;
# > /var/adm/wtmp
or SAM-> Routine Tasks ->System Log Files and trim to zero /var/adm/wtmp by menu action->trim -. trim to zero
hope it help
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2002 07:15 AM
01-29-2002 07:15 AM
Re: wtmp gets filled
Which OS version ? which server ? Do you have any cron job running which causes this ? Do you use Reflection for logging in ?
Try 'fuser' command to see what processes are running on pts/0. Also
# touch /var/adm/wtmp
HTH,
Shiju
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-01-2002 02:55 AM
02-01-2002 02:55 AM
Re: wtmp gets filled
The files can be zeroed or removed but if they are removed they need to be
manually recreated as they are not created by the programs that maintain them.
If you want to recreate them note the ownerships and permissions before removing them and reset the ownerships and permissions after recreating the files (usually with touch to create an empty files). This is EXTREMELY
important
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-01-2002 03:25 AM
02-01-2002 03:25 AM
Re: wtmp gets filled
The entries you describe show that root has logged in (and out again) 7 times within a minute. You will not find the pty in the ps list unless the line reads something like:
root console Mon Feb 21 10:30 still logged in
So your detective work will be to figure out what is causing this. Could be a cron job, a script or ..anything.
I would suggest starting by trying to find a pattern in when and how many entries there are.
In my view nilling out the wtmp file will only clear the symptom unless of course there is a valid reason for the entries.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-01-2002 04:45 AM
02-01-2002 04:45 AM
Re: wtmp gets filled
/usr/sbin/acct/fwtmp < /var/adm/wtmp > /tmp/filetemp
Then you can read the informations (you would have seen with last ) in the file /tmp/filetemp.
Bye
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-01-2002 05:25 AM
02-01-2002 05:25 AM
Re: wtmp gets filled
I you can stop the cron for long enough to examine the wtmp and see if this is cron related.
/sbin/init.d/cron stop
/sbin/init.d/cron start
HTH
Paula
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-01-2002 05:52 AM
02-01-2002 05:52 AM
Re: wtmp gets filled
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2002 07:33 AM
10-21-2002 07:33 AM
Re: wtmp gets filled
Solved now.