From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-14) on finch.gentoo.org X-Spam-Level: X-Spam-Status: No, score=-0.1 required=5.0 tests=DMARC_NONE,MAILING_LIST_MULTI autolearn=unavailable autolearn_force=no version=4.0.0 Received: from mono.mweb.co.za (mono.mweb.co.za [196.2.53.170]) by chiba.3jane.net (Postfix) with ESMTP id 68F0E19284 for ; Wed, 12 Dec 2001 11:28:10 -0600 (CST) Received: from [196.30.180.12] (helo=nosferatu.lan) by mono.mweb.co.za with esmtp (Exim 3.33 #2) id 16ED4I-0003K6-00 for gentoo-dev@gentoo.org; Wed, 12 Dec 2001 19:21:18 +0200 Subject: Re: [gentoo-dev] uptime problems? From: Martin Schlemmer To: Gentoo-Dev In-Reply-To: <20011212111803.A52557@enteract.com> References: <20011212111803.A52557@enteract.com> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-W78/Hv/gyfbf5L1Ef5b3" X-Mailer: Evolution/1.0 (Preview Release) Date: 12 Dec 2001 19:26:29 +0200 Message-Id: <1008177992.3441.8.camel@nosferatu.lan> Mime-Version: 1.0 Sender: gentoo-dev-admin@gentoo.org Errors-To: gentoo-dev-admin@gentoo.org X-BeenThere: gentoo-dev@gentoo.org X-Mailman-Version: 2.0.6 Precedence: bulk Reply-To: gentoo-dev@gentoo.org List-Help: List-Post: List-Subscribe: , List-Id: Developer discussion list List-Unsubscribe: , List-Archive: X-Archives-Salt: 8677bca0-9431-49a6-8f17-df7fbebabf40 X-Archives-Hash: bd55ff575ec41b7984d5934d32e93985 --=-W78/Hv/gyfbf5L1Ef5b3 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Wed, 2001-12-12 at 19:18, Terry Chan wrote: /proc mounted ? > Is anyone else have a problem with running the uptime command? >=20 > On a clean install gentoo r11 box (currently upgraded to latest portage > and baselayout) running uptime gives: >=20 > uptime: couldn't get boot time: No such file or directory >=20 > drobbins suggested using strace, which gives a lot of stuff but the > important part is: >=20 > open("/var/run/utmp", O_RDWR) =3D 3 (I think this means it successfully= =20 > opened the file) > =20 > then a lot of seeks and reads that don't seem to find whatever uptime > is looking for inside the above file. >=20 > The end of the strace gives the above message "couldn't get boot time: ..= ." >=20 > Does anyone know how to fix this problem of not being able to get info > from "uptime" ? >=20 > Thanks, >=20 > Terry Chan > _______________________________________________ > gentoo-dev mailing list > gentoo-dev@gentoo.org > http://lists.gentoo.org/mailman/listinfo/gentoo-dev --=20 Martin Schlemmer Gentoo Linux Developer, Desktop Team Developer Cape Town, South Africa --=-W78/Hv/gyfbf5L1Ef5b3 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQA8F5NFlsNeMtCTD6kRAodhAJ9aTsK+BLHtx0fjfC53X2uoEMkkMACfXYcs ZzXCqWKqm3Ft8gsN4JMOAEc= =muSx -----END PGP SIGNATURE----- --=-W78/Hv/gyfbf5L1Ef5b3--