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 

htmlgend crashing with 1.9.1

 
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: Mon Dec 19, 2005 6:09 pm    Post subject: htmlgend crashing with 1.9.1 Reply with quote

I'm trying to upgrade (from 1.8.6) to 1.9.1 and the make and install of both radlib 2.6 and wview seem to be going fine. No errors or warnings that I can see while it compiles. and installs.

unfortunately, when I *first* installed and ran it (with the new Debian script) it starts up fine... then htmlgend dies somewhere I *think* when it tries to do the generation... I see logs right up until then, then nothing from htmlgend... but an error message complaining about not "opening a pipe" for rad?

I reinstalled/make etc. and now I don't get an error message... but it still dies.

Help! Very Happy
Back to top
View user's profile Send private message MSN Messenger
mteel



Joined: 30 Jun 2005
Posts: 435
Location: Collinsville, TX

PostPosted: Mon Dec 19, 2005 7:57 pm    Post subject: Reply with quote

Post the actual logs please...

Also post "ls -al /var/wview" and make sure you have the new start script starting radmrouted...
Back to top
View user's profile Send private message Send e-mail Visit poster's website
chrisale



Joined: 09 Nov 2005
Posts: 187

PostPosted: Mon Dec 19, 2005 9:37 pm    Post subject: Reply with quote

Sorry I didn't include them before, had to run...

This is the "pipe broken error" that happens when it tries to ftp it seems...

Code:

Dec 19 19:30:03 debian wviewd[1650]: <1178037852> : storing record for 12/19/2005 19:30
Dec 19 19:30:05 debian radmrouted[1646]: <1178039482> : radQueueSend: write failed on fd 9: Broken pipe
Dec 19 19:30:15 debian wviewftpd[1665]: <1178049262> : FTP: 2 rules processed
Dec 19 19:31:15 debian wviewftpd[1665]: <1178109261> : FTP: 6 rules processed


This is what is generated at wview startup time:
Code:

Dec 19 19:35:38 debian radmrouted[5198]: <1178372128> : radlib: radmrouted started as a daemon ...
Dec 19 19:35:38 debian radmrouted[5198]: <1178372130> : started on radlib system 1, workdir /var/wview
Dec 19 19:35:38 debian radmrouted[5198]: <1178372131> : running...
Dec 19 19:35:39 debian wviewd[5202]: <1178373152> : radlib: wviewd started as a daemon ...
Dec 19 19:35:39 debian wviewd[5202]: <1178373156> : wview 1.9.1 starting ...
Dec 19 19:35:39 debian wviewd[5202]: <1178373157> : station interface: serial ...
Dec 19 19:35:39 debian wviewd[5202]: <1178373158> : console polling interval set to 30 seconds
Dec 19 19:35:39 debian wviewd[5202]: <1178373159> : SQLDB  metric archiving enabled ...
Dec 19 19:35:40 debian htmlgend[5206]: <1178374200> : radlib: htmlgend started as a daemon ...
Dec 19 19:35:40 debian htmlgend[5206]: <1178374205> : !! configured for metric units/conversion !!
Dec 19 19:35:40 debian htmlgend[5206]: <1178374205> : generating to /var/wview/img
Dec 19 19:35:40 debian wvalarmd[5209]: <1178374246> : radlib: wvalarmd started as a daemon ...
Dec 19 19:35:40 debian wvcwopd[5211]: <1178374251> : radlib: wvcwopd started as a daemon ...
Dec 19 19:35:40 debian wvcwopd[5211]: <1178374255> : CWOP: configured to submit station CW4610 data to:
Dec 19 19:35:40 debian wvcwopd[5211]: <1178374255> : CWOP: Primary:   aprswest.net:23
Dec 19 19:35:40 debian wvcwopd[5211]: <1178374256> : CWOP: Secondary: aprsca.net:23
Dec 19 19:35:40 debian wvcwopd[5211]: <1178374257> : CWOP: Tertiary:  aprsfl.net:14580
Dec 19 19:35:40 debian wvalarmd[5209]: <1178374261> : alarms: added 2 alarm definitions from wvalarm.conf
Dec 19 19:35:40 debian wvwunderd[5215]: <1178374277> : radlib: wvwunderd started as a daemon ...
Dec 19 19:35:40 debian wvwunderd[5215]: <1178374281> : WUNDERGROUND: configured to submit station IBCPORTA1 data to wunderground.com
Dec 19 19:35:40 debian wviewftpd[5218]: <1178374301> : radlib: wviewftpd started as a daemon ...
Dec 19 19:35:40 debian wviewftpd[5218]: <1178374304> : FTP: 6 rules added
Dec 19 19:35:40 debian wviewd[5202]: <1178374519> : Vantage Pro on /dev/ttyUSB0 opened ...
Dec 19 19:35:40 debian wviewd[5202]: <1178374559> : running...
Dec 19 19:35:40 debian wviewd[5202]: <1178374619> : station location: elevation: 155 feet
Dec 19 19:35:40 debian wviewd[5202]: <1178374620> : station location: latitude: 49.2 N  longitude: 124.8 W
Dec 19 19:35:40 debian wviewd[5202]: <1178374633> : newest archive record is: 12/19/2005 19:35
Dec 19 19:35:40 debian htmlgend[5206]: <1178374749> : running...
Dec 19 19:35:41 debian wviewd[5202]: <1178375729> : station time synchronized to: 12-19-2005 19:35:41
Dec 19 19:35:41 debian wviewd[5202]: <1178375730> : station GMT offset synchronized to: -8 hours, 0 minutes
Dec 19 19:35:43 debian wviewd[5202]: <1178377329> : initializing computed data values...
Dec 19 19:35:43 debian htmlgend[5206]: <1178377470> : received archive path /var/wview/archive from wviewd: 20051219 19:35:43
Dec 19 19:35:43 debian htmlgend[5206]: <1178377470> : Vantage Pro station using 5 minute archive interval...
Dec 19 19:35:43 debian htmlgend[5206]: <1178377474> : htmlmgrInit: 50 built-in image definitions added
Dec 19 19:35:43 debian htmlgend[5206]: <1178377474> : htmlmgrInit: 2 user image definitions added
Dec 19 19:35:43 debian htmlgend[5206]: <1178377475> : htmlmgrInit: 7 html/xml templates added
Dec 19 19:35:43 debian htmlgend[5206]: <1178377476> : htmlmgrInit: 31 icon definitions, 197 forecast rules found ...
Dec 19 19:35:43 debian wvcwopd[5211]: <1178377531> : running...
Dec 19 19:35:43 debian wvalarmd[5209]: <1178377531> : running...
Dec 19 19:35:43 debian wvwunderd[5215]: <1178377532> : running...
Dec 19 19:35:44 debian htmlgend[5206]: <1178378063> : ARCREC: using header file /etc/wview/arcrec-header.conf ...
Dec 19 19:35:44 debian htmlgend[5206]: <1178378064> : ARCREC: saving ALL daily archive reports ...
Dec 19 19:35:45 debian htmlgend[5206]: <1178379453> : ARCREC: 30 daily archive reports available
Dec 19 19:35:46 debian htmlgend[5206]: <1178379856> : starting html generation in 0 mins 24 secs
Dec 19 19:35:46 debian htmlgend[5206]: <1178379856> : doing initial html generation now...


