public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] uptime problems?
@ 2001-12-12 17:18 Terry Chan
  2001-12-12 17:26 ` Martin Schlemmer
  2001-12-12 17:31 ` David Edwards
  0 siblings, 2 replies; 3+ messages in thread
From: Terry Chan @ 2001-12-12 17:18 UTC (permalink / raw
  To: gentoo-dev

Is anyone else have a problem with running the uptime command?

On a clean install gentoo r11 box (currently upgraded to latest portage
and baselayout) running uptime gives:

uptime: couldn't get boot time: No such file or directory

drobbins suggested using strace, which gives a lot of stuff but the
important part is:

open("/var/run/utmp", O_RDWR)  = 3  (I think this means it successfully 
                                     opened the file)
                                     
then a lot of seeks and reads that don't seem to find whatever uptime
is looking for inside the above file.

The end of the strace gives the above message "couldn't get boot time: ..."

Does anyone know how to fix this problem of not being able to get info
from "uptime" ?

Thanks,

Terry Chan


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2001-12-12 17:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-12-12 17:18 [gentoo-dev] uptime problems? Terry Chan
2001-12-12 17:26 ` Martin Schlemmer
2001-12-12 17:31 ` David Edwards

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