wviewweather.com Forum Index wviewweather.com
wview and Weather Topics
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

openslug corrupting archive data from console

 
Post new topic   Reply to topic    wviewweather.com Forum Index -> Troubleshooting
View previous topic :: View next topic  
Author Message
chrisale



Joined: 09 Nov 2005
Posts: 187

PostPosted: Thu Jul 06, 2006 11:01 pm    Post subject: openslug corrupting archive data from console Reply with quote

ok.. so in addition to the kernel panic mentioned in the other thread... I thought I should create a thread about the other trouble I'm having.

it appears that wview on the slug is corrupting the current archive data.

i've reset the vpconsole multiple times so that it is set to 5min, it seems to be functioning fine.

ive loaded in my old archive data (which is the same rate)

it looks like this:

Code:

-rw-rw-rw-    1 root     root       791332 Jan  1  2006 2005-12.wlk
-rw-rw-rw-    1 root     root       791332 Feb  1 06:22 2006-01.wlk
-rw-rw-rw-    1 root     root       714772 Mar  1 00:00 2006-02.wlk
-rw-rw-rw-    1 root     root       791332 Apr  1 00:00 2006-03.wlk
-rw-rw-rw-    1 root     root       764756 May  1 00:00 2006-04.wlk
-rw-rw-rw-    1 root     root       791332 Jun  1 00:00 2006-05.wlk
-rw-rw-rw-    1 root     root       765812 Jul  1 00:00 2006-06.wlk
-rw-rw-rw-    1 root     root       100884 Jul  4 22:40 2006-07.wlk


it then generally works for *one* archive update... wviewd downloads the archive data and htmlgen runs through it...

after that... it seems to corrupt the current (2006-07) file: notice the difference.

-rw-rw-rw- 1 root root 1096811412 Jul 6 21:50 2006-07.wlk

from that point on it complains in /var/log/messages:

Code:

verifyArchiveInterval: station value of 5 does NOT match archive value of 0
Jul  6 21:40:05 (none) user.crit wviewd[5599]: <1195970114> : vproStartProcState: stationVerifyArchiveInterval failed!
Jul  6 21:40:05 (none) user.crit wviewd[5599]: <1195970114> : You must either move old /var/wview/archive files out of the way -or-
Jul  6 21:40:05 (none) user.crit wviewd[5599]: <1195970115> : fix the station setting..


I'm wondering if both issues are related to swap space. I have a swap partition on and designated for 50MB. Should it be significantly more than that?
Back to top
View user's profile Send private message MSN Messenger
chrisale



Joined: 09 Nov 2005
Posts: 187

PostPosted: Thu Jul 06, 2006 11:13 pm    Post subject: Reply with quote

ok... i'm reinstalling... again... with a bigger swap... looks to be definitely hitting the top end of the swap space.

edit:

this was a deadend... the problem was big/little endian conversion as John pointed out in the other slug thread that I created. The Slug is ARM, so "big" endian... my linux box was x86, so "little endian"... the slug wview ipkg install doesn't include the conversion utilities, so I had to convert them on the linux box and transfer them over.
Back to top
View user's profile Send private message MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    wviewweather.com Forum Index -> Troubleshooting All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group