Allgemein

 Startseite
 Gruppen
 Rangliste
 Stats
 Team
 Forum
 Download
 FAQ
 Impressum / Kontakt


User

 einloggen
 registrieren


User suche

 Usersuche
       


Statistik

Benutzer: 5769
Geräte: 3081
Aktive Geräte: 17

Beste Uptime
Drecksackblase mit 2437d 14:36

Bester Uptimerekord
Drecksackblase mit 2437d 14:36


flo2slug

18.10.2009, 16:03
 

ooops negative uptime?? (Deamon)

hallo,

ich würde gerne mitmachen, kriege es aber nicht zum laufen...

-----snip-------
flo2slug:/tmp# gcc -Wall stbup.c -o stbup
stbup.c: In function 'main':
stbup.c:628: warning: pointer targets in passing argument 1 of 'base64enc' differ in signedness
flo2slug:/tmp# ./stbup
[stbup] v0.1.9 started...
[stbup] found 2 interfaces
[stbup] MAC=000000000000 by Interface=lo
[stbup] MAC=001A7095D31C by Interface=eth0
[stbup] Username='flo2slug'
[stbup] GroupID=5
[stbup] Uptime Server='http://www.embedded-uptime-project.com'
[stbup] Interval=600sec
[stbup] Pidfile='/tmp/stbup.pid'
[stbup] Description='NSLU2'
[stbup] Host='www.embedded-uptime-project.com', Port=80
[stbup] Ooops negative Uptime -12229468
[stbup] next Update in 10 min
^C
flo2slug:/tmp# uptime
17:59:14 up 12 min, 1 user, load average: 0.21, 0.14, 0.10
--------snap----------

danke für die hilfe!

gruss

flo2slug

18.10.2009, 17:01

@ flo2slug

ooops negative uptime??

evtl hilfts...


-------snip----------

flo2slug:/tmp# uptime
18:57:12 up 1:10, 2 users, load average: 0.24, 0.21, 0.11
flo2slug:/tmp# cat flotest.c
#include <stdio.h>
#include <errno.h>
#include <linux/unistd.h>
#include <linux/kernel.h>
int
main(void)
{
struct sysinfo s_info;
int error;
error = sysinfo(&s_info);
printf("Uptime = %ldsn",
s_info.uptime);
}
flo2slug:/tmp# gcc flotest.c -o flotest
flo2slug:/tmp# ./flotest
Uptime = 4245s
--------snap----------


meine schöne uptime, extra wg. dem projekt neu gebootet :(
http://img190.imageshack.us/img190/1130/screenshot20091018at549.png :D

flo2slug

22.10.2009, 11:02

@ flo2slug

ooops negative uptime??

ich lass den client mal laufen (obwohl es negative uptime hat), wäre froh wenn mir jem. helfen kann... cheers!

FiS

22.10.2009, 11:06

@ flo2slug

ooops negative uptime??

wunderbar dann kann ich mir das morgen mal anschauen :)

FiS

23.10.2009, 11:04

@ FiS

ooops negative uptime??

ich hoffe ich habs :)

mal schauen was nun passiert und neues auftaucht

flo2slug

23.10.2009, 19:46

@ FiS

ooops negative uptime??

[stbup] Update OK Uptime 445802
[stbup] next Update in 10 min


wunderbar, dankeschön. aus neugier, woran hats gelegen? :)

FiS

24.10.2009, 13:39

@ flo2slug

ooops negative uptime??

kloar darfst ;) neugierig sein

ich hab mich beim letzten update verschreibvertippselt

es waren alle betroffen deren 1. geräte-uptime >31 tage war...


Ihr Link zu Jacob Elektronik Leistungsstarke Basispakete fü intelligentes Haus unter www.eibmarkt.com! 40 Gratis Abzü Einkaufen bei QUELLE hotel.de - 210.000 Hotels weltweit buchen Es münicht immer Blumen sein

© 2007