and that is the point at which htmlgend fails and I start getting pipe errors.

Here's the ls:

Code:
total 60
drwxr-xr-x   8 root root 4096 2005-12-19 19:35 .
drwxr-xr-x  15 root root 4096 2005-11-05 16:29 ..
drwxr-xr-x   2 root root 4096 2005-11-28 01:44 alarms
drwxr-xr-x   2 root root 4096 2005-12-01 00:05 archive
drwxr-xr-x   2 root root 4096 2005-11-11 08:52 dev
-rw-rw-rw-   1 root root    4 2005-12-19 19:35 htmlgend.pid
drwxr-xr-x   2 root root 4096 2005-12-19 19:35 img
drwxr-xr-x   3 root root 4096 2005-11-10 20:55 img-old
drwxr-xr-x   2 root root 4096 2005-11-05 16:29 noaa
prw-rw-r--   1 root root    0 2005-12-19 19:43 radmroutedfifo
prw-rw-r--   1 root root    0 2005-12-19 15:25 radmroutedfifoREF
-rw-rw-rw-   1 root root    4 2005-12-19 19:35 radmrouted.pid
-rw-rw-rw-   1 root root    4 2005-12-19 19:35 wvalarmd.pid
-rw-rw-rw-   1 root root    4 2005-12-19 19:35 wvcwopd.pid
-rw-rw-rw-   1 root root    4 2005-12-19 19:35 wviewd.pid
-rw-rw-rw-   1 root root    4 2005-12-19 19:35 wviewftpd.pid
-rw-rw-rw-   1 root root    4 2005-12-19 19:35 wvwunderd.pid


Last edited by chrisale on Mon Dec 19, 2005 9:44 pm; edited 1 time in total
Back to top
View user's profile Send private message MSN Messenger
chrisale



Joined: 09 Nov 2005
Posts: 187

PostPosted: Mon Dec 19, 2005 9:41 pm    Post subject: Reply with quote

i just noticed something... if you look at the graphs on my page.. they're updated but the time stamps are still at 3PM this afternoon. So it's obviously generating some if not all of the images at least... but it's not updating the .htx files
Back to top
View user's profile Send private message MSN Messenger
chrisale



Joined: 09 Nov 2005
Posts: 187

PostPosted: Mon Dec 19, 2005 9:43 pm    Post subject: Reply with quote

after watching the logs.. it looks like the radmount errors are generated when the new archives are downloaded
Back to top
View user's profile Send private message MSN Messenger
mteel



Joined: 30 Jun 2005
Posts: 435
Location: Collinsville, TX

PostPosted: Mon Dec 19, 2005 10:33 pm    Post subject: Reply with quote

You have some custom images being generated, comment those out, anything you have done custom...

Did you move your images-user.c back into the 1.9.1 source tree before building it? If you didn't it will not like the images called out in images-user.conf not being in the images-user.c file. Comment them out in images-user.conf to see if this is the problem.

You have to be careful to copy back your custom images-user.c when upgrading with custom images...

Mark
Back to top
View user's profile Send private message Send e-mail Visit poster's website
chrisale



Joined: 09 Nov 2005
Posts: 187

PostPosted: Mon Dec 19, 2005 11:08 pm    Post subject: Reply with quote

yup that was the problem!

thanks!

next time I'll remember to bring the use-images as well.
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