From: Roberto Mackun <rmackun@hotmail.com>
To: tru64-unix-managers@ornl.gov
Subject: SUMMARY: "who -r" returns no output
Date: Thu, 08 Feb 2007 00:13:24 +1100 [thread overview]
Message-ID: <BAY115-F3435EF9379B7D3D9D51DE2A29E0@phx.gbl> (raw)
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
reply other threads:[~2007-02-07 13:13 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox