WTMP file cleared after upgrade

Thread Tools Search this Thread
Operating Systems AIX WTMP file cleared after upgrade
# 1  
Old 02-28-2008
WTMP file cleared after upgrade

Hello, we recently upgraded from AIX 5.2.9 to 5.3.6 and in the process the wtmp file was cleared out. Before the upgrade the system had not been rebooted in a very long time, so i'm curious if the clearing of the file is related to the upgrade or the reboot? If it was related to the reboot is there a way to set AIX so the file is not cleared after each reboot?
# 2  
Old 02-28-2008
During a normal reboot the wtmp file is not cleared, so perhaps it was due to the upgrade or some other effect (deleted somehow by a process started from inittab, a process in the k-scripts in /etc/rc.d of runlevel 2 or something such).

# 3  
Old 03-07-2008
Originally Posted by zuessh
[...]we recently upgraded from AIX 5.2.9 to 5.3.6 and in the process the wtmp file was cleared out.[...]
How did you upgrade? Assumably you did not use "New and Complete Overwrite" (cause in that case you might have guessed already why wtmp dissappeared). So Migration Installation and Preservation Installation are left ... If you did a Preservation Installation you fell into the "IBM-Speak" trap Smilie as such an installation will wipe out the whole system configuration including /var. You could spare some files from being overwritten by including them into the /etc/preserve.list (/etc/filesystems is kept as a default) but the rest ... well Smilie
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. AIX

wtmp file - is there a patch to export the data another file each day?

sorry for being a noob, i am trying to find which user accessed the server at what time and there ip address at first i used who command but the output didn't contain the ip address then i used the last command which provided me with the ip of the users but when i searched i searched and found that... (1 Reply)
Discussion started by: hercules_1010
1 Replies

2. Solaris

Unable to remove links of Cleared metas

Hi, have few meta devices which were cleared some year ago but still appear in /dev/md/rdsk. If I create a same meta device again, it shows old timestamp of 2009yr I tried devfsadm -C to clear unlinked links but of no use. What am I missing ? (2 Replies)
Discussion started by: tuxian
2 Replies

3. AIX

Impacts of emptying /var/adm/wtmp file ?

In our operating procedures, if a workstation has a space problem in the /var filesystem, one of the most frequent case we were told is the size of the /var/adm/wtmp file. Someone once told me it is dangerous to do this. Is it ? I cannot say for certain that whomever wrote that procedure is... (2 Replies)
Discussion started by: Browser_ice
2 Replies

4. AIX

wtmp file

Hello everyone I have a problem with the file wtmp that is on /var/adm This file was not on this directory (adm). I try creating a new file with the correct rights (644) and owner (adm:adm) but It doesnt work. If I type the last command i get this last ora10g ... (4 Replies)
Discussion started by: lo-lp-kl
4 Replies

5. Forum Support Area for Unregistered Users & Account Problems

hotmail cleared account before activation

Hotmail cleared my email account before I had a chance to activate it. Can a admin re-send the activation email or activate my username? thanks (2 Replies)
Discussion started by: prkfriryce
2 Replies

6. Programming

Displaying fields in wtmp file?

Anyone have any idea on how to display the fields for each record stored in the wtmp file using C? Am I correct in thinking that the info stored in wtmp is in binary and that utmpx will be of some help? Being a beginner, I can come up with bits and pieces of what I might need in order to do the... (1 Reply)
Discussion started by: eclapton1
1 Replies

7. News, Links, Events and Announcements

Jon Johansen cleared in landmark DVD case

http://www.cnn.com/2003/TECH/01/07/dvd.johansen/index.html (1 Reply)
Discussion started by: Neo
1 Replies

8. UNIX for Dummies Questions & Answers

manage the wtmp file

Here's a usefull perl script to trim the wtmp file, in case it got too big, which happens sometimes, or got curropted (which also happens often). You could learn from here how to parse the wtmp file... but of course for just reading its content always simply use "last" like Neo said.... ... (0 Replies)
Discussion started by: me2unix
0 Replies
Login or Register to Ask a Question