tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* Summary: who -r/utmp problem
@ 1998-05-12  1:52 Duncan Webbe
  0 siblings, 0 replies; only message in thread
From: Duncan Webbe @ 1998-05-12  1:52 UTC (permalink / raw)
  To: tru64-unix-managers


Thankyou Dr. Allan Rollow, Paul Thompson, Thomas Leitner and Craig
Farrington for their responses.

Normally if you lost your utmp file the resolution would be 
touch /var/adm/utmp
chown root:system /var/adm/utmp
chmod 755 /var/adm/utmp then a reboot.

The reason our system wouldn't come up properly, however, was because a
var backup had been restored onto our system while /var was not mounted.
When the system was coming up, it relied on information from these old
files rather than from the proper /var filesystem causing the system to
not know what run-level it was in. It seems the boot process will use
information from a non file-system /var directory prior to mounting the
/var filesystem if it exists.

> 
> Dear Group
> 
> I am in a bit of bother. We had a root disk crash and although I can now
> bring the system up, when it executes the /sbin/rc2 and /sbin/rc3 scripts,
> the set `who -r` is stopping the execution of the start-up scripts due to
> the lack of a /var/adm/utmp file (I presume).
> 
> Any ideas - I need to get this system functioning before tomorrow morning.
> (We're running an 8400 in a 2 node cluster using 4.0D).
> 
> Thanking you
> 
> Duncan Webbe
> 
> Unix Systems Administrator
> David Jones Ltd. (Australia)
>   
> email: dwebbe@davidjones.com.au
> 
> 
> 

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1998-05-12  1:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-05-12  1:52 Summary: who -r/utmp problem Duncan Webbe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox