|
|||||||
| Forums | Search Forums | Register | Forum Rules | Man Pages | Albums | FAQ | Members | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
|
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
When I type last oracle I get dates from Nov 28, 2000 all the way back to the beginning of time it seems. The 11-28-2000 entry states that Oracle is still logged in, but if you type a who, it shows only 1 entry - the currently logged in user (Me as oracle), but I logged in only minutes ago - and the system date shows correct. Why does it not log current users any more? Please advise as soon as possible.
|
| Sponsored Links | ||
|
|
#2
|
|||
|
|||
|
To reste the data (on Solaris);
cat /dev/null > /var/adm/wtmp cat /dev/null > /var/adm/wtmpx cat /dev/null > /var/adm/utmp cat /dev/null > /var/adm/utmpx Note that last, who, w etc. will not return the correct data until a reboot so if possible it is adviseable to do this right before a reboot. |
| Sponsored Links | ||
|
|
#3
|
|||
|
|||
|
Reboot?
Is the only way to get correct data (i.e. dates beyond 11-28-2000) is via a reboot? What would cause this issue to begin with?
|
|
#4
|
|||
|
|||
|
You can probably go edit the files listed above and just restart utmpd. I have never tried this though. Whats specific OS are you running?
|
| Sponsored Links | |
|
|
#5
|
|||
|
|||
|
Alpha box
|
| Sponsored Links | ||
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| wtmp output | Duffs22 | Red Hat | 1 | 05-23-2012 05:08 PM |
| Clear wtmp | x_adm | AIX | 2 | 04-23-2010 09:10 AM |
| wtmp file | lo-lp-kl | AIX | 4 | 06-02-2008 01:32 PM |
| wtmp | dsharples | UNIX for Dummies Questions & Answers | 2 | 11-17-2003 07:06 AM |
| Need Wtmp Reader | pgold1 | UNIX for Dummies Questions & Answers | 1 | 12-13-2000 02:23 AM |
|
|