From: Terry Chan <tchan@enteract.com>
To: gentoo-dev@gentoo.org
Subject: [gentoo-dev] uptime problems?
Date: Wed, 12 Dec 2001 11:18:03 -0600 [thread overview]
Message-ID: <20011212111803.A52557@enteract.com> (raw)
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
next reply other threads:[~2001-12-12 17:17 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-12-12 17:18 Terry Chan [this message]
2001-12-12 17:26 ` [gentoo-dev] uptime problems? Martin Schlemmer
2001-12-12 17:31 ` David Edwards
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20011212111803.A52557@enteract.com \
--to=tchan@enteract.com \
--cc=gentoo-dev@gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox