1 |
On Wed, 2001-12-12 at 19:18, Terry Chan wrote: |
2 |
|
3 |
/proc mounted ? |
4 |
|
5 |
|
6 |
> Is anyone else have a problem with running the uptime command? |
7 |
> |
8 |
> On a clean install gentoo r11 box (currently upgraded to latest portage |
9 |
> and baselayout) running uptime gives: |
10 |
> |
11 |
> uptime: couldn't get boot time: No such file or directory |
12 |
> |
13 |
> drobbins suggested using strace, which gives a lot of stuff but the |
14 |
> important part is: |
15 |
> |
16 |
> open("/var/run/utmp", O_RDWR) = 3 (I think this means it successfully |
17 |
> opened the file) |
18 |
> |
19 |
> then a lot of seeks and reads that don't seem to find whatever uptime |
20 |
> is looking for inside the above file. |
21 |
> |
22 |
> The end of the strace gives the above message "couldn't get boot time: ..." |
23 |
> |
24 |
> Does anyone know how to fix this problem of not being able to get info |
25 |
> from "uptime" ? |
26 |
> |
27 |
> Thanks, |
28 |
> |
29 |
> Terry Chan |
30 |
> _______________________________________________ |
31 |
> gentoo-dev mailing list |
32 |
> gentoo-dev@g.o |
33 |
> http://lists.gentoo.org/mailman/listinfo/gentoo-dev |
34 |
-- |
35 |
|
36 |
Martin Schlemmer |
37 |
Gentoo Linux Developer, Desktop Team Developer |
38 |
Cape Town, South Africa |