* SUMMARY: "who -r" returns no output
@ 2007-02-07 13:13 Roberto Mackun
0 siblings, 0 replies; only message in thread
From: Roberto Mackun @ 2007-02-07 13:13 UTC (permalink / raw)
To: tru64-unix-managers
Hi Managers,
Thanks to George Cox, Steve Hagan, Andrew Macneil, Eugene (from Yahoo), John
Lanier and Kevin Fleming.
It turns out there's a line in /var/adm/utmp that specifies the current
run-level. If this line is deleted or corrupted then 'who -r' will fail to
obtain the current run-level info. Best solution is to restore your
/var/adm/utmp file from backup.
If you don't have a backup there's an ITRC entry found at
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1051561&admit=-682735245+1170853791440+28353475
which explains how to recover your run-level entry from /var/adm/wtmp. The
ITRC entry is for HP-UX but the tool exists for Tru64 - just substitute
/etc/utmp with /var/adm/utmp.
Regards,
Bobby
Roberto Mackun
Senior UNIX Administrator
_________________________________________________________________
Advertisement: 50% off on Xbox 360, PS and Nintendo Wii titles!
http://www.play-asia.com/SOap-23-83-4lab-71-bn-49-en-84-k-40-extended.html
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-02-07 13:13 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-02-07 13:13 SUMMARY: "who -r" returns no output Roberto Mackun
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox