From: Martin Schlemmer <azarah@gentoo.org>
To: Gentoo-Dev <gentoo-dev@gentoo.org>
Subject: Re: [gentoo-dev] uptime problems?
Date: 12 Dec 2001 19:26:29 +0200 [thread overview]
Message-ID: <1008177992.3441.8.camel@nosferatu.lan> (raw)
In-Reply-To: <20011212111803.A52557@enteract.com>
[-- Attachment #1: Type: text/plain, Size: 1182 bytes --]
On Wed, 2001-12-12 at 19:18, Terry Chan wrote:
/proc mounted ?
> 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
> _______________________________________________
> gentoo-dev mailing list
> gentoo-dev@gentoo.org
> http://lists.gentoo.org/mailman/listinfo/gentoo-dev
--
Martin Schlemmer
Gentoo Linux Developer, Desktop Team Developer
Cape Town, South Africa
[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]
next prev parent reply other threads:[~2001-12-12 17:28 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-12-12 17:18 [gentoo-dev] uptime problems? Terry Chan
2001-12-12 17:26 ` Martin Schlemmer [this message]
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=1008177992.3441.8.camel@nosferatu.lan \
--to=azarah@gentoo.org \
--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